kf5-kcodecs-5.116.0-1.fc41

List of Defects

Error: COMPILER_WARNING: [#def1]
kf5-kcodecs-5.116.0-build/kcodecs-5.116.0/src/kcharsets.cpp:15: included_from: Included from here.
kf5-kcodecs-5.116.0-build/kcodecs-5.116.0/src/kentities.gperf: scope_hint: In static member function ‘static const entity* KCodecsEntities::kde_findEntity(const char*, size_t)’
kf5-kcodecs-5.116.0-build/kcodecs-5.116.0/src/kentities.gperf:408:10: warning[-Wzero-as-null-pointer-constant]: zero as null pointer constant

Error: COMPILER_WARNING (CWE-9001): [#def2]
kf5-kcodecs-5.116.0-build/kcodecs-5.116.0/src/probers/LangBulgarianModel.cpp:148:39: warning[-Wattributes]: ‘visibility’ attribute ignored
#  148 | const SequenceModel KCODECS_NO_EXPORT Latin5BulgarianModel = {Latin5_BulgarianCharToOrderMap, BulgarianLangModel, (float)0.969392, false, "ISO-8859-5"};
#      |                                       ^~~~~~~~~~~~~~~~~~~~
#  146|   };
#  147|   
#  148|-> const SequenceModel KCODECS_NO_EXPORT Latin5BulgarianModel = {Latin5_BulgarianCharToOrderMap, BulgarianLangModel, (float)0.969392, false, "ISO-8859-5"};
#  149|   
#  150|   const SequenceModel KCODECS_NO_EXPORT Win1251BulgarianModel = {win1251BulgarianCharToOrderMap, BulgarianLangModel, (float)0.969392, false, "windows-1251"};

Error: COMPILER_WARNING (CWE-9001): [#def3]
kf5-kcodecs-5.116.0-build/kcodecs-5.116.0/src/probers/LangBulgarianModel.cpp:150:39: warning[-Wattributes]: ‘visibility’ attribute ignored
#  150 | const SequenceModel KCODECS_NO_EXPORT Win1251BulgarianModel = {win1251BulgarianCharToOrderMap, BulgarianLangModel, (float)0.969392, false, "windows-1251"};
#      |                                       ^~~~~~~~~~~~~~~~~~~~~
#  148|   const SequenceModel KCODECS_NO_EXPORT Latin5BulgarianModel = {Latin5_BulgarianCharToOrderMap, BulgarianLangModel, (float)0.969392, false, "ISO-8859-5"};
#  149|   
#  150|-> const SequenceModel KCODECS_NO_EXPORT Win1251BulgarianModel = {win1251BulgarianCharToOrderMap, BulgarianLangModel, (float)0.969392, false, "windows-1251"};
#  151|   }

Scan Properties

analyzer-version-clang18.1.7
analyzer-version-cppcheck2.14.2
analyzer-version-gcc14.1.1
analyzer-version-gcc-analyzer14.1.1
analyzer-version-shellcheck0.10.0
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-85.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namekf5-kcodecs-5.116.0-1.fc41
store-results-to/tmp/tmpjxbtk1m7/kf5-kcodecs-5.116.0-1.fc41.tar.xz
time-created2024-07-03 13:45:23
time-finished2024-07-03 13:46:44
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpjxbtk1m7/kf5-kcodecs-5.116.0-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpjxbtk1m7/kf5-kcodecs-5.116.0-1.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9