Task #119262 - fixed.err

back to task #119262
download
Error: GCC_ANALYZER_WARNING (CWE-476):
nss-3.122.1/nss/lib/ssl/sslsock.c:2544:14: warning[-Wanalyzer-jump-through-null]: jump through null pointer
nss-3.122.1/nss/lib/ssl/sslsock.c:2469:1: enter_function: entry to ‘SSL_ReconfigFD’
nss-3.122.1/nss/lib/ssl/sslsock.c:2475:8: branch_false: following ‘false’ branch (when ‘model’ is non-NULL)...
nss-3.122.1/nss/lib/ssl/sslsock.c:2479:10: branch_false: ...to here
nss-3.122.1/nss/lib/ssl/sslsock.c:2479:10: call_function: calling ‘ssl_FindSocket’ from ‘SSL_ReconfigFD’
nss-3.122.1/nss/lib/ssl/sslsock.c:2479:10: return_function: returning to ‘SSL_ReconfigFD’ from ‘ssl_FindSocket’
nss-3.122.1/nss/lib/ssl/sslsock.c:2480:8: branch_false: following ‘false’ branch...
nss-3.122.1/nss/lib/ssl/sslsock.c:2485:10: branch_false: ...to here
nss-3.122.1/nss/lib/ssl/sslsock.c:2485:10: call_function: calling ‘ssl_FindSocket’ from ‘SSL_ReconfigFD’
nss-3.122.1/nss/lib/ssl/sslsock.c:2485:10: return_function: returning to ‘SSL_ReconfigFD’ from ‘ssl_FindSocket’
nss-3.122.1/nss/lib/ssl/sslsock.c:2487:8: branch_false: following ‘false’ branch...
nss-3.122.1/nss/lib/ssl/sslsock.c:2492:5: branch_false: ...to here
nss-3.122.1/nss/lib/ssl/sslsock.c:2506:8: branch_false: following ‘false’ branch...
nss-3.122.1/nss/lib/ssl/sslsock.c:2506:8: branch_false: ...to here
nss-3.122.1/nss/lib/ssl/sslsock.c:2541:10: branch_true: following ‘true’ branch...
nss-3.122.1/nss/lib/ssl/sslsock.c:2544:14: branch_true: ...to here
nss-3.122.1/nss/lib/ssl/sslsock.c:2544:14: call_function: calling ‘SSL_GetExperimentalAPI’ from ‘SSL_ReconfigFD’
nss-3.122.1/nss/lib/ssl/sslsock.c:2544:14: return_function: returning to ‘SSL_ReconfigFD’ from ‘SSL_GetExperimentalAPI’
nss-3.122.1/nss/lib/ssl/sslsock.c:2544:14: branch_true: following ‘true’ branch...
nss-3.122.1/nss/lib/ssl/sslsock.c:2544:14: branch_true: ...to here
nss-3.122.1/nss/lib/ssl/sslsock.c:2544:14: call_function: calling ‘SSL_GetExperimentalAPI’ from ‘SSL_ReconfigFD’
nss-3.122.1/nss/lib/ssl/sslsock.c:2544:14: return_function: returning to ‘SSL_ReconfigFD’ from ‘SSL_GetExperimentalAPI’
nss-3.122.1/nss/lib/ssl/sslsock.c:2544:14: danger: jump through null pointer here
# 2542|            cursor = PR_NEXT_LINK(cursor)) {
# 2543|           sslCustomExtensionHooks *hook = (sslCustomExtensionHooks *)cursor;
# 2544|->         rv = SSL_InstallExtensionHooks(ss->fd, hook->type,
# 2545|                                          hook->writer, hook->writerArg,
# 2546|                                          hook->handler, hook->handlerArg);