Task #1303 - added.err
back to task #1303download
Error: GCC_ANALYZER_WARNING (CWE-476): vlc-3.0.21-build/vlc-3.0.21/modules/lua/libs/net.c:316:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘xmalloc((long unsigned int)i_fds * 8)’ # 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): vlc-3.0.21-build/vlc-3.0.21/modules/lua/libs/net.c:337:35: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘xmalloc((long unsigned int)i_fds * 4)’ # 335| for( int i = 0; i < i_fds; i++ ) # 336| { # 337|-> lua_pushinteger( L, luafds[i] ); # 338| lua_pushinteger( L, (val >= 0) ? p_fds[i].revents : 0 ); # 339| lua_settable( L, 1 ); Error: COMPILER_WARNING (CWE-563): vlc-3.0.21-build/vlc-3.0.21/modules/video_output/opengl/converter_vaapi.c: scope_hint: In function ‘vaegl_release_last_pic’ vlc-3.0.21-build/vlc-3.0.21/modules/video_output/opengl/converter_vaapi.c:113:19: warning[-Wunused-variable]: unused variable ‘o’ # 113 | vlc_object_t *o = VLC_OBJECT(tc->gl); # | ^ # 111| vaegl_release_last_pic(const opengl_tex_converter_t *tc, struct priv *priv) # 112| { # 113|-> vlc_object_t *o = VLC_OBJECT(tc->gl); # 114| # 115| for (unsigned i = 0; i < priv->last.num_planes; ++i) Error: CLANG_WARNING: vlc-3.0.21-build/vlc-3.0.21/modules/video_output/opengl/converter_vaapi.c:113:19: warning[deadcode.DeadStores]: Value stored to 'o' during its initialization is never read # 111| vaegl_release_last_pic(const opengl_tex_converter_t *tc, struct priv *priv) # 112| { # 113|-> vlc_object_t *o = VLC_OBJECT(tc->gl); # 114| # 115| for (unsigned i = 0; i < priv->last.num_planes; ++i) Error: GCC_ANALYZER_WARNING (CWE-476): vlc-3.0.21-build/vlc-3.0.21/src/config/core.c:443:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘xmalloc(count * 8)’ vlc-3.0.21-build/vlc-3.0.21/src/config/core.c: scope_hint: In function ‘config_GetPszChoices’ # 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| }