1. 14 Mar, 2017 4 commits
  2. 24 Apr, 2017 2 commits
    • Merge pull request #269 from ulidtko/patch-1 · e4e21e8e
      Fix extra data mistakingly "extracted" from raw Deflate streams
      devttys0 authored
    • 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
  3. 13 Mar, 2017 1 commit
  4. 23 Apr, 2017 3 commits
  5. 15 Mar, 2017 2 commits
  6. 13 Mar, 2017 5 commits
  7. 22 Apr, 2017 6 commits
  8. 21 Apr, 2017 5 commits
  9. 06 Apr, 2017 5 commits
  10. 12 Mar, 2017 1 commit
  11. 01 Feb, 2017 2 commits
  12. 13 Dec, 2016 1 commit
  13. 09 Dec, 2016 1 commit
  14. 06 Dec, 2016 2 commits