Error: CLANG_WARNING: [#def1] kf6-kcompletion-6.3.0-build/kcompletion-6.3.0/src/klineedit.cpp:711:25: warning[deadcode.DeadStores]: Value stored to 'len' is never read # 709| backspace(); # 710| txt = text(); # 711|-> len = txt.length(); # 712| } # 713| Error: CLANG_WARNING: [#def2] kf6-kcompletion-6.3.0-build/kcompletion-6.3.0/src/klineedit.cpp:1233:13: warning[core.CallAndMessage]: Called C++ object pointer is null # 1231| completionBox(); # 1232| # 1233|-> if (d->completionBox->isVisible()) { # 1234| QListWidgetItem *currentItem = d->completionBox->currentItem(); # 1235| Error: CLANG_WARNING: [#def3] kf6-kcompletion-6.3.0-build/kcompletion-6.3.0/src/klineedit.cpp:1279:9: warning[core.CallAndMessage]: Called C++ object pointer is null # 1277| if (create && !d->completionBox) { # 1278| setCompletionBox(new KCompletionBox(this)); # 1279|-> d->completionBox->setObjectName(QStringLiteral("completion box")); # 1280| d->completionBox->setFont(font()); # 1281| } Error: CLANG_WARNING: [#def4] kf6-kcompletion-6.3.0-build/kcompletion-6.3.0/src/klineedit.cpp:1279:41: warning[cplusplus.NewDeleteLeaks]: Potential memory leak # 1277| if (create && !d->completionBox) { # 1278| setCompletionBox(new KCompletionBox(this)); # 1279|-> d->completionBox->setObjectName(QStringLiteral("completion box")); # 1280| d->completionBox->setFont(font()); # 1281| } Error: CLANG_WARNING: [#def5] kf6-kcompletion-6.3.0-build/kcompletion-6.3.0/src/kzoneallocator.cpp:312:18: warning[core.NullDereference]: Access to field 'newer' results in a dereference of a null pointer (loaded from field 'currentBlock') # 310| while (d->currentBlock && !d->currentBlock->is_in(ptr)) { # 311| d->currentBlock = d->currentBlock->older; # 312|-> delBlock(d->currentBlock->newer); # 313| } # 314| d->blockOffset = ((char *)ptr) - d->currentBlock->begin; Error: CLANG_WARNING: [#def6] kf6-kcompletion-6.3.0-build/kcompletion-6.3.0/src/kzoneallocator.cpp:314:38: warning[core.NullDereference]: Access to field 'begin' results in a dereference of a null pointer (loaded from field 'currentBlock') # 312| delBlock(d->currentBlock->newer); # 313| } # 314|-> d->blockOffset = ((char *)ptr) - d->currentBlock->begin; # 315| }
analyzer-version-clang | 18.1.7 |
analyzer-version-cppcheck | 2.14.2 |
analyzer-version-gcc | 14.1.1 |
analyzer-version-gcc-analyzer | 14.1.1 |
analyzer-version-shellcheck | 0.10.0 |
enabled-plugins | clang, cppcheck, gcc, shellcheck |
exit-code | 0 |
host | ip-172-16-1-43.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | kf6-kcompletion-6.3.0-1.fc41 |
store-results-to | /tmp/tmpaejrdqgi/kf6-kcompletion-6.3.0-1.fc41.tar.xz |
time-created | 2024-07-03 14:01:30 |
time-finished | 2024-07-03 14:03:04 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpaejrdqgi/kf6-kcompletion-6.3.0-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpaejrdqgi/kf6-kcompletion-6.3.0-1.fc41.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |