kf6-bluez-qt-6.8.0-1.fc42

List of Findings

Error: COMPILER_WARNING (CWE-569): [#def1]
kf6-bluez-qt-6.8.0-build/bluez-qt-6.8.0/src/a2dp-codecs.c:9: included_from: Included from here.
kf6-bluez-qt-6.8.0-build/bluez-qt-6.8.0/src/a2dp-codecs.c:53:29: warning[-Wparentheses]: suggest parentheses around arithmetic in operand of ‘|’
#   53 |     AAC_SAMPLING_FREQ_44100 |
#      |                             ^
kf6-bluez-qt-6.8.0-build/bluez-qt-6.8.0/src/a2dp-codecs.h:124:23: note: in definition of macro ‘AAC_INIT_FREQUENCY’
#  124 |         .frequency2 = f & 0x0f,
#      |                       ^
#   51|       AAC_SAMPLING_FREQ_24000 |
#   52|       AAC_SAMPLING_FREQ_32000 |*/
#   53|->     AAC_SAMPLING_FREQ_44100 |
#   54|       AAC_SAMPLING_FREQ_48000)
#   55|       /*AAC_SAMPLING_FREQ_64000 |

Error: COMPILER_WARNING (CWE-681): [#def2]
kf6-bluez-qt-6.8.0-build/bluez-qt-6.8.0/src/a2dp-codecs.h:93:41: warning[-Woverflow]: unsigned conversion from ‘int’ to ‘unsigned char:4’ changes value from ‘24’ to ‘8’
#   93 | #define AAC_SAMPLING_FREQ_44100         0x0010
#      |                                         ^~~~~~
kf6-bluez-qt-6.8.0-build/bluez-qt-6.8.0/src/a2dp-codecs.h:124:23: note: in definition of macro ‘AAC_INIT_FREQUENCY’
#  124 |         .frequency2 = f & 0x0f,
#      |                       ^
kf6-bluez-qt-6.8.0-build/bluez-qt-6.8.0/src/a2dp-codecs.c:53:5: note: in expansion of macro ‘AAC_SAMPLING_FREQ_44100’
#   53 |     AAC_SAMPLING_FREQ_44100 |
#      |     ^~~~~~~~~~~~~~~~~~~~~~~
#   91|   #define AAC_SAMPLING_FREQ_24000		0x0040
#   92|   #define AAC_SAMPLING_FREQ_32000		0x0020
#   93|-> #define AAC_SAMPLING_FREQ_44100		0x0010
#   94|   #define AAC_SAMPLING_FREQ_48000		0x0008
#   95|   #define AAC_SAMPLING_FREQ_64000		0x0004

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-148.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-namekf6-bluez-qt-6.8.0-1.fc42
store-results-to/tmp/tmpf4xr3xwi/kf6-bluez-qt-6.8.0-1.fc42.tar.xz
time-created2024-11-13 00:38:54
time-finished2024-11-13 00:42:47
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpf4xr3xwi/kf6-bluez-qt-6.8.0-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpf4xr3xwi/kf6-bluez-qt-6.8.0-1.fc42.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9