py4n6 / pytsk

Python bindings for The Sleuth Kit (libtsk)
Apache License 2.0
92 stars 24 forks source link

OverflowError when reading ADS with read_random() #98

Closed 6adir123 closed 6 months ago

6adir123 commented 8 months ago

hello after running file_handle.read_random(0, attribute.info.size, attribute.info.type, attribute.info.id) (trying to extract an ADS attribute from a file in NTFS) I got an OverflowError: Python int too large to convert to C long

Is there any solution to this problem?

joachimmetz commented 6 months ago

what values are you passing? do you use a 32-bit or 64-bit build?

6adir123 commented 6 months ago

Hi the issue was resolved Thank you for your help (the file was too big to extract)