Error: GCC_ANALYZER_WARNING (CWE-401): [#def1] e2fsprogs-1.47.3/lib/ext2fs/ext_attr.c:222:18: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’ e2fsprogs-1.47.3/lib/ext2fs/ext_attr.c:293:11: enter_function: entry to ‘ext2fs_adjust_ea_refcount3’ e2fsprogs-1.47.3/lib/ext2fs/ext_attr.c:305:12: branch_true: following ‘true’ branch (when ‘block_buf’ is NULL)... e2fsprogs-1.47.3/lib/ext2fs/ext_attr.c:306:41: branch_true: ...to here e2fsprogs-1.47.3/lib/ext2fs/ext_attr.c:306:26: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_adjust_ea_refcount3’ e2fsprogs-1.47.3/lib/ext2fs/ext_attr.c:312:18: branch_false: ...to here e2fsprogs-1.47.3/lib/ext2fs/ext_attr.c:312:18: call_function: calling ‘ext2fs_read_ext_attr3’ from ‘ext2fs_adjust_ea_refcount3’ # 220| errcode_t retval; # 221| # 222|-> retval = io_channel_read_blk64(fs->io, block, 1, buf); # 223| if (retval) # 224| return retval; Error: GCC_ANALYZER_WARNING (CWE-401): [#def2] e2fsprogs-1.47.3/misc/badblocks.c:482:18: warning[-Wanalyzer-malloc-leak]: leak of ‘blkbuf’ e2fsprogs-1.47.3/misc/badblocks.c:741:21: enter_function: entry to ‘test_nd’ e2fsprogs-1.47.3/misc/badblocks.c:765:12: branch_false: following ‘false’ branch... e2fsprogs-1.47.3/misc/badblocks.c:765:12: branch_false: ...to here e2fsprogs-1.47.3/misc/badblocks.c:774:18: call_function: calling ‘allocate_buffer’ from ‘test_nd’ e2fsprogs-1.47.3/misc/badblocks.c:774:18: return_function: returning to ‘test_nd’ from ‘allocate_buffer’ e2fsprogs-1.47.3/misc/badblocks.c:776:12: branch_false: following ‘false’ branch... e2fsprogs-1.47.3/misc/badblocks.c:782:9: branch_false: ...to here e2fsprogs-1.47.3/misc/badblocks.c:788:9: call_function: inlined call to ‘flush_bufs’ from ‘test_nd’ # 480| return; # 481| #endif # 482|-> retval = ext2fs_sync_device(host_dev, 1); # 483| if (retval) # 484| com_err(program_name, retval, "%s", Error: GCC_ANALYZER_WARNING (CWE-401): [#def3] e2fsprogs-1.47.3/misc/badblocks.c:484:17: warning[-Wanalyzer-malloc-leak]: leak of ‘blkbuf’ e2fsprogs-1.47.3/misc/badblocks.c:741:21: enter_function: entry to ‘test_nd’ e2fsprogs-1.47.3/misc/badblocks.c:765:12: branch_false: following ‘false’ branch... e2fsprogs-1.47.3/misc/badblocks.c:765:12: branch_false: ...to here e2fsprogs-1.47.3/misc/badblocks.c:774:18: call_function: calling ‘allocate_buffer’ from ‘test_nd’ e2fsprogs-1.47.3/misc/badblocks.c:774:18: return_function: returning to ‘test_nd’ from ‘allocate_buffer’ e2fsprogs-1.47.3/misc/badblocks.c:776:12: branch_false: following ‘false’ branch... e2fsprogs-1.47.3/misc/badblocks.c:782:9: branch_false: ...to here e2fsprogs-1.47.3/misc/badblocks.c:788:9: call_function: inlined call to ‘flush_bufs’ from ‘test_nd’ # 482| retval = ext2fs_sync_device(host_dev, 1); # 483| if (retval) # 484|-> com_err(program_name, retval, "%s", # 485| _("during ext2fs_sync_device")); # 486| }
| analyzer-version-clippy | 1.92.0 |
| analyzer-version-cppcheck | 2.19.1 |
| analyzer-version-gcc | 16.0.0 |
| analyzer-version-gcc-analyzer | 16.0.0 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| diffbase-analyzer-version-clippy | 1.92.0 |
| diffbase-analyzer-version-cppcheck | 2.19.1 |
| diffbase-analyzer-version-gcc | 16.0.0 |
| diffbase-analyzer-version-gcc-analyzer | 16.0.0 |
| diffbase-analyzer-version-shellcheck | 0.11.0 |
| diffbase-analyzer-version-unicontrol | 0.0.2 |
| diffbase-enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| diffbase-exit-code | 0 |
| diffbase-host | ip-172-16-1-111.us-west-2.compute.internal |
| diffbase-known-false-positives | /usr/share/csmock/known-false-positives.js |
| diffbase-known-false-positives-rpm | known-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch |
| diffbase-mock-config | fedora-rawhide-x86_64 |
| diffbase-project-name | e2fsprogs-1.47.3-2.fc43 |
| diffbase-store-results-to | /tmp/tmp_c_p6tx3/e2fsprogs-1.47.3-2.fc43.tar.xz |
| diffbase-time-created | 2026-01-08 15:51:48 |
| diffbase-time-finished | 2026-01-08 15:55:41 |
| diffbase-tool | csmock |
| diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmp_c_p6tx3/e2fsprogs-1.47.3-2.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp_c_p6tx3/e2fsprogs-1.47.3-2.fc43.src.rpm' |
| diffbase-tool-version | csmock-3.8.3.20251215.161544.g62de9a5-1.el9 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-111.us-west-2.compute.internal |
| known-false-positives | /usr/share/csmock/known-false-positives.js |
| known-false-positives-rpm | known-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | e2fsprogs-1.47.3-3.fc44 |
| store-results-to | /tmp/tmploii9bf3/e2fsprogs-1.47.3-3.fc44.tar.xz |
| time-created | 2026-01-08 15:56:15 |
| time-finished | 2026-01-08 15:59:38 |
| title | Newly introduced findings |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmploii9bf3/e2fsprogs-1.47.3-3.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmploii9bf3/e2fsprogs-1.47.3-3.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251215.161544.g62de9a5-1.el9 |