kf6-prison-6.22.0-1.fc44

List of Findings

Error: COMPILER_WARNING (CWE-477): [#def1]
prison-6.22.0/src/scanner/imagescanner.cpp: scope_hint: In function ‘ZXing::Result Prison::ImageScanner::readBarcode(const QImage&, Prison::Format::BarcodeFormats)’
prison-6.22.0/src/scanner/imagescanner.cpp:25:24: warning[-Wdeprecated-declarations]: ‘using ZXing::DecodeHints = class ZXing::ReaderOptions’ is deprecated
#   25 |     ZXing::DecodeHints hints;
#      |                        ^~~~~
/usr/include/ZXing/Content.h:10: included_from: Included from here.
/usr/include/ZXing/Result.h:12: included_from: Included from here.
prison-6.22.0/src/scanner/imagescanner_p.h:12: included_from: Included from here.
prison-6.22.0/src/scanner/imagescanner.cpp:10: included_from: Included from here.
/usr/include/ZXing/ReaderOptions.h:176:7: note: declared here
#  176 | using DecodeHints [[deprecated]] = ReaderOptions;
#      |       ^~~~~~~~~~~
#   23|   ZXing::Result ImageScanner::readBarcode(const QImage &image, Format::BarcodeFormats formats)
#   24|   {
#   25|->     ZXing::DecodeHints hints;
#   26|       hints.setFormats(formats == Format::NoFormat ? ZXing::BarcodeFormats::all() : Format::toZXing(formats));
#   27|   

Error: COMPILER_WARNING (CWE-1023): [#def2]
prison-6.22.0/src/scanner/imagescanner.cpp:29:12: warning[-Wswitch]: enumeration value ‘Format_CMYK8888’ not handled in switch
#   29 |     switch (image.format()) {
#      |            ^
#   27|   
#   28|       // handle formats ZXing supports directly
#   29|->     switch (image.format()) {
#   30|       case QImage::Format_Invalid:
#   31|   #if ZXING_VERSION < QT_VERSION_CHECK(1, 4, 0)

Error: COMPILER_WARNING (CWE-477): [#def3]
prison-6.22.0/src/scanner/videoscannerworker.cpp: scope_hint: In member function ‘void Prison::VideoScannerWorker::slotScanFrame(Prison::VideoScannerFrame)’
prison-6.22.0/src/scanner/videoscannerworker.cpp:36:24: warning[-Wdeprecated-declarations]: ‘using ZXing::DecodeHints = class ZXing::ReaderOptions’ is deprecated
#   36 |     ZXing::DecodeHints hints;
#      |                        ^~~~~
/usr/include/ZXing/Content.h:10: included_from: Included from here.
/usr/include/ZXing/Result.h:12: included_from: Included from here.
prison-6.22.0/src/scanner/imagescanner_p.h:12: included_from: Included from here.
prison-6.22.0/src/scanner/videoscannerworker.cpp:8: included_from: Included from here.
/usr/include/ZXing/ReaderOptions.h:176:7: note: declared here
#  176 | using DecodeHints [[deprecated]] = ReaderOptions;
#      |       ^~~~~~~~~~~
#   34|       ZXing::Result zxRes;
#   35|   #endif
#   36|->     ZXing::DecodeHints hints;
#   37|       hints.setFormats(frame.formats() == Format::NoFormat ? ZXing::BarcodeFormats::all() : Format::toZXing(frame.formats()));
#   38|   

Scan Properties

analyzer-version-clippy1.92.0
analyzer-version-cppcheck2.19.1
analyzer-version-gcc16.0.0
analyzer-version-gcc-analyzer16.0.0
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-109.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namekf6-prison-6.22.0-1.fc44
store-results-to/tmp/tmpmh8g9w1k/kf6-prison-6.22.0-1.fc44.tar.xz
time-created2026-01-08 18:29:22
time-finished2026-01-08 18:32:21
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmpmh8g9w1k/kf6-prison-6.22.0-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpmh8g9w1k/kf6-prison-6.22.0-1.fc44.src.rpm'
tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9