Error: COMPILER_WARNING (CWE-477): [#def1] vlc-3.0.23/modules/audio_filter/channel_mixer/spatialaudio.cpp:56:42: warning[-Wdeprecated-declarations]: ‘AmbisonicProcessor’ is deprecated: This class is deprecated. Please use AmbisonicRotator class instead. # 56 | using CAmbisonicProcessor = spaudio::AmbisonicProcessor; # | ^~~~~~~~~~~~~~~~~~ /usr/include/spatialaudio/Ambisonics.h:27: included_from: Included from here. vlc-3.0.23/modules/audio_filter/channel_mixer/spatialaudio.cpp:43: included_from: Included from here. /usr/include/spatialaudio/AmbisonicProcessor.h:113:5: note: declared here # 113 | AmbisonicProcessor : public AmbisonicBase # | ^~~~~~~~~~~~~~~~~~ # 54| using CAmbisonicBinauralizer = spaudio::AmbisonicBinauralizer; # 55| using CAmbisonicDecoder = spaudio::AmbisonicDecoder; # 56|-> using CAmbisonicProcessor = spaudio::AmbisonicProcessor; # 57| using CAmbisonicZoomer = spaudio::AmbisonicZoomer; # 58| using CAmbisonicSpeaker = spaudio::AmbisonicSpeaker; Error: COMPILER_WARNING (CWE-477): [#def2] vlc-3.0.23/modules/audio_filter/channel_mixer/spatialaudio.cpp:56:60: warning[-Wdeprecated-declarations]: ‘AmbisonicProcessor’ is deprecated: This class is deprecated. Please use AmbisonicRotator class instead. # 56 | using CAmbisonicProcessor = spaudio::AmbisonicProcessor; # | ^ /usr/include/spatialaudio/AmbisonicProcessor.h:113:5: note: declared here # 113 | AmbisonicProcessor : public AmbisonicBase # | ^~~~~~~~~~~~~~~~~~ # 54| using CAmbisonicBinauralizer = spaudio::AmbisonicBinauralizer; # 55| using CAmbisonicDecoder = spaudio::AmbisonicDecoder; # 56|-> using CAmbisonicProcessor = spaudio::AmbisonicProcessor; # 57| using CAmbisonicZoomer = spaudio::AmbisonicZoomer; # 58| using CAmbisonicSpeaker = spaudio::AmbisonicSpeaker; Error: GCC_ANALYZER_WARNING (CWE-476): [#def3] vlc-3.0.23/modules/lua/libs/net.c:316:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘xmalloc((long unsigned int)i_fds * 8) + (long unsigned int)i * 8’ vlc-3.0.23/modules/lua/libs/net.c:297:12: enter_function: entry to ‘vlclua_net_poll’ vlc-3.0.23/modules/lua/libs/net.c:309:28: call_function: calling ‘xmalloc’ from ‘vlclua_net_poll’ vlc-3.0.23/modules/lua/libs/net.c:309:28: return_function: returning to ‘vlclua_net_poll’ from ‘xmalloc’ vlc-3.0.23/modules/lua/libs/net.c:310:19: call_function: calling ‘xmalloc’ from ‘vlclua_net_poll’ vlc-3.0.23/modules/lua/libs/net.c:310:19: return_function: returning to ‘vlclua_net_poll’ from ‘xmalloc’ vlc-3.0.23/modules/lua/libs/net.c:313:21: branch_true: following ‘true’ branch... vlc-3.0.23/modules/lua/libs/net.c:315:21: branch_true: ...to here vlc-3.0.23/modules/lua/libs/net.c:316:23: call_function: calling ‘vlclua_fd_get’ from ‘vlclua_net_poll’ vlc-3.0.23/modules/lua/libs/net.c:316:23: return_function: returning to ‘vlclua_net_poll’ from ‘vlclua_fd_get’ vlc-3.0.23/modules/lua/libs/net.c:316:9: danger: ‘xmalloc((long unsigned int)i_fds * 8) + (long unsigned int)i * 8’ could be NULL: unchecked value from [(4)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/3) # 314| { # 315| luafds[i] = luaL_checkint( L, -2 ); # 316|-> p_fds[i].fd = vlclua_fd_get( L, luafds[i] ); # 317| p_fds[i].events = luaL_checkinteger( L, -1 ); # 318| p_fds[i].events &= POLLIN | POLLOUT | POLLPRI; Error: GCC_ANALYZER_WARNING (CWE-476): [#def4] vlc-3.0.23/src/config/core.c:441:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘xmalloc(count * 8)’ vlc-3.0.23/src/config/core.c:397:9: enter_function: entry to ‘config_GetPszChoices’ vlc-3.0.23/src/config/core.c:402:28: call_function: calling ‘config_FindConfig’ from ‘config_GetPszChoices’ vlc-3.0.23/src/config/core.c:402:28: return_function: returning to ‘config_GetPszChoices’ from ‘config_FindConfig’ vlc-3.0.23/src/config/core.c:403:8: branch_false: following ‘false’ branch... vlc-3.0.23/src/config/core.c:409:13: branch_false: ...to here vlc-3.0.23/src/config/core.c:409:5: branch_false: following ‘false’ branch... vlc-3.0.23/src/config/core.c:413:9: branch_false: ...to here vlc-3.0.23/src/config/core.c:414:16: branch_false: following ‘false’ branch... vlc-3.0.23/src/config/core.c:422:20: branch_false: ...to here vlc-3.0.23/src/config/core.c:423:8: branch_false: following ‘false’ branch (when ‘count != 0’)... vlc-3.0.23/src/config/core.c:436:28: branch_false: ...to here vlc-3.0.23/src/config/core.c:436:19: call_function: calling ‘xmalloc’ from ‘config_GetPszChoices’ vlc-3.0.23/src/config/core.c:436:19: return_function: returning to ‘config_GetPszChoices’ from ‘xmalloc’ vlc-3.0.23/src/config/core.c:437:19: call_function: calling ‘xmalloc’ from ‘config_GetPszChoices’ vlc-3.0.23/src/config/core.c:437:19: return_function: returning to ‘config_GetPszChoices’ from ‘xmalloc’ vlc-3.0.23/src/config/core.c:439:24: branch_true: following ‘true’ branch (when ‘i < count’)... vlc-3.0.23/src/config/core.c:441:29: branch_true: ...to here vlc-3.0.23/src/config/core.c:441:19: branch_true: following ‘true’ branch... vlc-3.0.23/src/config/core.c:441:19: branch_true: ...to here vlc-3.0.23/src/config/core.c:441:19: call_function: calling ‘xstrdup’ from ‘config_GetPszChoices’ vlc-3.0.23/src/config/core.c:441:19: return_function: returning to ‘config_GetPszChoices’ from ‘xstrdup’ vlc-3.0.23/src/config/core.c:441:9: danger: ‘xmalloc(count * 8) + i * 8’ could be NULL: unchecked value from [(22)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/21) # 439| for (size_t i = 0; i < count; i++) # 440| { # 441|-> vals[i] = xstrdup ((cfg->list.psz[i] != NULL) ? cfg->list.psz[i] : ""); # 442| /* FIXME: use module_gettext() instead */ # 443| txts[i] = xstrdup ((cfg->list_text[i] != NULL) Error: GCC_ANALYZER_WARNING (CWE-476): [#def5] vlc-3.0.23/src/config/core.c:443:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘xmalloc(count * 8) + i * 8’ vlc-3.0.23/src/config/core.c:397:9: enter_function: entry to ‘config_GetPszChoices’ vlc-3.0.23/src/config/core.c:402:28: call_function: calling ‘config_FindConfig’ from ‘config_GetPszChoices’ vlc-3.0.23/src/config/core.c:402:28: return_function: returning to ‘config_GetPszChoices’ from ‘config_FindConfig’ vlc-3.0.23/src/config/core.c:403:8: branch_false: following ‘false’ branch... vlc-3.0.23/src/config/core.c:409:13: branch_false: ...to here vlc-3.0.23/src/config/core.c:409:5: branch_false: following ‘false’ branch... vlc-3.0.23/src/config/core.c:413:9: branch_false: ...to here vlc-3.0.23/src/config/core.c:414:16: branch_false: following ‘false’ branch... vlc-3.0.23/src/config/core.c:422:20: branch_false: ...to here vlc-3.0.23/src/config/core.c:423:8: branch_false: following ‘false’ branch (when ‘count != 0’)... vlc-3.0.23/src/config/core.c:436:28: branch_false: ...to here vlc-3.0.23/src/config/core.c:436:19: call_function: calling ‘xmalloc’ from ‘config_GetPszChoices’ vlc-3.0.23/src/config/core.c:436:19: return_function: returning to ‘config_GetPszChoices’ from ‘xmalloc’ vlc-3.0.23/src/config/core.c:437:19: call_function: calling ‘xmalloc’ from ‘config_GetPszChoices’ vlc-3.0.23/src/config/core.c:437:19: return_function: returning to ‘config_GetPszChoices’ from ‘xmalloc’ vlc-3.0.23/src/config/core.c:439:24: branch_true: following ‘true’ branch (when ‘i < count’)... vlc-3.0.23/src/config/core.c:441:29: branch_true: ...to here vlc-3.0.23/src/config/core.c:441:19: branch_true: following ‘true’ branch... vlc-3.0.23/src/config/core.c:441:19: branch_true: ...to here vlc-3.0.23/src/config/core.c:441:19: call_function: calling ‘xstrdup’ from ‘config_GetPszChoices’ vlc-3.0.23/src/config/core.c:441:19: return_function: returning to ‘config_GetPszChoices’ from ‘xstrdup’ vlc-3.0.23/src/config/core.c:443:19: branch_true: following ‘true’ branch... vlc-3.0.23/src/config/core.c:444:42: branch_true: ...to here vlc-3.0.23/src/config/core.c:443:19: call_function: calling ‘xstrdup’ from ‘config_GetPszChoices’ vlc-3.0.23/src/config/core.c:443:19: return_function: returning to ‘config_GetPszChoices’ from ‘xstrdup’ vlc-3.0.23/src/config/core.c:443:9: danger: ‘xmalloc(count * 8) + i * 8’ could be NULL: unchecked value from [(27)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/26) # 441| vals[i] = xstrdup ((cfg->list.psz[i] != NULL) ? cfg->list.psz[i] : ""); # 442| /* FIXME: use module_gettext() instead */ # 443|-> txts[i] = xstrdup ((cfg->list_text[i] != NULL) # 444| ? vlc_gettext (cfg->list_text[i]) : ""); # 445| }
| analyzer-version-clippy | 1.95.0 |
| analyzer-version-cppcheck | 2.20.0 |
| analyzer-version-gcc | 16.0.1 |
| analyzer-version-gcc-analyzer | 16.0.1 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| diffbase-analyzer-version-clippy | 1.95.0 |
| diffbase-analyzer-version-cppcheck | 2.20.0 |
| diffbase-analyzer-version-gcc | 16.0.1 |
| diffbase-analyzer-version-gcc-analyzer | 16.0.1 |
| diffbase-analyzer-version-shellcheck | 0.11.0 |
| diffbase-analyzer-version-unicontrol | 0.0.2 |
| diffbase-enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| diffbase-exit-code | 0 |
| diffbase-host | ip-172-16-1-124.us-west-2.compute.internal |
| diffbase-known-false-positives | /usr/share/csmock/known-false-positives.js |
| diffbase-known-false-positives-rpm | known-false-positives-0.0.0.20260420.180315.gd39a405.main-1.el9.noarch |
| diffbase-mock-config | fedora-rawhide-x86_64 |
| diffbase-project-name | vlc-3.0.23-8.fc44 |
| diffbase-store-results-to | /tmp/tmpdgwvbhi7/vlc-3.0.23-8.fc44.tar.xz |
| diffbase-time-created | 2026-04-28 20:10:04 |
| diffbase-time-finished | 2026-04-28 20:22:46 |
| diffbase-tool | csmock |
| diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,shellcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmpdgwvbhi7/vlc-3.0.23-8.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpdgwvbhi7/vlc-3.0.23-8.fc44.src.rpm' |
| diffbase-tool-version | csmock-3.8.5-1.el9 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-124.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.20260420.180315.gd39a405.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | vlc-3.0.23-11.fc45 |
| store-results-to | /tmp/tmpb8s667ej/vlc-3.0.23-11.fc45.tar.xz |
| time-created | 2026-04-28 20:23:24 |
| time-finished | 2026-04-28 20:35:32 |
| title | Newly introduced findings |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,shellcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmpb8s667ej/vlc-3.0.23-11.fc45.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpb8s667ej/vlc-3.0.23-11.fc45.src.rpm' |
| tool-version | csmock-3.8.5-1.el9 |