cppcheck analysis of tomoyo-tools_2.3.0-20100820-1.dsc
- ./kernel_test/newns.c:47 [error] - Memory leak: stack
- ./kernel_test/tomoyo_policy_memory_test.c:45 [error] - Resource leak: fp
- ./sbin/tomoyo-init.c:169 [error] - Resource leak: dfd
- ./usr_lib_tomoyo/init_policy.c:1356 [error] - Memory leak: tools_dir
- ./usr_lib_tomoyo/tomoyo-notifyd.c:114 [error] - Resource leak: query_fd
- ./usr_lib_tomoyo/tomoyo-notifyd.c:108 [error] - Resource leak: fd
- ./usr_sbin/editpolicy.c:561 [error] - Common realloc mistake: "tomoyo_last_error" nulled but not freed upon failure
- ./usr_sbin/editpolicy.c:836 [error] - Common realloc mistake: "tomoyo_generic_acl_list" nulled but not freed upon failure
- ./usr_sbin/editpolicy.c:915 [error] - Common realloc mistake: "tomoyo_domain_keeper_list" nulled but not freed upon failure
- ./usr_sbin/editpolicy.c:969 [error] - Common realloc mistake: "tomoyo_path_group_list" nulled but not freed upon failure
- ./usr_sbin/editpolicy.c:1676 [error] - Common realloc mistake: "tomoyo_last_error" nulled but not freed upon failure
- ./usr_sbin/tomoyo-findtemp.c:97 [error] - Common realloc mistake: "pattern_list" nulled but not freed upon failure
- ./usr_sbin/tomoyo-ld-watch.c:85 [error] - Common realloc mistake: "tomoyo_entry_list" nulled but not freed upon failure
- ./usr_sbin/tomoyo-queryd.c:168 [error] - Common realloc mistake: "pathnames" nulled but not freed upon failure
- ./usr_sbin/tomoyo-queryd.c:222 [error] - Common realloc mistake: "pathnames" nulled but not freed upon failure
- ./usr_sbin/tomoyo-setlevel.c:40 [error] - Resource leak: fd
- ./usr_sbin/tomoyotools.c:974 [error] - Common realloc mistake: "tomoyo_task_list" nulled but not freed upon failure
- ./usr_sbin/tomoyotools.c:1045 [error] - Common realloc mistake: "tomoyo_task_list" nulled but not freed upon failure
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Wed, 16 Feb 2011 06:58:11 +0000, based on results by cppcheck 1.46