qcoro-0.10.0-7.fc42

List of Findings

Error: COMPILER_WARNING (CWE-457): [#def1]
qcoro-0.10.0-build/qcoro-0.10.0/qcoro/core/qcorosignal.h: scope_hint: In function ‘_ZZ19qCoroSignalListenerITkN5QCoro6detail8concepts7QObjectEN12_GLOBAL__N_122WebSocketSignalWatcherEMS4_FvSt8optionalISt5tupleIJ10QByteArraybEEEEENS0_14AsyncGeneratorINS1_16QCoroSignalQueueIT_T0_E11result_type10value_typeEEEPSE_OSF_NSt6chrono8durationIlSt5ratioILl1ELl1000EEEEENUlSt10unique_ptrINSD_IS4_SB_EESt14default_deleteISS_EEE_clEPZZS_ITkNS2_7QObjectES4_SB_ESJ_SK_SL_SQ_ENKSW_clESV_E346_ZZ19qCoroSignalListenerITkN5QCoro6detail8concepts7QObjectEN12_GLOBAL__N_122WebSocketSignalWatcherEMS4_Fv [...]
qcoro-0.10.0-build/qcoro-0.10.0/qcoro/core/qcorosignal.h:296:14: warning[-Wmaybe-uninitialized]: ‘MEM[(struct QArrayDataPointer *)&result + 8B].d’ may be used uninitialized
#  294|           }
#  295|   
#  296|->         auto result = std::move(mQueue.front());
#  297|           mQueue.pop_front();
#  298|           return result;
qcoro-0.10.0-build/qcoro-0.10.0/qcoro/core/qcorosignal.h:296:14: note: trimmed 1 message(s) with length over 512

Error: COMPILER_WARNING (CWE-457): [#def2]
qcoro-0.10.0-build/qcoro-0.10.0/qcoro/core/qcorosignal.h:296:14: warning[-Wmaybe-uninitialized]: ‘MEM[(struct QArrayDataPointer *)&result + 8B].ptr’ may be used uninitialized
#  294|           }
#  295|   
#  296|->         auto result = std::move(mQueue.front());
#  297|           mQueue.pop_front();
#  298|           return result;

Error: COMPILER_WARNING (CWE-457): [#def3]
qcoro-0.10.0-build/qcoro-0.10.0/qcoro/websockets/qcorowebsocket.cpp:7: included_from: Included from here.
qcoro-0.10.0-build/qcoro-0.10.0/qcoro/core/qcorosignal.h: scope_hint: In function ‘_ZZ19qCoroSignalListenerITkN5QCoro6detail8concepts7QObjectEN12_GLOBAL__N_122WebSocketSignalWatcherEMS4_FvSt8optionalISt5tupleIJ10QByteArrayEEEEENS0_14AsyncGeneratorINS1_16QCoroSignalQueueIT_T0_E11result_type10value_typeEEEPSE_OSF_NSt6chrono8durationIlSt5ratioILl1ELl1000EEEEENUlSt10unique_ptrINSD_IS4_SB_EESt14default_deleteISS_EEE_clEPZZS_ITkNS2_7QObjectES4_SB_ESJ_SK_SL_SQ_ENKSW_clESV_E345_ZZ19qCoroSignalListenerITkN5QCoro6detail8concepts7QObjectEN12_GLOBAL__N_122WebSocketSignalWatcherEMS4_FvS [...]
qcoro-0.10.0-build/qcoro-0.10.0/qcoro/core/qcorosignal.h:296:14: warning[-Wmaybe-uninitialized]: ‘MEM[(struct QArrayDataPointer *)&result].d’ may be used uninitialized
#  296 |         auto result = std::move(mQueue.front());
#      |              ^~~~~~
#  294|           }
#  295|   
#  296|->         auto result = std::move(mQueue.front());
#  297|           mQueue.pop_front();
#  298|           return result;
qcoro-0.10.0-build/qcoro-0.10.0/qcoro/core/qcorosignal.h:296:14: note: trimmed 1 message(s) with length over 512

Error: COMPILER_WARNING (CWE-457): [#def4]
qcoro-0.10.0-build/qcoro-0.10.0/qcoro/core/qcorosignal.h:296:14: warning[-Wmaybe-uninitialized]: ‘MEM[(struct QArrayDataPointer *)&result].ptr’ may be used uninitialized
#  294|           }
#  295|   
#  296|->         auto result = std::move(mQueue.front());
#  297|           mQueue.pop_front();
#  298|           return result;

Error: COMPILER_WARNING: [#def5]
qcoro-0.10.0-build/qcoro-0.10.0/tests/qcoroprocess.cpp: scope_hint: In member function ‘QCoro::Task<void> QCoroProcessTest::testStartDoesntCoAwaitRunningProcess_coro(QCoro::TestContext)’
qcoro-0.10.0-build/qcoro-0.10.0/tests/qcoroprocess.cpp:121:17: note: ‘#pragma message: Workaround for GCC ICE!’
#  119|           QProcess process;
#  120|   #if defined(__GNUC__) && !defined(__clang__)
#  121|-> #pragma message "Workaround for GCC ICE!"
#  122|           // Workaround GCC bug https://bugzilla.redhat.com/1952671
#  123|           // GCC ICEs at the end of this function due to presence of two co_await statements.

Scan Properties

analyzer-version-clippy1.82.0
analyzer-version-cppcheck2.16.0
analyzer-version-gcc14.2.1
analyzer-version-gcc-analyzer15.0.0
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-59.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-nameqcoro-0.10.0-7.fc42
store-results-to/tmp/tmpp5x0bhr8/qcoro-0.10.0-7.fc42.tar.xz
time-created2024-11-13 02:51:13
time-finished2024-11-13 02:54:28
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpp5x0bhr8/qcoro-0.10.0-7.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpp5x0bhr8/qcoro-0.10.0-7.fc42.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9