1. 24 Apr, 2017 1 commit
    • Fix extra data mistakingly "extracted" from raw Deflate streams · 46c4fa74
      Hi, I think there's a bug here.
      
      Per the [BlockFile docstring](/blob/master/src/binwalk/core/common.py#L256), `read_block()` can return **more** than `dlen` bytes of data, by peeking, and this is intended feature.
      
      However, we don't want the peek'd bytes injected into the stream being decompressed -- as the next `read_block()` call will pull them again!
      
      Take a ~1.5 MiB deflated file to test: `binwalk -X` will extract a slighly larger file than a plain `zlib.decompress(-15)` would. (This, exactly, was how this bug bite me.)
      
      Hope this fix is simple enough to be merged easily! Cheers.
      Maxim Ivanov authored
  2. 13 Mar, 2017 1 commit
  3. 15 Mar, 2017 2 commits
  4. 13 Mar, 2017 4 commits
  5. 22 Apr, 2017 4 commits
  6. 21 Apr, 2017 3 commits
  7. 06 Apr, 2017 3 commits
  8. 01 Feb, 2017 2 commits
  9. 09 Dec, 2016 1 commit
  10. 01 Dec, 2016 2 commits
  11. 19 Nov, 2016 1 commit
  12. 17 Nov, 2016 1 commit
  13. 15 Nov, 2016 2 commits
  14. 11 Nov, 2016 1 commit
  15. 04 Nov, 2016 1 commit
  16. 04 Oct, 2016 1 commit
  17. 02 Oct, 2016 1 commit
  18. 30 Sep, 2016 1 commit
  19. 07 Sep, 2016 1 commit
  20. 24 Aug, 2016 1 commit
  21. 19 Jul, 2016 6 commits