cppcheck analysis of ltp_20091231+dfsg-1.dsc
- ./lib/system_specific_hugepages_info.c:45 [error] - Mismatching allocation and deallocation: f
- ./lib/system_specific_hugepages_info.c:68 [error] - Mismatching allocation and deallocation: f
- ./pan/ltp-pan.c:849 [possible error] - Resource leak: c_stdout
- ./pan/ltp-pan.c:1108 [possible error] - Memory leak: n
- ./pan/ltp-pan.c:1144 [error] - Memory leak: buf
- ./pan/ltp-pan.c:1137 [error] - Resource leak: fd
- ./pan/splitstr.c:104 [error] - Memory leak: arg_string
- ./pan/symbol.c:116 [error] - Memory leak: n
- ./pan/symbol.c:216 [error] - Memory leak: nkey
- ./pan/zoolib.c:466 [possible error] - Memory leak: zooname
- ./testcases/ballista/ballista/compile/bparser.cpp:1500 [possible error] - Dangerous usage of std::cin, possible buffer overrun
- ./testcases/ballista/ballista/compile/bparser.cpp:1490 [possible error] - Dangerous usage of std::cin, possible buffer overrun
- ./testcases/ballista/ballista/compile/bparser.cpp:1504 [possible error] - Dangerous usage of std::cin, possible buffer overrun
- ./testcases/ballista/ballista/testManager.h:43 [error] - Class Test_manager which is inherited by class Selfhost_test_manager does not have a virtual destructor
- ./testcases/ballista/ballista/testManager.h:43 [error] - Class Test_manager which is inherited by class Vxworks_test_manager does not have a virtual destructor
- ./testcases/kernel/containers/mqns/mqns_04.c:165 [possible error] - Resource leak: rc
- ./testcases/kernel/containers/netns/common.c:156 [error] - Memory leak: child
- ./testcases/kernel/containers/netns/common.c:151 [error] - Memory leak: child
- ./testcases/kernel/containers/netns/par_chld_ipv6.c:95 [error] - Memory leak: par
- ./testcases/kernel/controllers/cgroup/getdelays.c:529 [error] - Memory leak: logfile
- ./testcases/kernel/controllers/cpuset/cpuset_lib/cpuinfo.c:232 [error] - Resource leak: fp
- ./testcases/kernel/controllers/cpuset/cpuset_load_balance_test/cpuset_cpu_hog.c:317 [error] - Memory leak: childpids
- ./testcases/kernel/controllers/memcg/regression/memcg_test_1.c:59 [possible error] - Resource leak: fd
- ./testcases/kernel/device-drivers/acpi/LtpAcpiMain.c:150 [error] - Uninitialized variable: rc
- ./testcases/kernel/device-drivers/include/userBlockInclude.c:141 [error] - Uninitialized variable: rc
- ./testcases/kernel/device-drivers/nls/userBlockNLS.c:139 [error] - Uninitialized variable: rc
- ./testcases/kernel/device-drivers/pci/tpci/tpci.c:784 [error] - Uninitialized variable: value
- ./testcases/kernel/fs/dmapi/attr.c:252 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/attr.c:3504 [possible error] - Memory leak: totbuf
- ./testcases/kernel/fs/dmapi/attr.c:4628 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/attr.c:5452 [error] - Deallocating a deallocated pointer: fd
- ./testcases/kernel/fs/dmapi/attr.c:7938 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/attr.c:9491 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/attr.c:9532 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/attr.c:9573 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/attr.c:9614 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/attr.c:9655 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/attr.c:9696 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/attr.c:9756 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/attr.c:9834 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/attr.c:9875 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/attr.c:9916 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/attr.c:9957 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/attr.c:9998 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/attr.c:10039 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/attr.c:10099 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/attr.c:10176 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/attr.c:10216 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/attr.c:10256 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/attr.c:10296 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/attr.c:10335 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/attr.c:10375 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/attr.c:10433 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/config.c:319 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/disp.c:156 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:132 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:183 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:245 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:308 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:360 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:412 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:481 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:551 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:606 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:665 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:737 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:810 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:872 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:944 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:1017 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:1073 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:1139 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:1205 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:1261 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:1313 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:1379 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:1445 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:1501 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:1553 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:1619 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:1675 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:1737 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:1805 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:1857 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:1921 [possible error] - Resource leak: fd1
- ./testcases/kernel/fs/dmapi/event_sd.c:1985 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:2052 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:2102 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:2165 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:2229 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:2282 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:2335 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:2405 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:2476 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:2532 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:2592 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:2665 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:2739 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:2802 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:2875 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:2949 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:3006 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:3073 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:3140 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:3197 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:3250 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:3317 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:3384 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:3441 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:3494 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:3561 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:3618 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:3681 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:3750 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:3803 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:3870 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:3927 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:3992 [possible error] - Resource leak: fd1
- ./testcases/kernel/fs/dmapi/event_sd.c:4057 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:4122 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:4172 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:4232 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:4293 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:4346 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:4399 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:4462 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:4526 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:4582 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:4638 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:4704 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:4771 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:4830 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:4896 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:4961 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:5025 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:5090 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:5148 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:5206 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:5257 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:5315 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:5379 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/event_sd.c:5430 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/handle.c:231 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/handle.c:328 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/handle.c:372 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/handle.c:597 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/handle.c:762 [possible error] - Resource leak: fd_l
- ./testcases/kernel/fs/dmapi/handle.c:800 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/handle.c:839 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/handle.c:889 [possible error] - Resource leak: fd_l
- ./testcases/kernel/fs/dmapi/handle.c:931 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/handle.c:1222 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/handle.c:1320 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/handle.c:1364 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/handle.c:1771 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/handle.c:1958 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/handle.c:2045 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/handle.c:2086 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/handle.c:2127 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/handle.c:2168 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/handle.c:2209 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/handle.c:2447 [possible error] - Resource leak: fd2
- ./testcases/kernel/fs/dmapi/handle.c:2566 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/handle.c:2624 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/handle.c:2694 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/handle.c:2901 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/handle.c:2936 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/handle.c:2971 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/handle.c:3007 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/handle.c:3042 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/handle.c:3077 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/handle.c:3112 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/handle.c:3148 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/handle.c:3237 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/handle.c:3273 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/handle.c:3579 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/handle.c:3648 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/handle.c:3818 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/handle.c:3907 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/handle.c:5075 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/handle.c:5142 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/handle.c:5224 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/handle.c:5673 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/handle.c:1917 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/handle.c:2004 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/handle.c:3358 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/handle.c:3543 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/handle.c:3762 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/hole.c:99 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/invis.c:178 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/mmap.c:126 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/mount.c:132 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/mount.c:169 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/mount.c:206 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/mount.c:243 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/mount.c:297 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/mount.c:334 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/mount.c:370 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/mount.c:423 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/mount.c:460 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/mount.c:515 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/pmr_post.c:127 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/pmr_pre.c:122 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/dmapi/pmr_pre.c:577 [possible error] - Resource leak: fd
- ./testcases/kernel/fs/doio/doio.c:2398 [error] - Memory leak: status
- ./testcases/kernel/fs/doio/doio.c:2407 [error] - Memory leak: status.aioid
- ./testcases/kernel/fs/doio/iogen.c:1211 [error] - Resource leak: fd
- ./testcases/kernel/fs/ext4-new-features/ffsb-6.0-rc2/ffsb_op.c:83 [error] - Undefined behaviour: buf is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./testcases/kernel/fs/fsstress/fsstress.c:1087 [error] - Resource leak: rval
- ./testcases/kernel/fs/inode/inode02.c:259 [possible error] - Array 'slash[1]' index 1 out of bounds
- ./testcases/kernel/fs/mongo/mongo_read.c:50 [error] - Resource leak: fd
- ./testcases/kernel/fs/mongo/mongo_read.c:43 [error] - Memory leak: buf
- ./testcases/kernel/fs/openfile/openfile.c:117 [error] - Undefined behaviour: msg is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./testcases/kernel/fs/openfile/openfile.c:118 [error] - Undefined behaviour: msg is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./testcases/kernel/fs/openfile/openfile.c:124 [error] - Undefined behaviour: msg is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./testcases/kernel/fs/openfile/openfile.c:125 [error] - Undefined behaviour: msg is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./testcases/kernel/fs/proc/proc01.c:363 [error] - Resource leak: fd
- ./testcases/kernel/fs/scsi/ltpfs/main.c:152 [possible error] - Resource leak: tmpHandle
- ./testcases/kernel/fs/scsi/ltpfs/main.c:534 [error] - Resource leak: fileHandle
- ./testcases/kernel/fs/scsi/ltpfs/main.c:561 [error] - Resource leak: fileHandle2
- ./testcases/kernel/fs/scsi/ltpfs/main.c:448 [error] - Uninitialized variable: rc
- ./testcases/kernel/fs/scsi/ltpscsi/scsimain.c:1567 [error] - Memory leak: de_entry
- ./testcases/kernel/fs/scsi/ltpscsi/scsimain.c:1521 [error] - Resource leak: sdir
- ./testcases/kernel/fs/scsi/ltpscsi/scsimain.c:1613 [error] - Resource leak: sdir
- ./testcases/kernel/fs/scsi/ltpscsi/scsimain.c:1658 [error] - Dangerous usage of 'ds_root' (strncpy doesn't always 0-terminate it)
- ./testcases/kernel/fs/stream/stream04.c:74 [error] - Memory leak: inbuf
- ./testcases/kernel/io/aio/aio02/aio_tio.c:104 [error] - Resource leak: fd
- ./testcases/kernel/io/direct_io/diotest1.c:194 [error] - Deallocating a deallocated pointer: fd1
- ./testcases/kernel/io/direct_io/diotest1.c:194 [error] - Deallocating a deallocated pointer: fd2
- ./testcases/kernel/io/direct_io/diotest4.c:598 [error] - Resource leak: newfd
- ./testcases/kernel/io/disktest/dump.c:154 [error] - Memory leak: ibuff
- ./testcases/kernel/io/disktest/dump.c:154 [error] - Memory leak: obuff
- ./testcases/kernel/io/disktest/dump.c:180 [error] - Memory leak: buff
- ./testcases/kernel/io/disktest/main.c:426 [error] - Memory leak: aFilespec
- ./testcases/kernel/io/ltp-aiodio/aiodio_append.c:86 [error] - Resource leak: fd
- ./testcases/kernel/io/ltp-aiodio/aiodio_sparse.c:130 [error] - Resource leak: fd
- ./testcases/kernel/io/ltp-aiodio/dio_append.c:93 [error] - Resource leak: fd
- ./testcases/kernel/io/ltp-aiodio/dio_append.c:113 [error] - Resource leak: fd
- ./testcases/kernel/io/ltp-aiodio/dio_sparse.c:126 [error] - Resource leak: fd
- ./testcases/kernel/io/ltp-aiodio/dio_truncate.c:116 [error] - Resource leak: fd
- ./testcases/kernel/io/ltp-aiodio/read_checkzero.c:91 [error] - Resource leak: fd
- ./testcases/kernel/mem/hugetlb/hugemmap/hugemmap01.c:240 [error] - Deallocating a deallocated pointer: f
- ./testcases/kernel/mem/hugetlb/hugemmap/hugemmap01.c:268 [error] - Deallocating a deallocated pointer: f
- ./testcases/kernel/mem/hugetlb/hugemmap/hugemmap01.c:241 [error] - Uninitialized variable: hugefree
- ./testcases/kernel/mem/hugetlb/hugemmap/hugemmap01.c:269 [error] - Uninitialized variable: hugesize
- ./testcases/kernel/mem/hugetlb/hugemmap/hugemmap04.c:256 [error] - Deallocating a deallocated pointer: f
- ./testcases/kernel/mem/hugetlb/hugemmap/hugemmap04.c:284 [error] - Deallocating a deallocated pointer: f
- ./testcases/kernel/mem/hugetlb/hugemmap/hugemmap04.c:257 [error] - Uninitialized variable: hugefree
- ./testcases/kernel/mem/hugetlb/hugemmap/hugemmap04.c:285 [error] - Uninitialized variable: hugesize
- ./testcases/kernel/mem/hugetlb/hugeshmget/hugeshmget03.c:92 [error] - Uninitialized variable: huge_pages_shm_to_be_allocated
- ./testcases/kernel/mem/hugetlb/lib/libipc.c:175 [error] - Memory leak: ent
- ./testcases/kernel/mem/mem/mem02.c:164 [error] - Deallocating a deallocated pointer: pm1
- ./testcases/kernel/mem/mmapstress/mmapstress01.c:452 [possible error] - Memory leak: pidarray
- ./testcases/kernel/mem/mmapstress/mmapstress01.c:452 [possible error] - Memory leak: buf
- ./testcases/kernel/mem/mmapstress/mmapstress01.c:699 [possible error] - Memory leak: readbuf
- ./testcases/kernel/mem/mmapstress/mmapstress01.c:638 [possible error] - Resource leak: fd
- ./testcases/kernel/mem/mmapstress/mmapstress09.c:368 [possible error] - Memory leak: pidarray
- ./testcases/kernel/mem/mmapstress/mmapstress09.c:368 [possible error] - Memory leak: buf
- ./testcases/kernel/mem/mmapstress/mmapstress10.c:510 [possible error] - Memory leak: pidarray
- ./testcases/kernel/mem/mmapstress/mmapstress10.c:510 [possible error] - Memory leak: buf
- ./testcases/kernel/mem/mmapstress/mmapstress10.c:850 [error] - Memory leak: readbuf
- ./testcases/kernel/mem/mmapstress/mmapstress10.c:850 [error] - Resource leak: fd
- ./testcases/kernel/mem/mtest06/mmap2.c:133 [error] - Resource leak: fd
- ./testcases/kernel/mem/mtest06/mmap3.c:133 [error] - Resource leak: fd
- ./testcases/kernel/mem/vmtests/data_space.c:377 [error] - Memory leak: bits
- ./testcases/kernel/pty/pty01.c:132 [error] - Resource leak: slavefd
- ./testcases/kernel/pty/pty01.c:307 [error] - Resource leak: masterfd
- ./testcases/kernel/sched/hyperthreading/ht_interrupt/ht_utils.c:38 [possible error] - Resource leak: fp
- ./testcases/kernel/sched/tool/time-schedule.c:495 [error] - Resource leak: dp
- ./testcases/kernel/sched/tool/trace_sched.c:166 [error] - Resource leak: fd
- ./testcases/kernel/syscalls/chdir/chdir01.c:93 [error] - Resource leak: ddir
- ./testcases/kernel/syscalls/chdir/chdir01.c:93 [error] - Resource leak: fd
- ./testcases/kernel/syscalls/chroot/chroot03.c:196 [error] - Undefined behaviour: good_dir is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./testcases/kernel/syscalls/utils/common_j_h.c:315 [error] - Resource leak: fd
- ./testcases/kernel/syscalls/utils/common_j_h.c:336 [error] - Resource leak: fd
- ./testcases/kernel/syscalls/creat/creat04.c:218 [error] - Undefined behaviour: good_dir is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./testcases/kernel/syscalls/creat/creat07.c:231 [error] - Memory leak: path
- ./testcases/kernel/syscalls/creat/creat08.c:264 [possible error] - Resource leak: ret
- ./testcases/kernel/syscalls/execve/execve02.c:242 [error] - Memory leak: path
- ./testcases/kernel/syscalls/execve/execve04.c:268 [error] - Memory leak: path
- ./testcases/kernel/syscalls/fcntl/fcntl12.c:117 [possible error] - Resource leak: fd
- ./testcases/kernel/syscalls/fcntl/fcntl15.c:533 [possible error] - Resource leak: fd_B
- ./testcases/kernel/syscalls/ftruncate/ftruncate04.c:279 [possible error] - Resource leak: fd
- ./testcases/kernel/syscalls/getdents/getdents04.c:108 [possible error] - Memory leak: sbuf
- ./testcases/kernel/syscalls/ioctl/ioctl02.c:420 [error] - Resource leak: cfd
- ./testcases/kernel/syscalls/ioctl/ioctl03.c:166 [possible error] - Resource leak: netfd
- ./testcases/kernel/syscalls/ipc/lib/libipc.c:164 [error] - Memory leak: ent
- ./testcases/kernel/syscalls/madvise/madvise03.c:319 [error] - Deallocating a deallocated pointer: f
- ./testcases/kernel/syscalls/madvise/madvise03.c:320 [error] - Uninitialized variable: maxsize
- ./testcases/kernel/syscalls/mlockall/mlockall03.c:189 [possible error] - Memory leak: buf
- ./testcases/kernel/syscalls/mount/mount03.c:519 [error] - Undefined behaviour: Path_name is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./testcases/kernel/syscalls/open/open06.c:119 [error] - Undefined behaviour: fname is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./testcases/kernel/syscalls/open/open10.c:289 [possible error] - Resource leak: ret
- ./testcases/kernel/syscalls/pipe/pipe07.c:130 [possible error] - Memory leak: cmdstring
- ./testcases/kernel/syscalls/read/read02.c:166 [error] - Undefined behaviour: fname is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./testcases/kernel/syscalls/read/read03.c:126 [error] - Undefined behaviour: fifo is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./testcases/kernel/syscalls/readdir/readdir01.c:213 [error] - Resource leak: test_dir
- ./testcases/kernel/syscalls/rmdir/rmdir05.c:427 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./testcases/kernel/syscalls/rmdir/rmdir05.c:427 [error] - Invalid number of character ({) when these macros are defined: 'CRAY'.
- ./testcases/kernel/syscalls/rmdir/rmdir05.c:427 [error] - Invalid number of character ({) when these macros are defined: 'UCLINUX'.
- ./testcases/kernel/syscalls/setfsuid/setfsuid04.c:177 [possible error] - Resource leak: tst_fd2
- ./testcases/kernel/syscalls/setresuid/setresuid04.c:175 [possible error] - Resource leak: tst_fd2
- ./testcases/kernel/syscalls/setreuid/setreuid07.c:174 [possible error] - Resource leak: tst_fd2
- ./testcases/kernel/syscalls/setuid/setuid04.c:175 [possible error] - Resource leak: tst_fd
- ./testcases/kernel/syscalls/setuid/setuid04.c:169 [possible error] - Resource leak: tst_fd2
- ./testcases/kernel/syscalls/splice/splice01.c:238 [error] - Resource leak: fd_out
- ./testcases/kernel/syscalls/statfs/statfs02.c:179 [error] - Undefined behaviour: fname is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./testcases/kernel/syscalls/statfs/statfs02.c:185 [error] - Undefined behaviour: good_dir is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./testcases/kernel/syscalls/statfs/statfs03.c:142 [error] - Undefined behaviour: fname is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./testcases/kernel/syscalls/swapoff/swapoff02.c:234 [error] - Resource leak: fd
- ./testcases/kernel/syscalls/symlinkat/symlinkat01.c:273 [possible error] - Memory leak: tmp
- ./testcases/kernel/syscalls/tee/tee01.c:271 [error] - Resource leak: fd_out
- ./testcases/kernel/syscalls/vmsplice/vmsplice01.c:255 [error] - Resource leak: fd_out
- ./testcases/kernel/syscalls/waitid/waitid01.c:161 [error] - Division by zero
- ./testcases/kernel/syscalls/write/write04.c:241 [error] - Undefined behaviour: fifo is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./testcases/mce-test/tsrc/ttable.c:206 [error] - Memory leak: p
- ./testcases/misc/math/float/bessel/genbessel.c:102 [error] - Memory leak: funct
- ./testcases/misc/math/float/exp_log/genexp_log.c:110 [error] - Memory leak: funct
- ./testcases/misc/math/float/main.c:285 [error] - Memory leak: bin_path
- ./testcases/misc/math/float/iperb/geniperb.c:94 [error] - Memory leak: funct
- ./testcases/misc/math/float/power/genpower.c:106 [error] - Memory leak: funct
- ./testcases/misc/math/float/trigo/gentrigo.c:111 [error] - Memory leak: funct
- ./testcases/network/lib6/runcc.c:80 [error] - Resource leak: fd
- ./testcases/network/multicast/mc_member/member.c:144 [error] - Resource leak: fd
- ./testcases/network/multicast/mc_member/member.c:176 [error] - Resource leak: fd
- ./testcases/network/nfs/nfs01/open_files.c:114 [error] - Resource leak: dirp
- ./testcases/network/nfs/nfs_fsstress/fsstress.c:1079 [error] - Resource leak: rval
- ./testcases/network/nfs/nfsstress/make_tree.c:278 [error] - Memory leak: dirname
- ./testcases/network/nfs/nfsstress/make_tree.c:290 [error] - Memory leak: command
- ./testcases/network/nfs/nfsstress/make_tree.c:380 [error] - Memory leak: dirname
- ./testcases/network/nfs/nfsstress/make_tree.c:386 [possible error] - Memory leak: filename
- ./testcases/network/nfs/nfsstress/make_tree.c:705 [error] - Memory leak: cfilename
- ./testcases/network/nfs/nfsstress/make_tree.c:705 [error] - Memory leak: mkfilename
- ./testcases/network/nfs/nfsstress/make_tree.c:705 [possible error] - Memory leak: hostname
- ./testcases/network/nfs/nfsstress/make_tree.c:705 [error] - Memory leak: prog_buf
- ./testcases/network/nfs/nfsstress/make_tree.c:564 [possible error] - Memory leak: make_buf
- ./testcases/network/nfs/nfsstress/make_tree.c:579 [error] - Memory leak: dotc
- ./testcases/network/nfs/nfsstress/make_tree.c:396 [error] - Undefined behaviour: dirname is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./testcases/network/nfs/nfsstress/make_tree.c:552 [error] - Undefined behaviour: dirname is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./testcases/network/nfs/nfsstress/make_tree.c:568 [error] - Undefined behaviour: dirname is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./testcases/network/nfs/nfsstress/make_tree.c:646 [error] - Undefined behaviour: dirname is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./testcases/network/nfsv4/acl/acl1.c:66 [error] - Memory leak: fptr
- ./testcases/network/nfsv4/acl/acl1.c:291 [error] - Uninitialized variable: result
- ./testcases/network/nfsv4/acl/acl1.c:307 [error] - Uninitialized variable: result
- ./testcases/network/nfsv4/locks/locktests.c:720 [error] - Buffer access out-of-bounds
- ./testcases/network/nfsv4/locks/locktests.c:846 [error] - Buffer access out-of-bounds
- ./testcases/network/nfsv4/locks/locktests.c:866 [error] - Buffer access out-of-bounds
- ./testcases/network/nfsv4/locks/locktests.c:945 [error] - Buffer access out-of-bounds
- ./testcases/network/nfsv4/locks/locktests.c:950 [error] - Buffer access out-of-bounds
- ./testcases/network/rpc/rpc-tirpc-full-test-suite/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_rmtcall/7-performance.c:174 [error] - Memory leak: resultTbl
- ./testcases/network/rpc/rpc-tirpc-full-test-suite/tests_pack/rpc_suite/rpc/rpc_broadc_clnt_broadcast/5-scalability.c:155 [error] - Memory leak: resultTbl
- ./testcases/network/rpc/rpc-tirpc-full-test-suite/tests_pack/rpc_suite/rpc/rpc_broadc_clnt_broadcast/7-performance.c:158 [error] - Memory leak: resultTbl
- ./testcases/network/rpc/rpc-tirpc-full-test-suite/tests_pack/rpc_suite/rpc/rpc_createdestroy_clntraw_create/7-performance.c:148 [error] - Memory leak: resultTbl
- ./testcases/network/rpc/rpc-tirpc-full-test-suite/tests_pack/rpc_suite/rpc/rpc_createdestroy_clnttcp_create/7-performance.c:167 [error] - Memory leak: resultTbl
- ./testcases/network/rpc/rpc-tirpc-full-test-suite/tests_pack/rpc_suite/rpc/rpc_createdestroy_clntudp_create/7-performance.c:163 [error] - Memory leak: resultTbl
- ./testcases/network/rpc/rpc-tirpc-full-test-suite/tests_pack/rpc_suite/rpc/rpc_createdestroy_svcraw_create/7-performance.c:146 [error] - Memory leak: resultTbl
- ./testcases/network/rpc/rpc-tirpc-full-test-suite/tests_pack/rpc_suite/rpc/rpc_createdestroy_svctcp_create/7-performance.c:147 [error] - Memory leak: resultTbl
- ./testcases/network/rpc/rpc-tirpc-full-test-suite/tests_pack/rpc_suite/rpc/rpc_createdestroy_svcudp_create/7-performance.c:148 [error] - Memory leak: resultTbl
- ./testcases/network/rpc/rpc-tirpc-full-test-suite/tests_pack/rpc_suite/rpc/rpc_stdcall_callrpc/5-scalability.c:152 [error] - Memory leak: resultTbl
- ./testcases/network/rpc/rpc-tirpc-full-test-suite/tests_pack/rpc_suite/rpc/rpc_stdcall_callrpc/7-performance.c:155 [error] - Memory leak: resultTbl
- ./testcases/network/rpc/rpc-tirpc-full-test-suite/tests_pack/rpc_suite/rpc/rpc_stdcall_clnt_call/5-scalability.c:137 [error] - Memory leak: resultTbl
- ./testcases/network/rpc/rpc-tirpc-full-test-suite/tests_pack/rpc_suite/rpc/rpc_stdcall_clnt_call/7-performance.c:168 [error] - Memory leak: resultTbl
- ./testcases/network/rpc/rpc-tirpc-full-test-suite/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/7-performance.c:203 [error] - Memory leak: resultTbl
- ./testcases/network/rpc/rpc-tirpc-full-test-suite/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/7-performance.c:205 [error] - Memory leak: resultTbl
- ./testcases/network/rpc/rpc-tirpc-full-test-suite/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/7-performance.c:189 [error] - Memory leak: resultTbl
- ./testcases/network/rpc/rpc-tirpc-full-test-suite/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/7-performance.c:177 [error] - Memory leak: resultTbl
- ./testcases/network/rpc/rpc-tirpc-full-test-suite/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/7-performance.c:160 [error] - Memory leak: resultTbl
- ./testcases/network/rpc/rpc-tirpc-full-test-suite/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/7-performance.c:160 [error] - Memory leak: resultTbl
- ./testcases/network/rpc/rpc-tirpc-full-test-suite/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/7-performance.c:162 [error] - Memory leak: resultTbl
- ./testcases/network/rpc/rpc-tirpc-full-test-suite/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/7-performance.c:167 [error] - Memory leak: resultTbl
- ./testcases/network/sctp/func_tests/test_1_to_1_threads.c:122 [error] - Memory leak: buffer_snd
- ./testcases/network/sctp/testlib/sctputil.c:415 [error] - Memory leak: found
- ./testcases/network/sctp/testlib/sctputil.h:137 [error] - Possible null pointer dereference: diediedie
- ./testcases/network/sctp/testlib/sctputil.h:149 [error] - Possible null pointer dereference: diediedie
- ./testcases/network/sctp/testlib/sctputil.h:157 [error] - Possible null pointer dereference: diediedie
- ./testcases/network/sctp/testlib/sctputil.h:165 [error] - Possible null pointer dereference: diediedie
- ./testcases/network/sctp/testlib/sctputil.h:173 [error] - Possible null pointer dereference: diediedie
- ./testcases/network/sctp/testlib/sctputil.h:181 [error] - Possible null pointer dereference: diediedie
- ./testcases/network/sctp/testlib/sctputil.h:189 [error] - Possible null pointer dereference: diediedie
- ./testcases/network/sctp/testlib/sctputil.h:198 [error] - Possible null pointer dereference: diediedie
- ./testcases/network/sctp/testlib/sctputil.h:208 [error] - Possible null pointer dereference: diediedie
- ./testcases/network/sctp/testlib/sctputil.h:218 [error] - Possible null pointer dereference: diediedie
- ./testcases/network/sctp/testlib/sctputil.h:226 [error] - Possible null pointer dereference: diediedie
- ./testcases/network/sctp/testlib/sctputil.h:234 [error] - Possible null pointer dereference: diediedie
- ./testcases/network/sctp/testlib/sctputil.h:242 [error] - Possible null pointer dereference: diediedie
- ./testcases/network/sctp/testlib/sctputil.h:252 [error] - Possible null pointer dereference: diediedie
- ./testcases/network/sctp/testlib/sctputil.h:262 [error] - Possible null pointer dereference: diediedie
- ./testcases/network/sctp/testlib/sctputil.h:270 [error] - Possible null pointer dereference: diediedie
- ./testcases/network/sctp/testlib/sctputil.h:284 [error] - Possible null pointer dereference: diediedie
- ./testcases/network/sctp/testlib/sctputil.h:295 [error] - Possible null pointer dereference: diediedie
- ./testcases/network/sctp/testlib/sctputil.h:306 [error] - Possible null pointer dereference: diediedie
- ./testcases/network/sctp/testlib/sctputil.h:314 [error] - Possible null pointer dereference: diediedie
- ./testcases/network/sctp/testlib/sctputil.c:187 [error] - Possible null pointer dereference: diediedie
- ./testcases/network/sctp/testlib/sctputil.c:239 [error] - Possible null pointer dereference: diediedie
- ./testcases/network/sctp/testlib/sctputil.c:313 [error] - Possible null pointer dereference: diediedie
- ./testcases/network/sctp/testlib/sctputil.c:376 [error] - Possible null pointer dereference: diediedie
- ./testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/3-1.c:101 [error] - Resource leak: fd
- ./testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/3-1.c:122 [error] - Memory leak: aiocb
- ./testcases/open_posix_testsuite/conformance/interfaces/mlock/10-1.c:45 [error] - Memory leak: ptr
- ./testcases/open_posix_testsuite/conformance/interfaces/mmap/11-4.c:89 [error] - Resource leak: fd
- ./testcases/open_posix_testsuite/conformance/interfaces/mmap/12-1.c:120 [error] - Resource leak: fd2
- ./testcases/open_posix_testsuite/conformance/interfaces/mmap/27-1.c:104 [error] - Memory leak: data
- ./testcases/open_posix_testsuite/conformance/interfaces/mmap/6-1.c:147 [error] - Resource leak: fd
- ./testcases/open_posix_testsuite/conformance/interfaces/mmap/6-2.c:162 [error] - Resource leak: fd
- ./testcases/open_posix_testsuite/conformance/interfaces/mmap/6-3.c:151 [error] - Resource leak: fd
- ./testcases/open_posix_testsuite/conformance/interfaces/munlock/11-1.c:45 [error] - Memory leak: ptr
- ./testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/10-1.c:120 [possible error] - Memory leak: child_pid
- ./testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/2-1.c:139 [error] - Memory leak: child_pid
- ./testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/2-2.c:139 [error] - Memory leak: child_pid
- ./testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/9-1.c:141 [possible error] - Memory leak: child_pid
- ./testcases/open_posix_testsuite/conformance/interfaces/sched_yield/1-1.c:268 [error] - Memory leak: child_pid
- ./testcases/open_posix_testsuite/conformance/interfaces/shm_open/8-1.c:61 [error] - Resource leak: fd1
- ./testcases/open_posix_testsuite/functional/semaphores/sem_conpro.c:109 [error] - Memory leak: buf
- ./testcases/open_posix_testsuite/functional/semaphores/sem_conpro.c:114 [error] - Memory leak: buf
- ./testcases/pounder21/run.c:412 [error] - Memory leak: it
- ./testcases/pounder21/run.c:436 [error] - Memory leak: it
- ./testcases/pounder21/src/cpufreq/cpufreq.c:57 [error] - Resource leak: fp
- ./testcases/pounder21/src/cpufreq/cpufreq.c:180 [error] - Memory leak: frequencies
- ./testcases/pounder21/src/ramsnake/snake.c:97 [error] - Resource leak: fp
- ./testcases/pounder21/src/randacoords/coords.c:40 [error] - Resource leak: fp
- ./testcases/pounder21/src/randasyscall/randasys.c:50 [error] - Resource leak: fp
- ./testcases/pounder21/src/xbonkers/xbonkers.c:120 [error] - Resource leak: fp
- ./testcases/realtime/func/rt-migrate/rt-migrate.c:526 [error] - Memory leak: threads
- ./testcases/realtime/perf/latency/pthread_cond_many.c:246 [error] - Memory leak: pt
- ./tools/netpipe-2.4-ipv6/netpipe.c:545 [possible error] - Resource leak: out
- ./tools/netpipe-2.4/netpipe.c:492 [possible error] - Resource leak: out
- ./tools/rand_lines.c:351 [error] - Memory leak: offsets
- ./tools/rand_lines.c:467 [error] - Memory leak: buffer
- ./tools/rand_lines.c:547 [error] - Memory leak: offsets
- ./tools/top-LTP/proc/readproc.c:263 [error] - Resource leak: fd
- ./tools/top-LTP/proc/readproc.c:332 [error] - Resource leak: fd
- ./tools/top-LTP/proc/sig.c:217 [error] - Unusual pointer arithmetic
- ./tools/top-LTP/top.c:1670 [possible error] - Resource leak: fd
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Thu, 16 Dec 2010 05:54:44 +0000, based on results by cppcheck 1.41-modif