-
Notifications
You must be signed in to change notification settings - Fork 593
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple memory leaks #2867
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ntfs_dent.cpp -> ntfs_proc_idxentry: In the sanity check, the code returns without freeing fs_name.
ntfs_dent.cpp -> ntfs_find_file: fs_file is not freed in case tsk_fs_name_alloc fails.
fatxxfs_dent.c -> fat_xxfs_dent_parse_buf: There are 2 returns from the function without fs_name being freed.
fs_dir.c -> tsk_fs_dir_get: 2 returns where fs_file->name and fs_file is not freed.
I just did a quick look at references to tsk_fs_name_alloc and found all this potential memory leaks.
Do you use any code analysis tool?
The text was updated successfully, but these errors were encountered: