kf6-bluez-qt-6.3.0-1.fc41

List of Defects

Error: COMPILER_WARNING (CWE-569): [#def1]
kf6-bluez-qt-6.3.0-build/bluez-qt-6.3.0/src/a2dp-codecs.c:9: included_from: Included from here.
kf6-bluez-qt-6.3.0-build/bluez-qt-6.3.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.3.0-build/bluez-qt-6.3.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.3.0-build/bluez-qt-6.3.0/src/a2dp-codecs.c:9: included_from: Included from here.
kf6-bluez-qt-6.3.0-build/bluez-qt-6.3.0/src/a2dp-codecs.h:93:41: warning[-Woverflow]: unsigned conversion from ‘int’ to ‘unsigned char:4’ changes value from ‘24’ to ‘8’
kf6-bluez-qt-6.3.0-build/bluez-qt-6.3.0/src/a2dp-codecs.h:124:23: note: in definition of macro ‘AAC_INIT_FREQUENCY’
kf6-bluez-qt-6.3.0-build/bluez-qt-6.3.0/src/a2dp-codecs.c:53:5: note: in expansion of macro ‘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-clang18.1.7
analyzer-version-cppcheck2.14.2
analyzer-version-gcc14.1.1
analyzer-version-gcc-analyzer14.1.1
analyzer-version-shellcheck0.10.0
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-38.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namekf6-bluez-qt-6.3.0-1.fc41
store-results-to/tmp/tmphk68misv/kf6-bluez-qt-6.3.0-1.fc41.tar.xz
time-created2024-07-03 14:01:44
time-finished2024-07-03 14:05:49
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmphk68misv/kf6-bluez-qt-6.3.0-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmphk68misv/kf6-bluez-qt-6.3.0-1.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9