Menu

#210 Critical section leak in ewf.c

1.65
open
nobody
None
5
2013-09-23
2013-09-23
No

using free() to deallocate memory allocated by tsk_img_malloc() causes critical section leak, because tsk_deinit_lock(&(imgInfo->cache_lock)); is never called. I suggest to replace free() by tsk_img_free() where necessary.
Here's my patch:
https://github.com/sleuthkit/sleuthkit/pull/221

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.