[sleuthkit-developers] Potential memory leaks
Brought to you by:
carrier
From: James L. <Jam...@de...> - 2011-02-18 16:06:41
|
Hi, Can anyone sanity check / confirm these potential memory leaks, I've been working from 3.1 source code but believe these are still relevant in the latest 3.2 nightly: I've been building code using VS2010 on windows and gcc on Unix. tsk/fs/ifind_lib.c - Line numbers reference sleuthkit-3.2-2011.2.18 nightly src Function: tsk_fs_path2inum Line 364: Should fs_file_alloc and fs_file_del be closed before the return 0 on line 364. (if they have been allocated). i.e. lines 377 -> line 384 should be repeated before the return 0; tsk/fs/ntfs_dent.c - Line numbers reference sleuthkit-3.2-2011.2.18 nightly src Function: ntfs_dir_open_meta Line 1093: fs_file_orp doesn't seem to be closed at any point. Thanks, Please consider the environment before printing this email. This message should be regarded as confidential. If you have received this email in error please notify the sender and destroy it immediately. Statements of intent shall only become binding when confirmed in hard copy by an authorised signatory. The contents of this email may relate to dealings with other companies within the Detica Limited group of companies. Detica Limited is registered in England under No: 1337451. Registered offices: Surrey Research Park, Guildford, Surrey, GU2 7YP, England. |