Fixed findings
List of Findings
Error: COMPILER_WARNING: [#def1]
libplist-2.3.0-build/libplist-2.3.0/src/bplist.c: scope_hint: In function 'parse_unicode_node'
libplist-2.3.0-build/libplist-2.3.0/src/bplist.c:406:22: warning[-Wuse-after-free]: pointer 'tmpstr_29' may be used after 'realloc'
libplist-2.3.0-build/libplist-2.3.0/src/bplist.c:404:20: note: call to 'realloc' here
Error: COMPILER_WARNING: [#def2]
libplist-2.3.0-build/libplist-2.3.0/src/jplist.c:398:15: warning[-Wenum-int-mismatch]: conflicting types for 'plist_to_json' due to enum/integer mismatch; have 'int(void *, char **, uint32_t *, int)' {aka 'int(void *, char **, unsigned int *, int)'}
libplist-2.3.0-build/libplist-2.3.0/src/plist.h:29: included_from: Included from here.
libplist-2.3.0-build/libplist-2.3.0/src/jplist.c:38: included_from: Included from here.
libplist-2.3.0-build/libplist-2.3.0/include/plist/plist.h:754:17: note: previous declaration of 'plist_to_json' with type 'plist_err_t(void *, char **, uint32_t *, int)' {aka 'plist_err_t(void *, char **, unsigned int *, int)'}
Error: COMPILER_WARNING: [#def3]
libplist-2.3.0-build/libplist-2.3.0/src/jplist.c:782:15: warning[-Wenum-int-mismatch]: conflicting types for 'plist_from_json' due to enum/integer mismatch; have 'int(const char *, uint32_t, void **)' {aka 'int(const char *, unsigned int, void **)'}
libplist-2.3.0-build/libplist-2.3.0/include/plist/plist.h:798:17: note: previous declaration of 'plist_from_json' with type 'plist_err_t(const char *, uint32_t, void **)' {aka 'plist_err_t(const char *, unsigned int, void **)'}
Error: COMPILER_WARNING: [#def4]
libplist-2.3.0-build/libplist-2.3.0/src/oplist.c:442:15: warning[-Wenum-int-mismatch]: conflicting types for 'plist_to_openstep' due to enum/integer mismatch; have 'int(void *, char **, uint32_t *, int)' {aka 'int(void *, char **, unsigned int *, int)'}
libplist-2.3.0-build/libplist-2.3.0/src/plist.h:29: included_from: Included from here.
libplist-2.3.0-build/libplist-2.3.0/src/oplist.c:38: included_from: Included from here.
libplist-2.3.0-build/libplist-2.3.0/include/plist/plist.h:767:17: note: previous declaration of 'plist_to_openstep' with type 'plist_err_t(void *, char **, uint32_t *, int)' {aka 'plist_err_t(void *, char **, unsigned int *, int)'}
Error: COMPILER_WARNING: [#def5]
libplist-2.3.0-build/libplist-2.3.0/src/oplist.c:895:15: warning[-Wenum-int-mismatch]: conflicting types for 'plist_from_openstep' due to enum/integer mismatch; have 'int(const char *, uint32_t, void **)' {aka 'int(const char *, unsigned int, void **)'}
libplist-2.3.0-build/libplist-2.3.0/include/plist/plist.h:808:17: note: previous declaration of 'plist_from_openstep' with type 'plist_err_t(const char *, uint32_t, void **)' {aka 'plist_err_t(const char *, unsigned int, void **)'}
Scan Properties
analyzer-version-clippy | 1.82.0 |
analyzer-version-cppcheck | 2.16.0 |
analyzer-version-gcc | 14.2.1 |
analyzer-version-gcc-analyzer | 15.0.0 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
diffbase-analyzer-version-clippy | 1.82.0 |
diffbase-analyzer-version-cppcheck | 2.16.0 |
diffbase-analyzer-version-gcc | 14.2.1 |
diffbase-analyzer-version-gcc-analyzer | 15.0.0 |
diffbase-analyzer-version-shellcheck | 0.10.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-186.us-west-2.compute.internal |
diffbase-mock-config | fedora-rawhide-gcc-latest-x86_64 |
diffbase-project-name | libplist-2.6.0-1.fc42 |
diffbase-store-results-to | /tmp/tmp0vilqkfl/libplist-2.6.0-1.fc42.tar.xz |
diffbase-time-created | 2024-11-13 01:39:39 |
diffbase-time-finished | 2024-11-13 01:41:40 |
diffbase-tool | csmock |
diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmp0vilqkfl/libplist-2.6.0-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmp0vilqkfl/libplist-2.6.0-1.fc42.src.rpm' |
diffbase-tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-186.us-west-2.compute.internal |
mock-config | fedora-rawhide-gcc-latest-x86_64 |
project-name | libplist-2.3.0-6.fc41 |
store-results-to | /tmp/tmpstzs0rx7/libplist-2.3.0-6.fc41.tar.xz |
time-created | 2024-11-13 01:36:56 |
time-finished | 2024-11-13 01:39:22 |
title | Fixed findings |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpstzs0rx7/libplist-2.3.0-6.fc41.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpstzs0rx7/libplist-2.3.0-6.fc41.src.rpm' |
tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |