Task #52388 - fixed.err

back to task #52388
download
Error: GCC_ANALYZER_WARNING (CWE-476):
nss-3.109/nss/lib/libpkix/pkix/top/pkix_build.c:2636:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
nss-3.109/nss/lib/libpkix/pkix/top/pkix_build.c:3673:1: enter_function: entry to ‘PKIX_BuildChain’
nss-3.109/nss/lib/libpkix/pkix/top/pkix_build.c:3681:35: release_memory: ‘state’ is NULL
nss-3.109/nss/lib/libpkix/pkix/top/pkix_build.c:3686:9: branch_false: following ‘false’ branch...
nss-3.109/nss/lib/libpkix/pkix/top/pkix_build.c:3691:12: branch_true: following ‘true’ branch...
nss-3.109/nss/lib/libpkix/pkix/top/pkix_build.c:3692:17: branch_true: ...to here
nss-3.109/nss/lib/libpkix/pkix/top/pkix_build.c:3692:17: call_function: calling ‘pkix_Build_InitiateBuildChain’ from ‘PKIX_BuildChain’
# 2634|                           PKIX_DECREF(childTraversedSubjNames);
# 2635|                           PKIX_DECREF(certSelParams);
# 2636|->                         childState->verifyNode = verifyNode;
# 2637|                           verifyNode = NULL;
# 2638|                           PKIX_DECREF(state);

Error: GCC_ANALYZER_WARNING (CWE-476):
nss-3.109/nss/lib/libpkix/pkix/top/pkix_build.c:3022:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘state’
nss-3.109/nss/lib/libpkix/pkix/top/pkix_build.c:3673:1: enter_function: entry to ‘PKIX_BuildChain’
nss-3.109/nss/lib/libpkix/pkix/top/pkix_build.c:3681:35: release_memory: ‘state’ is NULL
nss-3.109/nss/lib/libpkix/pkix/top/pkix_build.c:3686:9: branch_false: following ‘false’ branch...
nss-3.109/nss/lib/libpkix/pkix/top/pkix_build.c:3691:12: branch_true: following ‘true’ branch...
nss-3.109/nss/lib/libpkix/pkix/top/pkix_build.c:3692:17: branch_true: ...to here
nss-3.109/nss/lib/libpkix/pkix/top/pkix_build.c:3692:17: call_function: calling ‘pkix_Build_InitiateBuildChain’ from ‘PKIX_BuildChain’
# 3020|                      PKIX_BUILDVALIDATIONCHECKERSFAILED);
# 3021|   
# 3022|->         PKIX_CHECK_ONLY_FATAL(
# 3023|               pkix_Build_ValidateEntireChain(state, matchingAnchor,
# 3024|                                              &nbioContext, &valResult,