Protod icon indicating copy to clipboard operation
Protod copied to clipboard

Doesn't process large files

Open tjhorner opened this issue 9 years ago • 1 comments

I'm trying to process a relatively large binary (35MB!) with Protod, but I'm getting OverflowErrors. If I get it working, I'll close this issue and send over a PR.

Stacktrace:

Traceback (most recent call last):
  File "protod.py", line 315, in <module>
    extractor.extract()
  File "protod.py", line 274, in extract
    for k in range(probable_size+1024, 0, -1):
OverflowError: range() result has too many items

tjhorner avatar Jul 12 '16 04:07 tjhorner

https://github.com/Manouchehri/Protod/tree/overflow-fix

Untested.

Manouchehri avatar Jul 12 '16 18:07 Manouchehri