Error: COMPILER_WARNING (CWE-681): [#def1] bluez-qt-6.22.0/src/a2dp-codecs.c:45:5: warning[-Woverflow]: unsigned conversion from ‘int’ to ‘unsigned char:4’ changes value from ‘24’ to ‘8’ # 43| /*AAC_OBJECT_TYPE_MPEG4_AAC_LTP | # 44| AAC_OBJECT_TYPE_MPEG4_AAC_SCA, */ # 45|-> AAC_INIT_FREQUENCY( # 46| /*AAC_SAMPLING_FREQ_8000 | # 47| AAC_SAMPLING_FREQ_11025 | Error: COMPILER_WARNING (CWE-569): [#def2] bluez-qt-6.22.0/src/a2dp-codecs.c:9: included_from: Included from here. bluez-qt-6.22.0/src/a2dp-codecs.c:53:29: warning[-Wparentheses]: suggest parentheses around arithmetic in operand of ‘|’ # 53 | AAC_SAMPLING_FREQ_44100 | # | ^ bluez-qt-6.22.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): [#def3] bluez-qt-6.22.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 # | ^~~~~~ bluez-qt-6.22.0/src/a2dp-codecs.h:124:23: note: in definition of macro ‘AAC_INIT_FREQUENCY’ # 124 | .frequency2 = f & 0x0f, # | ^ bluez-qt-6.22.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
| analyzer-version-clippy | 1.92.0 |
| analyzer-version-cppcheck | 2.19.1 |
| analyzer-version-gcc | 16.0.0 |
| analyzer-version-gcc-analyzer | 16.0.0 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-254.us-west-2.compute.internal |
| known-false-positives | /usr/share/csmock/known-false-positives.js |
| known-false-positives-rpm | known-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | kf6-bluez-qt-6.22.0-1.fc44 |
| store-results-to | /tmp/tmpdly0rrwc/kf6-bluez-qt-6.22.0-1.fc44.tar.xz |
| time-created | 2026-01-08 17:36:34 |
| time-finished | 2026-01-08 17:46:47 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmpdly0rrwc/kf6-bluez-qt-6.22.0-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpdly0rrwc/kf6-bluez-qt-6.22.0-1.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251215.161544.g62de9a5-1.el9 |