akaIDIOT / Digestive

Digest combination trickery
ISC License
0 stars 0 forks source link

Fix libewf memory leak #8

Closed akaIDIOT closed 5 years ago

akaIDIOT commented 9 years ago

When digesting an E01 type image, memory usage of the python process increases over time. Not dramatically, it seems the buffering works fine, we're just leaking something (a pointer, return value?)

Most likely culprit is the ssize_t return value of libewf_handle_read_buffer, that's returned but never freed.