Bug: free used instead of tsk_fs_free

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Bug: free used instead of tsk_fs_free

Lloyd-25
Hi,

In ntfs.c file there is a function named "ntfs_open". In that, a memory is allocated with "tsk_fs_malloc" , line no. 4829

if ((ntfs = (NTFS_INFO *) tsk_fs_malloc(sizeof(*ntfs))) == NULL)  

But it is freed at the end using "free" (5131) instead of "tsk_fs_free". My VS 2015 debugger breaks here. Can anybody please verify it?

Thanks,
  Lloyd


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
sleuthkit-users mailing list
https://lists.sourceforge.net/lists/listinfo/sleuthkit-users
http://www.sleuthkit.org
Loading...