Fixed findings
List of Findings
Error: COMPILER_WARNING: [#def1]
hunspell-1.7.2/src/hunspell/affentry.cxx: scope_hint: In member function 'PfxEntry::~PfxEntry()'
hunspell-1.7.2/src/hunspell/affentry.cxx:875:1: warning[-Wmissing-profile]: '/builddir/build/BUILD/hunspell-1.7.2/src/hunspell/.libs/affentry.gcda' profile count data file not found
Error: COMPILER_WARNING (CWE-195): [#def2]
hunspell-1.7.2/src/hunspell/affixmgr.cxx: scope_hint: In member function 'int AffixMgr::cpdpat_check(const std::string&, int, hentry*, hentry*, char)'
hunspell-1.7.2/src/hunspell/affixmgr.cxx:1340:51: warning[-Wsign-compare]: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int'
Error: COMPILER_WARNING (CWE-195): [#def3]
hunspell-1.7.2/src/hunspell/affixmgr.cxx: scope_hint: In member function 'hentry* AffixMgr::compound_check(const std::string&, short int, short int, short int, short int, hentry**, hentry**, char, char, int*)'
hunspell-1.7.2/src/hunspell/affixmgr.cxx:1634:21: warning[-Wsign-compare]: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'}
Error: COMPILER_WARNING (CWE-195): [#def4]
hunspell-1.7.2/src/hunspell/affixmgr.cxx:1659:15: warning[-Wsign-compare]: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'}
Error: COMPILER_WARNING (CWE-195): [#def5]
hunspell-1.7.2/src/hunspell/affixmgr.cxx:1829:63: warning[-Wsign-compare]: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'}
Error: COMPILER_WARNING (CWE-195): [#def6]
hunspell-1.7.2/src/hunspell/affixmgr.cxx:1864:37: warning[-Wsign-compare]: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'}
Error: COMPILER_WARNING (CWE-195): [#def7]
hunspell-1.7.2/src/hunspell/affixmgr.cxx:1935:24: warning[-Wsign-compare]: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'}
Error: COMPILER_WARNING (CWE-195): [#def8]
hunspell-1.7.2/src/hunspell/affixmgr.cxx:1955:53: warning[-Wsign-compare]: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'}
Error: COMPILER_WARNING (CWE-195): [#def9]
hunspell-1.7.2/src/hunspell/affixmgr.cxx:1962:21: warning[-Wsign-compare]: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'}
Error: COMPILER_WARNING (CWE-195): [#def10]
hunspell-1.7.2/src/hunspell/affixmgr.cxx:1967:21: warning[-Wsign-compare]: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'}
Error: COMPILER_WARNING (CWE-195): [#def11]
hunspell-1.7.2/src/hunspell/affixmgr.cxx:2015:21: warning[-Wsign-compare]: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'}
Error: COMPILER_WARNING (CWE-195): [#def12]
hunspell-1.7.2/src/hunspell/affixmgr.cxx:2088:53: warning[-Wsign-compare]: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'}
Error: COMPILER_WARNING (CWE-195): [#def13]
hunspell-1.7.2/src/hunspell/affixmgr.cxx:2110:23: warning[-Wsign-compare]: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'}
Error: COMPILER_WARNING: [#def14]
hunspell-1.7.2/src/hunspell/affixmgr.cxx: scope_hint: In function 'std::__advance<w_char*, long>(w_char*&, long, std::random_access_iterator_tag)void'
hunspell-1.7.2/src/hunspell/affixmgr.cxx:4845:1: warning[-Wmissing-profile]: '/builddir/build/BUILD/hunspell-1.7.2/src/hunspell/.libs/affixmgr.gcda' profile count data file not found
Error: COMPILER_WARNING: [#def15]
hunspell-1.7.2/src/hunspell/csutil.cxx: scope_hint: In function 'std::__advance<w_char*, long>(w_char*&, long, std::random_access_iterator_tag)void'
hunspell-1.7.2/src/hunspell/csutil.cxx:2665:1: warning[-Wmissing-profile]: '/builddir/build/BUILD/hunspell-1.7.2/src/hunspell/.libs/csutil.gcda' profile count data file not found
Error: COMPILER_WARNING: [#def16]
hunspell-1.7.2/src/hunspell/filemgr.cxx: scope_hint: In member function 'std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long)'
hunspell-1.7.2/src/hunspell/filemgr.cxx:119:1: warning[-Wmissing-profile]: '/builddir/build/BUILD/hunspell-1.7.2/src/hunspell/.libs/filemgr.gcda' profile count data file not found
Error: COMPILER_WARNING (CWE-195): [#def17]
hunspell-1.7.2/src/hunspell/hashmgr.cxx: scope_hint: In member function 'int HashMgr::hash(const char*, size_t) const'
hunspell-1.7.2/src/hunspell/hashmgr.cxx:693:21: warning[-Wsign-compare]: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'}
Error: COMPILER_WARNING (CWE-195): [#def18]
hunspell-1.7.2/src/hunspell/hashmgr.cxx:695:12: warning[-Wsign-compare]: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'}
Error: COMPILER_WARNING: [#def19]
hunspell-1.7.2/src/hunspell/hashmgr.cxx: scope_hint: In function 'std::__copy_move_backward_a2<true, unsigned short*, unsigned short*>(unsigned short*, unsigned short*, unsigned short*)unsigned short*'
hunspell-1.7.2/src/hunspell/hashmgr.cxx:1365:1: warning[-Wmissing-profile]: '/builddir/build/BUILD/hunspell-1.7.2/src/hunspell/.libs/hashmgr.gcda' profile count data file not found
Error: COMPILER_WARNING: [#def20]
hunspell-1.7.2/src/hunspell/hunspell.cxx: scope_hint: In function 'std::__advance<w_char*, long>(w_char*&, long, std::random_access_iterator_tag)void'
hunspell-1.7.2/src/hunspell/hunspell.cxx:2333:1: warning[-Wmissing-profile]: '/builddir/build/BUILD/hunspell-1.7.2/src/hunspell/.libs/hunspell.gcda' profile count data file not found
Error: CPPCHECK_WARNING (CWE-457): [#def21]
hunspell-1.7.2/src/hunspell/hunzip.cxx:250: warning[uninitvar]: Uninitialized variable: linebuf
Error: COMPILER_WARNING: [#def22]
hunspell-1.7.2/src/hunspell/hunzip.cxx: scope_hint: In member function 'std::__new_allocator<bit>::allocate(unsigned long, void const*)'
hunspell-1.7.2/src/hunspell/hunzip.cxx:253:1: warning[-Wmissing-profile]: '/builddir/build/BUILD/hunspell-1.7.2/src/hunspell/.libs/hunzip.gcda' profile count data file not found
Error: COMPILER_WARNING: [#def23]
hunspell-1.7.2/src/hunspell/phonet.cxx: scope_hint: In function 'std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_move(char*, char const*, unsigned long)'
hunspell-1.7.2/src/hunspell/phonet.cxx:268:1: warning[-Wmissing-profile]: '/builddir/build/BUILD/hunspell-1.7.2/src/hunspell/.libs/phonet.gcda' profile count data file not found
Error: COMPILER_WARNING: [#def24]
hunspell-1.7.2/src/hunspell/replist.cxx: scope_hint: In member function 'std::__new_allocator<replentry*>::allocate(unsigned long, void const*)'
hunspell-1.7.2/src/hunspell/replist.cxx:207:1: warning[-Wmissing-profile]: '/builddir/build/BUILD/hunspell-1.7.2/src/hunspell/.libs/replist.gcda' profile count data file not found
Error: COMPILER_WARNING: [#def25]
hunspell-1.7.2/src/hunspell/suggestmgr.cxx: scope_hint: In member function 'int SuggestMgr::ngram(int, const std::vector<w_char>&, const std::vector<w_char>&, int)'
hunspell-1.7.2/src/hunspell/suggestmgr.cxx:1976:23: warning[-Wunused-but-set-variable=]: variable 'test' set but not used
Error: COMPILER_WARNING: [#def26]
hunspell-1.7.2/src/hunspell/suggestmgr.cxx: scope_hint: In member function 'int SuggestMgr::ngram(int, const std::string&, const std::string&, int)'
hunspell-1.7.2/src/hunspell/suggestmgr.cxx:2020:43: warning[-Wunused-but-set-variable=]: variable 'test' set but not used
Error: COMPILER_WARNING: [#def27]
hunspell-1.7.2/src/hunspell/suggestmgr.cxx: scope_hint: In function 'std::__advance<w_char*, long>(w_char*&, long, std::random_access_iterator_tag)void'
hunspell-1.7.2/src/hunspell/suggestmgr.cxx:2252:1: warning[-Wmissing-profile]: '/builddir/build/BUILD/hunspell-1.7.2/src/hunspell/.libs/suggestmgr.gcda' profile count data file not found
Error: COMPILER_WARNING (CWE-252): [#def28]
hunspell-1.7.2/src/tools/hunspell.cxx: scope_hint: In function ‘void interactive_interface(Hunspell**, char*, int)’
hunspell-1.7.2/src/tools/hunspell.cxx:1609:19: warning[-Wunused-result]: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def29]
hunspell-1.7.2/src/tools/hunspell.cxx:1620:19: warning[-Wunused-result]: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’
Error: CPPCHECK_WARNING (CWE-476): [#def30]
hunspell-1.7.2/src/tools/munch.cxx:609: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: hp
Error: CPPCHECK_WARNING (CWE-476): [#def31]
hunspell-1.7.2/src/tools/munch.cxx:611: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: hp
Scan Properties
| analyzer-version-clippy | 1.97.1 |
| analyzer-version-cppcheck | 2.21.1 |
| analyzer-version-gcc | 16.1.1 |
| analyzer-version-gcc-analyzer | 16.1.1 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| diffbase-analyzer-version-clippy | 1.97.1 |
| diffbase-analyzer-version-cppcheck | 2.21.1 |
| diffbase-analyzer-version-gcc | 16.1.1 |
| diffbase-analyzer-version-gcc-analyzer | 16.1.1 |
| 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-104.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.20260524.213755.g3c6d0be.main-1.el9.noarch |
| diffbase-mock-config | fedora-rawhide-x86_64 |
| diffbase-project-name | hunspell-1.7.3-2.fc45 |
| diffbase-store-results-to | /tmp/tmpwuiwamci/hunspell-1.7.3-2.fc45.tar.xz |
| diffbase-time-created | 2026-08-03 15:10:25 |
| diffbase-time-finished | 2026-08-03 15:12:56 |
| diffbase-tool | csmock |
| diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmpwuiwamci/hunspell-1.7.3-2.fc45.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpwuiwamci/hunspell-1.7.3-2.fc45.src.rpm' |
| diffbase-tool-version | csmock-3.8.7.20260803.142340.gb75b18e-1.el9 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-104.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.20260524.213755.g3c6d0be.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | hunspell-1.7.2-11.fc44 |
| store-results-to | /tmp/tmpne1d2opb/hunspell-1.7.2-11.fc44.tar.xz |
| time-created | 2026-08-03 15:07:00 |
| time-finished | 2026-08-03 15:10:13 |
| title | Fixed findings |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmpne1d2opb/hunspell-1.7.2-11.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpne1d2opb/hunspell-1.7.2-11.fc44.src.rpm' |
| tool-version | csmock-3.8.7.20260803.142340.gb75b18e-1.el9 |