nss-3.105.0-1.fc42

List of Findings

Error: SHELLCHECK_WARNING (CWE-156): [#def1]
/usr/bin/nspr-config:145:21: warning[SC2046]: Quote this to prevent word splitting.
#  143|           fi
#  144|         done
#  145|->       echo $libdirs `pkg-config --variable=os_libs nspr`
#  146|   fi      
#  147|   

Error: SHELLCHECK_WARNING: [#def2]
/usr/bin/setup-nsssysinit.sh:62:10: warning[SC3037]: In POSIX sh, echo flags are undefined.
#   60|       ;;
#   61|     status )
#   62|->     echo -n 'NSS sysinit is '
#   63|       sysinit_enabled && echo 'enabled' || echo 'disabled'
#   64|       ;;

Error: COMPILER_WARNING (CWE-563): [#def3]
nss-3.105.0-build/nss-3.105/nspr/lib/ds/plvrsion.c: scope_hint: In function ‘libVersionPoint’
nss-3.105.0-build/nss-3.105/nspr/lib/ds/plvrsion.c:88:17: warning[-Wunused-but-set-variable]: variable ‘dummy’ set but not used
#   88 |     const char *dummy;
#      |                 ^~~~~
#   86|        * from being optimized away as unused variables.
#   87|        */
#   88|->     const char *dummy;
#   89|   
#   90|       dummy = rcsid;

Error: COMPILER_WARNING (CWE-563): [#def4]
nss-3.105.0-build/nss-3.105/nspr/lib/libc/src/plvrsion.c: scope_hint: In function ‘libVersionPoint’
nss-3.105.0-build/nss-3.105/nspr/lib/libc/src/plvrsion.c:88:17: warning[-Wunused-but-set-variable]: variable ‘dummy’ set but not used
#   88 |     const char *dummy;
#      |                 ^~~~~
#   86|        * from being optimized away as unused variables.
#   87|        */
#   88|->     const char *dummy;
#   89|   
#   90|       dummy = rcsid;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def5]
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptthread.c:15: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptthread.c: scope_hint: In function ‘PR_BlockInterrupt’
nss-3.105.0-build/nss-3.105/nspr/pr/include/private/primpl.h:151:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptthread.c:790:5: note: in expansion of macro ‘_PT_THREAD_BLOCK_INTERRUPT’
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptthread.c:790:5: note: in expansion of macro ‘_PT_THREAD_BLOCK_INTERRUPT’
#  149|           (!(thr->interrupt_blocked) && (thr->state & PT_THREAD_ABORTED))
#  150|   #define _PT_THREAD_BLOCK_INTERRUPT(thr)             \
#  151|->         (thr->interrupt_blocked = 1)
#  152|   #define _PT_THREAD_UNBLOCK_INTERRUPT(thr)           \
#  153|           (thr->interrupt_blocked = 0)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def6]
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptthread.c: scope_hint: In function ‘PR_UnblockInterrupt’
nss-3.105.0-build/nss-3.105/nspr/pr/include/private/primpl.h:153:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptthread.c:796:5: note: in expansion of macro ‘_PT_THREAD_UNBLOCK_INTERRUPT’
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptthread.c:796:5: note: in expansion of macro ‘_PT_THREAD_UNBLOCK_INTERRUPT’
#  151|           (thr->interrupt_blocked = 1)
#  152|   #define _PT_THREAD_UNBLOCK_INTERRUPT(thr)           \
#  153|->         (thr->interrupt_blocked = 0)
#  154|   
#  155|   #define _PT_IS_GCABLE_THREAD(thr) ((thr)->state & PT_THREAD_GCABLE)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def7]
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptthread.c:14: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptthread.c: scope_hint: In function ‘suspend_signal_handler’
nss-3.105.0-build/nss-3.105/nspr/pr/include/prlog.h:179:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘me’
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptthread.c:1391:5: note: in expansion of macro ‘PR_LOG’
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptthread.c:1391:5: note: in expansion of macro ‘PR_LOG’
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptthread.c:1391:5: note: in expansion of macro ‘PR_LOG’
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptthread.c:1391:5: note: in expansion of macro ‘PR_LOG’
#  177|       PR_BEGIN_MACRO             \
#  178|         if (PR_LOG_TEST(_module,_level)) { \
#  179|->       PR_LogPrint _args;         \
#  180|         }                     \
#  181|       PR_END_MACRO

Error: COMPILER_WARNING (CWE-563): [#def8]
nss-3.105.0-build/nss-3.105/nspr/pr/src/io/pripv6.c: scope_hint: In function ‘Ipv6ToIpv4SocketAccept’
nss-3.105.0-build/nss-3.105/nspr/pr/src/io/pripv6.c:135:14: warning[-Wunused-but-set-variable]: variable ‘rv’ set but not used
#  135 |     PRStatus rv;
#      |              ^~
#  133|       PRFileDesc *fd, PRNetAddr *addr, PRIntervalTime timeout)
#  134|   {
#  135|->     PRStatus rv;
#  136|       PRFileDesc *newfd;
#  137|       PRFileDesc *newstack;

Error: COMPILER_WARNING (CWE-563): [#def9]
nss-3.105.0-build/nss-3.105/nspr/pr/src/io/pripv6.c: scope_hint: In function ‘Ipv6ToIpv4SocketAcceptRead’
nss-3.105.0-build/nss-3.105/nspr/pr/src/io/pripv6.c:175:14: warning[-Wunused-but-set-variable]: variable ‘rv’ set but not used
#  175 |     PRStatus rv;
#      |              ^~
#  173|   {
#  174|       PRInt32 nbytes;
#  175|->     PRStatus rv;
#  176|       PRNetAddr tmp_ipv4addr;
#  177|       PRFileDesc *newstack;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def10]
nss-3.105.0-build/nss-3.105/nspr/pr/src/io/prlayer.c: scope_hint: In function ‘pl_TopClose’
nss-3.105.0-build/nss-3.105/nspr/pr/src/io/prlayer.c:64:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#   62|            */
#   63|           top = PR_PopIOLayer(fd->higher, PR_TOP_IO_LAYER);
#   64|->         top->dtor(top);
#   65|           /*
#   66|            * then call lower layer

Error: COMPILER_WARNING (CWE-563): [#def11]
nss-3.105.0-build/nss-3.105/nspr/pr/src/io/prlayer.c: scope_hint: In function ‘pl_TopAccept’
nss-3.105.0-build/nss-3.105/nspr/pr/src/io/prlayer.c:182:14: warning[-Wunused-but-set-variable]: variable ‘rv’ set but not used
#  182 |     PRStatus rv;
#      |              ^~
#  180|       PRFileDesc *fd, PRNetAddr *addr, PRIntervalTime timeout)
#  181|   {
#  182|->     PRStatus rv;
#  183|       PRFileDesc *newfd, *layer = fd;
#  184|       PRFileDesc *newstack;

Error: COMPILER_WARNING (CWE-563): [#def12]
nss-3.105.0-build/nss-3.105/nspr/pr/src/io/prlayer.c: scope_hint: In function ‘pl_DefAcceptread’
nss-3.105.0-build/nss-3.105/nspr/pr/src/io/prlayer.c:303:14: warning[-Wunused-but-set-variable]: variable ‘rv’ set but not used
#  303 |     PRStatus rv;
#      |              ^~
#  301|   {
#  302|       PRInt32 nbytes;
#  303|->     PRStatus rv;
#  304|       PRFileDesc *newstack;
#  305|       PRFileDesc *layer = sd;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def13]
nss-3.105.0-build/nss-3.105/nspr/pr/src/io/prscanf.c: scope_hint: In function ‘Convert’
nss-3.105.0-build/nss-3.105/nspr/pr/src/io/prscanf.c:410:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cArg’
nss-3.105.0-build/nss-3.105/nspr/pr/src/io/prscanf.c:405:22: note: in expansion of macro ‘GET’
#  408|                   }
#  409|                   if (state->assign) {
#  410|->                     *cArg++ = ch;
#  411|                   }
#  412|               }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def14]
nss-3.105.0-build/nss-3.105/nspr/pr/src/io/prscanf.c:465:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cArg’
nss-3.105.0-build/nss-3.105/nspr/pr/src/io/prscanf.c:459:22: note: in expansion of macro ‘GET’
#  463|                   }
#  464|                   if (state->assign) {
#  465|->                     *cArg++ = ch;
#  466|                   }
#  467|               }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def15]
nss-3.105.0-build/nss-3.105/nspr/pr/src/io/prscanf.c:469:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cArg’
nss-3.105.0-build/nss-3.105/nspr/pr/src/io/prscanf.c:459:22: note: in expansion of macro ‘GET’
#  467|               }
#  468|               if (state->assign) {
#  469|->                 *cArg = '\0';
#  470|                   state->converted = PR_TRUE;
#  471|               }

Error: COMPILER_WARNING (CWE-563): [#def16]
nss-3.105.0-build/nss-3.105/nspr/pr/src/md/unix/unix.c: scope_hint: In function ‘_PR_UnixInit’
nss-3.105.0-build/nss-3.105/nspr/pr/src/md/unix/unix.c:2780:9: warning[-Wunused-but-set-variable]: variable ‘rv’ set but not used
# 2780 |     int rv;
#      |         ^~
# 2778|   {
# 2779|       struct sigaction sigact;
# 2780|->     int rv;
# 2781|   
# 2782|       sigemptyset(&timer_set);

Error: COMPILER_WARNING (CWE-252): [#def17]
nss-3.105.0-build/nss-3.105/nspr/pr/src/md/unix/uxproces.c: scope_hint: In function ‘_MD_unix_terminate_waitpid_daemon’
nss-3.105.0-build/nss-3.105/nspr/pr/src/md/unix/uxproces.c:121:9: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
#  121 |         write(pr_wp.pipefd[1], "", 1);
#      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  119|       if (pr_wp.thread) {
#  120|           pr_waitpid_daemon_exit = 1;
#  121|->         write(pr_wp.pipefd[1], "", 1);
#  122|           PR_JoinThread(pr_wp.thread);
#  123|       }

Error: GCC_ANALYZER_WARNING (CWE-775): [#def18]
nss-3.105.0-build/nss-3.105/nspr/pr/src/md/unix/uxproces.c: scope_hint: In function ‘ForkAndExec’
nss-3.105.0-build/nss-3.105/nspr/pr/src/md/unix/uxproces.c:267:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(*_29->secret.md.osfd, 0)’
#  265|                   && attr->stdinFd->secret->md.osfd != 0) {
#  266|                   in_osfd = attr->stdinFd->secret->md.osfd;
#  267|->                 if (dup2(in_osfd, 0) != 0) {
#  268|                       _exit(1);  /* failed */
#  269|                   }

Error: GCC_ANALYZER_WARNING (CWE-775): [#def19]
nss-3.105.0-build/nss-3.105/nspr/pr/src/md/unix/uxproces.c:278:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(*_37->secret.md.osfd, 1)’
#  276|                   && attr->stdoutFd->secret->md.osfd != 1) {
#  277|                   out_osfd = attr->stdoutFd->secret->md.osfd;
#  278|->                 if (dup2(out_osfd, 1) != 1) {
#  279|                       _exit(1);  /* failed */
#  280|                   }

Error: GCC_ANALYZER_WARNING (CWE-775): [#def20]
nss-3.105.0-build/nss-3.105/nspr/pr/src/md/unix/uxproces.c:289:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(*_43->secret.md.osfd, 2)’
#  287|                   && attr->stderrFd->secret->md.osfd != 2) {
#  288|                   err_osfd = attr->stderrFd->secret->md.osfd;
#  289|->                 if (dup2(err_osfd, 2) != 2) {
#  290|                       _exit(1);  /* failed */
#  291|                   }

Error: COMPILER_WARNING (CWE-563): [#def21]
nss-3.105.0-build/nss-3.105/nspr/pr/src/md/unix/uxproces.c: scope_hint: In function ‘pr_InstallSigchldHandler’
nss-3.105.0-build/nss-3.105/nspr/pr/src/md/unix/uxproces.c:691:9: warning[-Wunused-but-set-variable]: variable ‘rv’ set but not used
#  691 |     int rv;
#      |         ^~
#  689|   {
#  690|       struct sigaction act, oact;
#  691|->     int rv;
#  692|   
#  693|       act.sa_handler = pr_SigchldHandler;

Error: COMPILER_WARNING (CWE-563): [#def22]
nss-3.105.0-build/nss-3.105/nspr/pr/src/md/unix/uxproces.c: scope_hint: In function ‘_MD_InitProcesses’
nss-3.105.0-build/nss-3.105/nspr/pr/src/md/unix/uxproces.c:709:9: warning[-Wunused-but-set-variable]: variable ‘rv’ set but not used
#  709 |     int rv;
#      |         ^~
#  707|   {
#  708|   #if !defined(_PR_NATIVE_THREADS)
#  709|->     int rv;
#  710|       int flags;
#  711|   #endif

Error: GCC_ANALYZER_WARNING (CWE-476): [#def23]
nss-3.105.0-build/nss-3.105/nspr/pr/src/misc/prdtoa.c: scope_hint: In function ‘Balloc’
nss-3.105.0-build/nss-3.105/nspr/pr/src/misc/prdtoa.c:572:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘rv’
nss-3.105.0-build/nss-3.105/nspr/pr/src/misc/prdtoa.c:2944:10: note: in expansion of macro ‘dval’
nss-3.105.0-build/nss-3.105/nspr/pr/src/misc/prdtoa.c:569:27: note: in expansion of macro ‘MALLOC’
nss-3.105.0-build/nss-3.105/nspr/pr/src/misc/prdtoa.c:569:27: note: in expansion of macro ‘MALLOC’
#  570|           }
#  571|   #endif
#  572|->         rv->k = k;
#  573|           rv->maxwds = x;
#  574|       }

Error: CPPCHECK_WARNING (CWE-476): [#def24]
nss-3.105.0-build/nss-3.105/nspr/pr/src/misc/prtime.c:1849: warning[nullPointer]: Possible null pointer dereference: ap
# 1847|       }
# 1848|   
# 1849|->     rv = strftime(buf, buflen, fmt, ap);
# 1850|       if (!rv && buf && buflen > 0) {
# 1851|           /*

Error: GCC_ANALYZER_WARNING (CWE-476): [#def25]
nss-3.105.0-build/nss-3.105/nspr/pr/src/misc/prtpool.c: scope_hint: In function ‘io_wstart’
nss-3.105.0-build/nss-3.105/nspr/pr/src/misc/prtpool.c:329:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pollfds’
#  327|            * add the notify fd; used for unblocking io thread(s)
#  328|            */
#  329|->         pollfds[pollfds_used].fd = tp->ioq.notify_fd;
#  330|           pollfds[pollfds_used].in_flags = PR_POLL_READ;
#  331|           pollfds[pollfds_used].out_flags = 0;

Error: COMPILER_WARNING (CWE-563): [#def26]
nss-3.105.0-build/nss-3.105/nspr/pr/src/misc/prtpool.c: scope_hint: In function ‘io_wstart’
nss-3.105.0-build/nss-3.105/nspr/pr/src/misc/prtpool.c:391:22: warning[-Wunused-but-set-variable]: variable ‘rval_status’ set but not used
#  391 |             PRStatus rval_status;
#      |                      ^~~~~~~~~~~
#  389|                * at least one io event is set
#  390|                */
#  391|->             PRStatus rval_status;
#  392|               PRInt32 index;
#  393|   

Error: COMPILER_WARNING (CWE-563): [#def27]
nss-3.105.0-build/nss-3.105/nspr/pr/src/misc/prtpool.c: scope_hint: In function ‘notify_ioq’
nss-3.105.0-build/nss-3.105/nspr/pr/src/misc/prtpool.c:997:14: warning[-Wunused-but-set-variable]: variable ‘rval_status’ set but not used
#  997 |     PRStatus rval_status;
#      |              ^~~~~~~~~~~
#  995|   notify_ioq(PRThreadPool *tp)
#  996|   {
#  997|->     PRStatus rval_status;
#  998|   
#  999|       /*

Error: COMPILER_WARNING (CWE-563): [#def28]
nss-3.105.0-build/nss-3.105/nspr/pr/src/misc/prtpool.c: scope_hint: In function ‘PR_JoinThreadPool’
nss-3.105.0-build/nss-3.105/nspr/pr/src/misc/prtpool.c:1123:14: warning[-Wunused-but-set-variable]: variable ‘rval_status’ set but not used
# 1123 |     PRStatus rval_status;
#      |              ^~~~~~~~~~~
# 1121|       PRStatus rval = PR_SUCCESS;
# 1122|       PRCList *head;
# 1123|->     PRStatus rval_status;
# 1124|   
# 1125|       PR_Lock(tpool->jobq.lock);

Error: COMPILER_WARNING (CWE-563): [#def29]
nss-3.105.0-build/nss-3.105/nspr/pr/src/prvrsion.c: scope_hint: In function ‘libVersionPoint’
nss-3.105.0-build/nss-3.105/nspr/pr/src/prvrsion.c:88:17: warning[-Wunused-but-set-variable]: variable ‘dummy’ set but not used
#   88 |     const char *dummy;
#      |                 ^~~~~
#   86|        * from being optimized away as unused variables.
#   87|        */
#   88|->     const char *dummy;
#   89|   
#   90|       dummy = rcsid;

Error: COMPILER_WARNING (CWE-563): [#def30]
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptio.c: scope_hint: In function ‘pt_linux_sendfile_cont’
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptio.c:1162:11: warning[-Wunused-but-set-variable]: variable ‘oldoffset’ set but not used
# 1162 |     off_t oldoffset;
#      |           ^~~~~~~~~
# 1160|   {
# 1161|       ssize_t rv;
# 1162|->     off_t oldoffset;
# 1163|   
# 1164|       oldoffset = op->offset;

Error: COMPILER_WARNING (CWE-563): [#def31]
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptsynch.c: scope_hint: In function ‘_PR_InitLocks’
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptsynch.c:49:9: warning[-Wunused-but-set-variable]: variable ‘rv’ set but not used
#   49 |     int rv;
#      |         ^~
#   47|   void _PR_InitLocks(void)
#   48|   {
#   49|->     int rv;
#   50|       rv = _PT_PTHREAD_MUTEXATTR_INIT(&_pt_mattr);
#   51|       PR_ASSERT(0 == rv);

Error: COMPILER_WARNING (CWE-563): [#def32]
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptsynch.c: scope_hint: In function ‘pt_PostNotifies’
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptsynch.c:65:19: warning[-Wunused-but-set-variable]: variable ‘rv’ set but not used
#   65 |     PRIntn index, rv;
#      |                   ^~
#   63|   static void pt_PostNotifies(PRLock *lock, PRBool unlock)
#   64|   {
#   65|->     PRIntn index, rv;
#   66|       _PT_Notified post;
#   67|       _PT_Notified *notified, *prev = NULL;

Error: COMPILER_WARNING (CWE-563): [#def33]
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptsynch.c: scope_hint: In function ‘PR_NewLock’
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptsynch.c:134:12: warning[-Wunused-but-set-variable]: variable ‘rv’ set but not used
#  134 |     PRIntn rv;
#      |            ^~
#  132|   PR_IMPLEMENT(PRLock*) PR_NewLock(void)
#  133|   {
#  134|->     PRIntn rv;
#  135|       PRLock *lock;
#  136|   

Error: COMPILER_WARNING (CWE-563): [#def34]
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptsynch.c: scope_hint: In function ‘PR_DestroyLock’
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptsynch.c:155:12: warning[-Wunused-but-set-variable]: variable ‘rv’ set but not used
#  155 |     PRIntn rv;
#      |            ^~
#  153|   PR_IMPLEMENT(void) PR_DestroyLock(PRLock *lock)
#  154|   {
#  155|->     PRIntn rv;
#  156|       PR_ASSERT(NULL != lock);
#  157|       PR_ASSERT(PR_FALSE == lock->locked);

Error: COMPILER_WARNING (CWE-563): [#def35]
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptsynch.c: scope_hint: In function ‘PR_Lock’
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptsynch.c:174:12: warning[-Wunused-but-set-variable]: variable ‘rv’ set but not used
#  174 |     PRIntn rv;
#      |            ^~
#  172|        * |tid| field of the current thread's PRThread structure because
#  173|        * _pt_root calls PR_Lock before setting thred->id and thred->tid. */
#  174|->     PRIntn rv;
#  175|       PR_ASSERT(lock != NULL);
#  176|       rv = pthread_mutex_lock(&lock->mutex);

Error: COMPILER_WARNING (CWE-563): [#def36]
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptsynch.c: scope_hint: In function ‘PR_Unlock’
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptsynch.c:195:12: warning[-Wunused-but-set-variable]: variable ‘rv’ set but not used
#  195 |     PRIntn rv;
#      |            ^~
#  193|   {
#  194|       pthread_t self = pthread_self();
#  195|->     PRIntn rv;
#  196|   
#  197|       PR_ASSERT(lock != NULL);

Error: COMPILER_WARNING (CWE-563): [#def37]
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptsynch.c: scope_hint: In function ‘pt_PostNotifiesFromMonitor’
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptsynch.c:473:12: warning[-Wunused-but-set-variable]: variable ‘rv’ set but not used
#  473 |     PRIntn rv;
#      |            ^~
#  471|   static void pt_PostNotifiesFromMonitor(pthread_cond_t *cv, PRIntn times)
#  472|   {
#  473|->     PRIntn rv;
#  474|   
#  475|       /*

Error: COMPILER_WARNING (CWE-563): [#def38]
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptsynch.c: scope_hint: In function ‘PR_DestroyMonitor’
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptsynch.c:559:9: warning[-Wunused-but-set-variable]: variable ‘rv’ set but not used
#  559 |     int rv;
#      |         ^~
#  557|   PR_IMPLEMENT(void) PR_DestroyMonitor(PRMonitor *mon)
#  558|   {
#  559|->     int rv;
#  560|   
#  561|       PR_ASSERT(mon != NULL);

Error: COMPILER_WARNING (CWE-563): [#def39]
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptsynch.c: scope_hint: In function ‘PR_GetMonitorEntryCount’
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptsynch.c:580:12: warning[-Wunused-but-set-variable]: variable ‘rv’ set but not used
#  580 |     PRIntn rv;
#      |            ^~
#  578|   {
#  579|       pthread_t self = pthread_self();
#  580|->     PRIntn rv;
#  581|       PRIntn count = 0;
#  582|   

Error: COMPILER_WARNING (CWE-563): [#def40]
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptsynch.c: scope_hint: In function ‘PR_EnterMonitor’
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptsynch.c:610:12: warning[-Wunused-but-set-variable]: variable ‘rv’ set but not used
#  610 |     PRIntn rv;
#      |            ^~
#  608|   {
#  609|       pthread_t self = pthread_self();
#  610|->     PRIntn rv;
#  611|   
#  612|       PR_ASSERT(mon != NULL);

Error: COMPILER_WARNING (CWE-563): [#def41]
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptsynch.c: scope_hint: In function ‘PR_ExitMonitor’
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptsynch.c:640:12: warning[-Wunused-but-set-variable]: variable ‘rv’ set but not used
#  640 |     PRIntn rv;
#      |            ^~
#  638|   {
#  639|       pthread_t self = pthread_self();
#  640|->     PRIntn rv;
#  641|       PRBool notifyEntryWaiter = PR_FALSE;
#  642|       PRIntn notifyTimes = 0;

Error: COMPILER_WARNING (CWE-563): [#def42]
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptsynch.c: scope_hint: In function ‘PRP_DestroyNakedCondVar’
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptsynch.c:1246:9: warning[-Wunused-but-set-variable]: variable ‘rv’ set but not used
# 1246 |     int rv;
#      |         ^~
# 1244|   PR_IMPLEMENT(void) PRP_DestroyNakedCondVar(PRCondVar *cvar)
# 1245|   {
# 1246|->     int rv;
# 1247|       rv = pthread_cond_destroy(&cvar->cv); PR_ASSERT(0 == rv);
# 1248|   #if defined(DEBUG)

Error: COMPILER_WARNING (CWE-563): [#def43]
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptsynch.c: scope_hint: In function ‘PRP_NakedNotify’
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptsynch.c:1277:9: warning[-Wunused-but-set-variable]: variable ‘rv’ set but not used
# 1277 |     int rv;
#      |         ^~
# 1275|   PR_IMPLEMENT(PRStatus) PRP_NakedNotify(PRCondVar *cvar)
# 1276|   {
# 1277|->     int rv;
# 1278|       PR_ASSERT(cvar != NULL);
# 1279|       rv = pthread_cond_signal(&cvar->cv);

Error: COMPILER_WARNING (CWE-563): [#def44]
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptsynch.c: scope_hint: In function ‘PRP_NakedBroadcast’
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptsynch.c:1286:9: warning[-Wunused-but-set-variable]: variable ‘rv’ set but not used
# 1286 |     int rv;
#      |         ^~
# 1284|   PR_IMPLEMENT(PRStatus) PRP_NakedBroadcast(PRCondVar *cvar)
# 1285|   {
# 1286|->     int rv;
# 1287|       PR_ASSERT(cvar != NULL);
# 1288|       rv = pthread_cond_broadcast(&cvar->cv);

Error: COMPILER_WARNING (CWE-563): [#def45]
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptthread.c: scope_hint: In function ‘pt_AttachThread’
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptthread.c:277:13: warning[-Wunused-but-set-variable]: variable ‘rv’ set but not used
#  277 |         int rv;
#      |             ^~
#  275|       if (NULL != thred)
#  276|       {
#  277|->         int rv;
#  278|   
#  279|           thred->priority = PR_PRIORITY_NORMAL;

Error: COMPILER_WARNING (CWE-563): [#def46]
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptthread.c: scope_hint: In function ‘PR_DetachThread’
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptthread.c:621:9: warning[-Wunused-but-set-variable]: variable ‘rv’ set but not used
#  621 |     int rv;
#      |         ^~
#  619|   {
#  620|       void *thred;
#  621|->     int rv;
#  622|   
#  623|       _PT_PTHREAD_GETSPECIFIC(pt_book.key, thred);

Error: COMPILER_WARNING (CWE-563): [#def47]
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptthread.c: scope_hint: In function ‘PR_Interrupt’
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptthread.c:770:16: warning[-Wunused-but-set-variable]: variable ‘rv’ set but not used
#  770 |         PRIntn rv;
#      |                ^~
#  768|       if ((NULL != cv) && !thred->interrupt_blocked)
#  769|       {
#  770|->         PRIntn rv;
#  771|           (void)PR_ATOMIC_INCREMENT(&cv->notify_pending);
#  772|           rv = pthread_cond_broadcast(&cv->cv);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def48]
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptthread.c: scope_hint: In function ‘PR_ClearInterrupt’
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptthread.c:784:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  782|   {
#  783|       PRThread *me = PR_GetCurrentThread();
#  784|->     me->state &= ~PT_THREAD_ABORTED;
#  785|   }  /* PR_ClearInterrupt */
#  786|   

Error: COMPILER_WARNING (CWE-563): [#def49]
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptthread.c: scope_hint: In function ‘_pt_thread_death’
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptthread.c:846:9: warning[-Wunused-but-set-variable]: variable ‘rv’ set but not used
#  846 |     int rv;
#      |         ^~
#  844|   {
#  845|       void *thred;
#  846|->     int rv;
#  847|   
#  848|       _PT_PTHREAD_GETSPECIFIC(pt_book.key, thred);

Error: COMPILER_WARNING (CWE-563): [#def50]
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptthread.c: scope_hint: In function ‘_PR_Fini’
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptthread.c:1089:9: warning[-Wunused-but-set-variable]: variable ‘rv’ set but not used
# 1089 |     int rv;
#      |         ^~
# 1087|   {
# 1088|       void *thred;
# 1089|->     int rv;
# 1090|   
# 1091|       if (!_pr_initialized) {

Error: COMPILER_WARNING (CWE-563): [#def51]
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptthread.c: scope_hint: In function ‘PR_Cleanup’
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptthread.c:1124:9: warning[-Wunused-but-set-variable]: variable ‘rv’ set but not used
# 1124 |     int rv;
#      |         ^~
# 1122|   {
# 1123|       PRThread *me = PR_GetCurrentThread();
# 1124|->     int rv;
# 1125|       PR_LOG(_pr_thread_lm, PR_LOG_MIN, ("PR_Cleanup: shutting down NSPR"));
# 1126|       PR_ASSERT(me->state & PT_THREAD_PRIMORD);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def52]
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptthread.c: scope_hint: In function ‘PR_Cleanup’
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptthread.c:1127:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 1125|       PR_LOG(_pr_thread_lm, PR_LOG_MIN, ("PR_Cleanup: shutting down NSPR"));
# 1126|       PR_ASSERT(me->state & PT_THREAD_PRIMORD);
# 1127|->     if (me->state & PT_THREAD_PRIMORD)
# 1128|       {
# 1129|           PR_Lock(pt_book.ml);

Error: COMPILER_WARNING (CWE-563): [#def53]
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptthread.c: scope_hint: In function ‘init_pthread_gc_support’
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptthread.c:1242:12: warning[-Wunused-but-set-variable]: variable ‘rv’ set but not used
# 1242 |     PRIntn rv;
#      |            ^~
# 1240|   static void init_pthread_gc_support(void)
# 1241|   {
# 1242|->     PRIntn rv;
# 1243|   
# 1244|       {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def54]
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptthread.c: scope_hint: In function ‘PR_SetThreadGCAble’
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptthread.c:1276:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 1274|   {
# 1275|       PR_Lock(pt_book.ml);
# 1276|->     PR_GetCurrentThread()->state |= PT_THREAD_GCABLE;
# 1277|       PR_Unlock(pt_book.ml);
# 1278|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def55]
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptthread.c: scope_hint: In function ‘PR_ClearThreadGCAble’
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptthread.c:1283:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 1281|   {
# 1282|       PR_Lock(pt_book.ml);
# 1283|->     PR_GetCurrentThread()->state &= (~PT_THREAD_GCABLE);
# 1284|       PR_Unlock(pt_book.ml);
# 1285|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def56]
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptthread.c:1398:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptthread.c:1391:5: note: in expansion of macro ‘PR_LOG’
# 1396|        * save stack pointer
# 1397|        */
# 1398|->     me->sp = &me;
# 1399|   
# 1400|       /*

Error: COMPILER_WARNING (CWE-563): [#def57]
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptthread.c: scope_hint: In function ‘pt_SuspendSet’
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptthread.c:1446:12: warning[-Wunused-but-set-variable]: variable ‘rv’ set but not used
# 1446 |     PRIntn rv;
#      |            ^~
# 1444|   static void pt_SuspendSet(PRThread *thred)
# 1445|   {
# 1446|->     PRIntn rv;
# 1447|   
# 1448|       PR_LOG(_pr_gc_lm, PR_LOG_ALWAYS,

Error: COMPILER_WARNING (CWE-563): [#def58]
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptthread.c: scope_hint: In function ‘PR_SuspendAll’
nss-3.105.0-build/nss-3.105/nspr/pr/src/pthreads/ptthread.c:1557:9: warning[-Wunused-but-set-variable]: variable ‘rv’ set but not used
# 1557 |     int rv;
#      |         ^~
# 1555|       PRThread* thred = pt_book.first;
# 1556|       PRThread *me = PR_GetCurrentThread();
# 1557|->     int rv;
# 1558|   
# 1559|       rv = pthread_once(&pt_gc_support_control, init_pthread_gc_support);

Error: CPPCHECK_WARNING (CWE-457): [#def59]
nss-3.105.0-build/nss-3.105/nspr/pr/src/threads/prcmon.c:226: error[uninitvar]: Uninitialized variable: *pp
#  224|       hash = HASH(address);
#  225|       pp = hash_buckets + hash;
#  226|->     while ((p = *pp) != 0) {
#  227|           if (p->address == address) {
#  228|               if (p->cacheEntryCount > 0) {

Error: CPPCHECK_WARNING (CWE-457): [#def60]
nss-3.105.0-build/nss-3.105/nspr/pr/src/threads/prcmon.c:250: error[uninitvar]: Uninitialized variable: *pp
#  248|       hash = HASH(address);
#  249|       pp = hash_buckets + hash;
#  250|->     while ((p = *pp) != 0) {
#  251|           if (p->address == address) {
#  252|               goto gotit;

Error: CPPCHECK_WARNING (CWE-475): [#def61]
nss-3.105.0-build/nss-3.105/nss/cmd/bltest/blapitest.c:2750: error[shiftNegative]: Shifting by a negative value is undefined behaviour
# 2748|       if (exp->len <= 4) {
# 2749|           for (i = exp->len; i >= 0; --i)
# 2750|->             e |= exp->data[exp->len - i] << 8 * (i - 1);
# 2751|           fprintf(stdout, "%12d", e);
# 2752|       } else {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def62]
nss-3.105.0-build/nss-3.105/nss/cmd/btoa/btoa.c: scope_hint: In function ‘main’
nss-3.105.0-build/nss-3.105/nss/cmd/btoa/btoa.c:151:30: warning[-Wanalyzer-malloc-leak]: leak of ‘suffix’
#  149|               case 'w':
#  150|                   if (!strcmp(optstate->value, "c"))
#  151|->                     suffix = strdup("CERTIFICATE");
#  152|                   else
#  153|                       suffix = strdup(optstate->value);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def63]
nss-3.105.0-build/nss-3.105/nss/cmd/crlutil/crlgen.c: scope_hint: In function ‘CRLGEN_ExtHandleInit’
nss-3.105.0-build/nss-3.105/nss/cmd/crlutil/crlgen.c:817:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  815|               if ((*entry)->extensions) {
#  816|                   extData->extHandle =
#  817|->                     CERT_StartCRLEntryExtensions(&crlGenData->signCrl->crl,
#  818|                                                    (CERTCrlEntry *)extData->entry);
#  819|                   if (crlgen_InitExtensionHandle(extData->extHandle,

Error: GCC_ANALYZER_WARNING (CWE-401): [#def64]
nss-3.105.0-build/nss-3.105/nss/cmd/crlutil/crlgen_lex_orig.l: scope_hint: In function ‘yy_create_buffer’
nss-3.105.0-build/nss-3.105/nss/cmd/crlutil/crlgen_lex_orig.l:649:20: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(56)’
nss-3.105.0-build/nss-3.105/nss/cmd/crlutil/crlgen_lex_orig.l:163:1: note: in expansion of macro ‘YY_DECL’
nss-3.105.0-build/nss-3.105/nss/cmd/crlutil/crlgen_lex_orig.l: scope_hint: In function ‘yy_create_buffer’

Error: CPPCHECK_WARNING (CWE-457): [#def65]
nss-3.105.0-build/nss-3.105/nss/cmd/dbtool/dbtool.c:651: warning[uninitvar]: Uninitialized variable: template.pValue
#  649|               template.pValue = alloc;
#  650|           }
#  651|->         if (template.pValue == NULL) {
#  652|               PR_fprintf(PR_STDERR, "    "
#  653|                                     "Could allocate %d bytes for  Attribute %s (0x%08x)\n",

Error: GCC_ANALYZER_WARNING (CWE-401): [#def66]
nss-3.105.0-build/nss-3.105/nss/cmd/dbtool/sdb.c: scope_hint: In function ‘sdb_init’
nss-3.105.0-build/nss-3.105/nss/cmd/dbtool/sdb.c:2257:40: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
# 2255|                   if (backedAttrs == schemaAttrsCapacity) {
# 2256|                       schemaAttrsCapacity += known_attributes_size;
# 2257|->                     sdb_p->schemaAttrs = realloc(sdb_p->schemaAttrs,
# 2258|                                                    schemaAttrsCapacity * sizeof(CK_ATTRIBUTE_TYPE));
# 2259|                       if (!sdb_p->schemaAttrs) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def67]
nss-3.105.0-build/nss-3.105/nss/cmd/digest/digest.c: scope_hint: In function ‘main’
nss-3.105.0-build/nss-3.105/nss/cmd/digest/digest.c:173:28: warning[-Wanalyzer-malloc-leak]: leak of ‘hashName’
#  171|   
#  172|               case 't':
#  173|->                 hashName = strdup(optstate->value);
#  174|                   break;
#  175|           }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def68]
nss-3.105.0-build/nss-3.105/nss/cmd/fipstest/fipstest.c: scope_hint: In function ‘to_hex_str’
nss-3.105.0-build/nss-3.105/nss/cmd/fipstest/fipstest.c:102:27: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
#  100|       unsigned int i;
#  101|       for (i = 0; i < len; i++) {
#  102|->         byteval_to_hex(buf[i], &str[2 * i], 'a');
#  103|       }
#  104|       str[2 * len] = '\0';

Error: GCC_ANALYZER_WARNING (CWE-688): [#def69]
nss-3.105.0-build/nss-3.105/nss/cmd/fipstest/fipstest.c: scope_hint: In function ‘tdea_kat_mmt’
nss-3.105.0-build/nss-3.105/nss/cmd/fipstest/fipstest.c:320:12: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘fopen(reqfn, "r")’ where non-null expected
nss-3.105.0-build/nss-3.105/nss/cmd/fipstest/fipstest.c:5: included_from: Included from here.
/usr/include/stdio.h:654:14: note: argument 3 of ‘fgets’ must be non-null
#  318|       req = fopen(reqfn, "r");
#  319|       resp = stdout;
#  320|->     while (fgets(buf, sizeof buf, req) != NULL) {
#  321|           /* a comment or blank line */
#  322|           if (buf[0] == '#' || buf[0] == '\n') {

Error: GCC_ANALYZER_WARNING (CWE-688): [#def70]
nss-3.105.0-build/nss-3.105/nss/cmd/fipstest/fipstest.c: scope_hint: In function ‘tdea_mct’
nss-3.105.0-build/nss-3.105/nss/cmd/fipstest/fipstest.c:763:12: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘fopen(reqfn, "r")’ where non-null expected
/usr/include/stdio.h:654:14: note: argument 3 of ‘fgets’ must be non-null
#  761|       req = fopen(reqfn, "r");
#  762|       resp = stdout;
#  763|->     while (fgets(buf, sizeof buf, req) != NULL) {
#  764|           /* a comment or blank line */
#  765|           if (buf[0] == '#' || buf[0] == '\n') {

Error: GCC_ANALYZER_WARNING (CWE-688): [#def71]
nss-3.105.0-build/nss-3.105/nss/cmd/fipstest/fipstest.c: scope_hint: In function ‘aes_gcm’
nss-3.105.0-build/nss-3.105/nss/cmd/fipstest/fipstest.c:1035:12: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘fopen(reqfn, "r")’ where non-null expected
/usr/include/stdio.h:654:14: note: argument 3 of ‘fgets’ must be non-null
# 1033|       aesreq = fopen(reqfn, "r");
# 1034|       aesresp = stdout;
# 1035|->     while (fgets(buf, sizeof buf, aesreq) != NULL) {
# 1036|           /* a comment or blank line */
# 1037|           if (buf[0] == '#' || buf[0] == '\n') {

Error: GCC_ANALYZER_WARNING (CWE-457): [#def72]
nss-3.105.0-build/nss-3.105/nss/cmd/fipstest/fipstest.c:1144:26: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ivlen’
# 1142|               if (encrypt) {
# 1143|                   if (encrypt == 2) {
# 1144|->                     rv = RNG_GenerateGlobalRandomBytes(iv, ivlen);
# 1145|                       if (rv != SECSuccess) {
# 1146|                           goto loser;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def73]
nss-3.105.0-build/nss-3.105/nss/cmd/fipstest/fipstest.c:1150:32: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ivlen’
# 1148|                   }
# 1149|                   params.pIv = iv;
# 1150|->                 params.ulIvLen = ivlen;
# 1151|                   params.pAAD = aad;
# 1152|                   params.ulAADLen = aadlen;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def74]
nss-3.105.0-build/nss-3.105/nss/cmd/fipstest/fipstest.c:1190:55: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ciphertextlen’
nss-3.105.0-build/nss-3.105/nss/cmd/fipstest/fipstest.c:7: included_from: Included from here.
# 1188|               }
# 1189|               for (j = 0; isxdigit((unsigned char)buf[i]); i += 2, j++) {
# 1190|->                 hex_to_byteval(&buf[i], &ciphertext[j + ciphertextlen]);
# 1191|               }
# 1192|               ciphertextlen += j;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def75]
nss-3.105.0-build/nss-3.105/nss/cmd/fipstest/fipstest.c:1192:27: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ciphertextlen’
# 1190|                   hex_to_byteval(&buf[i], &ciphertext[j + ciphertextlen]);
# 1191|               }
# 1192|->             ciphertextlen += j;
# 1193|               params.pIv = iv;
# 1194|               params.ulIvLen = ivlen;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def76]
nss-3.105.0-build/nss-3.105/nss/cmd/fipstest/fipstest.c: scope_hint: In function ‘aes_kat_mmt’
nss-3.105.0-build/nss-3.105/nss/cmd/fipstest/fipstest.c:1252:12: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘fopen(reqfn, "r")’ where non-null expected
/usr/include/stdio.h:654:14: note: argument 3 of ‘fgets’ must be non-null
# 1250|       aesreq = fopen(reqfn, "r");
# 1251|       aesresp = stdout;
# 1252|->     while (fgets(buf, sizeof buf, aesreq) != NULL) {
# 1253|           /* a comment or blank line */
# 1254|           if (buf[0] == '#' || buf[0] == '\n') {

Error: GCC_ANALYZER_WARNING (CWE-688): [#def77]
nss-3.105.0-build/nss-3.105/nss/cmd/fipstest/fipstest.c: scope_hint: In function ‘aes_ecb_mct’
nss-3.105.0-build/nss-3.105/nss/cmd/fipstest/fipstest.c:1460:12: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘fopen(reqfn, "r")’ where non-null expected
/usr/include/stdio.h:654:14: note: argument 3 of ‘fgets’ must be non-null
# 1458|       aesreq = fopen(reqfn, "r");
# 1459|       aesresp = stdout;
# 1460|->     while (fgets(buf, sizeof buf, aesreq) != NULL) {
# 1461|           /* a comment or blank line */
# 1462|           if (buf[0] == '#' || buf[0] == '\n') {

Error: GCC_ANALYZER_WARNING (CWE-457): [#def78]
nss-3.105.0-build/nss-3.105/nss/cmd/fipstest/fipstest.c:1641:21: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*(__int128 unsigned *)(&plaintext[0])’
# 1639|                   for (j = 0; j < 1000; j++) {
# 1640|                       /* Save PT[j-1] */
# 1641|->                     memcpy(plaintext_1, plaintext, sizeof plaintext);
# 1642|   
# 1643|                       /* PT[j] = AES(Key[i], CT[j]) */

Error: GCC_ANALYZER_WARNING (CWE-688): [#def79]
nss-3.105.0-build/nss-3.105/nss/cmd/fipstest/fipstest.c: scope_hint: In function ‘aes_cbc_mct’
nss-3.105.0-build/nss-3.105/nss/cmd/fipstest/fipstest.c:1744:12: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘fopen(reqfn, "r")’ where non-null expected
/usr/include/stdio.h:654:14: note: argument 3 of ‘fgets’ must be non-null
# 1742|       aesreq = fopen(reqfn, "r");
# 1743|       aesresp = stdout;
# 1744|->     while (fgets(buf, sizeof buf, aesreq) != NULL) {
# 1745|           /* a comment or blank line */
# 1746|           if (buf[0] == '#' || buf[0] == '\n') {

Error: GCC_ANALYZER_WARNING (CWE-688): [#def80]
nss-3.105.0-build/nss-3.105/nss/cmd/fipstest/fipstest.c: scope_hint: In function ‘sha_test’
nss-3.105.0-build/nss-3.105/nss/cmd/fipstest/fipstest.c:4710:12: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘fopen(reqfn, "r")’ where non-null expected
/usr/include/stdio.h:654:14: note: argument 3 of ‘fgets’ must be non-null
# 4708|       req = fopen(reqfn, "r");
# 4709|       resp = stdout;
# 4710|->     while (fgets(buf, bufSize, req) != NULL) {
# 4711|   
# 4712|           /* a comment or blank line */

Error: GCC_ANALYZER_WARNING (CWE-688): [#def81]
nss-3.105.0-build/nss-3.105/nss/cmd/fipstest/fipstest.c: scope_hint: In function ‘hmac_test’
nss-3.105.0-build/nss-3.105/nss/cmd/fipstest/fipstest.c:4895:12: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘fopen(reqfn, "r")’ where non-null expected
nss-3.105.0-build/nss-3.105/nss/lib/util/secitem.h:8: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/cmd/fipstest/fipstest.c:9: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/cmd/fipstest/fipstest.c:4888:11: note: in expansion of macro ‘PORT_ZAlloc’
/usr/include/stdio.h:654:14: note: argument 3 of ‘fgets’ must be non-null
# 4893|       req = fopen(reqfn, "r");
# 4894|       resp = stdout;
# 4895|->     while (fgets(buf, bufSize, req) != NULL) {
# 4896|           if (strncmp(buf, "Mac", 3) == 0) {
# 4897|               i = 3;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def82]
nss-3.105.0-build/nss-3.105/nss/cmd/fipstest/fipstest.c: scope_hint: In function ‘dsa_keypair_test’
nss-3.105.0-build/nss-3.105/nss/cmd/fipstest/fipstest.c:5045:12: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘fopen(reqfn, "r")’ where non-null expected
/usr/include/stdio.h:654:14: note: argument 3 of ‘fgets’ must be non-null
# 5043|       dsareq = fopen(reqfn, "r");
# 5044|       dsaresp = stdout;
# 5045|->     while (fgets(buf, sizeof buf, dsareq) != NULL) {
# 5046|           /* a comment or blank line */
# 5047|           if (buf[0] == '#' || buf[0] == '\n') {

Error: GCC_ANALYZER_WARNING (CWE-688): [#def83]
nss-3.105.0-build/nss-3.105/nss/cmd/fipstest/fipstest.c: scope_hint: In function ‘dsa_pqgver_test’
nss-3.105.0-build/nss-3.105/nss/cmd/fipstest/fipstest.c:5182:12: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘fopen(reqfn, "r")’ where non-null expected
/usr/include/stdio.h:654:14: note: argument 3 of ‘fgets’ must be non-null
# 5180|       memset(&vfy, 0, sizeof(vfy));
# 5181|   
# 5182|->     while (fgets(buf, sizeof buf, dsareq) != NULL) {
# 5183|           /* a comment or blank line */
# 5184|           if (buf[0] == '#' || buf[0] == '\n') {

Error: GCC_ANALYZER_WARNING (CWE-775): [#def84]
nss-3.105.0-build/nss-3.105/nss/cmd/fipstest/fipstest.c:5184:16: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(reqfn, "r")’
# 5182|       while (fgets(buf, sizeof buf, dsareq) != NULL) {
# 5183|           /* a comment or blank line */
# 5184|->         if (buf[0] == '#' || buf[0] == '\n') {
# 5185|               fputs(buf, dsaresp);
# 5186|               continue;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def85]
nss-3.105.0-build/nss-3.105/nss/cmd/fipstest/fipstest.c:5184:16: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(reqfn, "r")’
# 5182|       while (fgets(buf, sizeof buf, dsareq) != NULL) {
# 5183|           /* a comment or blank line */
# 5184|->         if (buf[0] == '#' || buf[0] == '\n') {
# 5185|               fputs(buf, dsaresp);
# 5186|               continue;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def86]
nss-3.105.0-build/nss-3.105/nss/cmd/fipstest/fipstest.c: scope_hint: In function ‘dsa_pqggen_test’
nss-3.105.0-build/nss-3.105/nss/cmd/fipstest/fipstest.c:5510:12: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘fopen(reqfn, "r")’ where non-null expected
/usr/include/stdio.h:654:14: note: argument 3 of ‘fgets’ must be non-null
# 5508|       dsareq = fopen(reqfn, "r");
# 5509|       dsaresp = stdout;
# 5510|->     while (fgets(buf, sizeof buf, dsareq) != NULL) {
# 5511|           /* a comment or blank line */
# 5512|           if (buf[0] == '#' || buf[0] == '\n') {

Error: GCC_ANALYZER_WARNING (CWE-775): [#def87]
nss-3.105.0-build/nss-3.105/nss/cmd/fipstest/fipstest.c:5512:16: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(reqfn, "r")’
# 5510|       while (fgets(buf, sizeof buf, dsareq) != NULL) {
# 5511|           /* a comment or blank line */
# 5512|->         if (buf[0] == '#' || buf[0] == '\n') {
# 5513|               fputs(buf, dsaresp);
# 5514|               continue;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def88]
nss-3.105.0-build/nss-3.105/nss/cmd/fipstest/fipstest.c:5512:16: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(reqfn, "r")’
# 5510|       while (fgets(buf, sizeof buf, dsareq) != NULL) {
# 5511|           /* a comment or blank line */
# 5512|->         if (buf[0] == '#' || buf[0] == '\n') {
# 5513|               fputs(buf, dsaresp);
# 5514|               continue;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def89]
nss-3.105.0-build/nss-3.105/nss/cmd/fipstest/fipstest.c:5586:26: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘N’
# 5584|                                                &pqg, &vfy);
# 5585|                   } else {
# 5586|->                     rv = PQG_ParamGenV2(L, N, N, &pqg, &vfy);
# 5587|                   }
# 5588|                   if (rv != SECSuccess) {

Error: GCC_ANALYZER_WARNING (CWE-688): [#def90]
nss-3.105.0-build/nss-3.105/nss/cmd/fipstest/fipstest.c: scope_hint: In function ‘rsa_keypair_test’
nss-3.105.0-build/nss-3.105/nss/cmd/fipstest/fipstest.c:6120:12: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘fopen(reqfn, "r")’ where non-null expected
/usr/include/stdio.h:654:14: note: argument 3 of ‘fgets’ must be non-null
# 6118|       rsareq = fopen(reqfn, "r");
# 6119|       rsaresp = stdout;
# 6120|->     while (fgets(buf, sizeof buf, rsareq) != NULL) {
# 6121|           /* a comment or blank line */
# 6122|           if (buf[0] == '#' || buf[0] == '\n') {

Error: GCC_ANALYZER_WARNING (CWE-688): [#def91]
nss-3.105.0-build/nss-3.105/nss/cmd/fipstest/fipstest.c: scope_hint: In function ‘rsa_siggen_test’
nss-3.105.0-build/nss-3.105/nss/cmd/fipstest/fipstest.c:6233:12: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘fopen(reqfn, "r")’ where non-null expected
/usr/include/stdio.h:654:14: note: argument 3 of ‘fgets’ must be non-null
# 6231|       pe.type = siBuffer;
# 6232|   
# 6233|->     while (fgets(buf, sizeof buf, rsareq) != NULL) {
# 6234|           /* a comment or blank line */
# 6235|           if (buf[0] == '#' || buf[0] == '\n') {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def92]
nss-3.105.0-build/nss-3.105/nss/cmd/fipstest/fipstest.c:6315:39: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘rsaBlapiPrivKey’
# 6313|                                                         NSSLOWKEYRSAKey };
# 6314|   
# 6315|->             low_RSA_private_key.u.rsa = *rsaBlapiPrivKey;
# 6316|               low_RSA_public_key.u.rsa = *rsaBlapiPublicKey;
# 6317|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def93]
nss-3.105.0-build/nss-3.105/nss/cmd/fipstest/fipstest.c: scope_hint: In function ‘rsa_sigver_test’
nss-3.105.0-build/nss-3.105/nss/cmd/fipstest/fipstest.c:6420:12: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘fopen(reqfn, "r")’ where non-null expected
/usr/include/stdio.h:654:14: note: argument 3 of ‘fgets’ must be non-null
# 6418|       memset(&rsaBlapiPublicKey, 0, sizeof(RSAPublicKey));
# 6419|   
# 6420|->     while (fgets(buf, sizeof buf, rsareq) != NULL) {
# 6421|           /* a comment or blank line */
# 6422|           if (buf[0] == '#' || buf[0] == '\n') {

Error: GCC_ANALYZER_WARNING (CWE-457): [#def94]
lex.Pk11Install_yy.cpp: scope_hint: In function ‘yy_get_next_buffer’
nss-3.105.0-build/nss-3.105/nss/cmd/modutil/installparse.l:37:29: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘c’
lex.Pk11Install_yy.cpp:943:9: note: in expansion of macro ‘YY_INPUT’
lex.Pk11Install_yy.cpp:943:9: note: in expansion of macro ‘YY_INPUT’
lex.Pk11Install_yy.cpp:943:9: note: in expansion of macro ‘YY_INPUT’
lex.Pk11Install_yy.cpp:943:9: note: in expansion of macro ‘YY_INPUT’
lex.Pk11Install_yy.cpp:943:9: note: in expansion of macro ‘YY_INPUT’
lex.Pk11Install_yy.cpp:943:9: note: in expansion of macro ‘YY_INPUT’
lex.Pk11Install_yy.cpp:943:9: note: in expansion of macro ‘YY_INPUT’
#   35|   		char c; \
#   36|   		int n; \
#   37|-> 		for ( n = 0; n < max_size && \
#   38|   		  PR_Read(Pk11Install_FD, &c, 1)==1 && c != '\n'; ++n ) { \
#   39|   			buf[n] = c; \

Error: GCC_ANALYZER_WARNING (CWE-127): [#def95]
nss-3.105.0-build/nss-3.105/nss/cmd/modutil/installparse.y: scope_hint: In function ‘Pk11Install_yyparse’
nss-3.105.0-build/nss-3.105/nss/cmd/modutil/installparse.y:90:13: warning[-Wanalyzer-out-of-bounds]: buffer under-read
nss-3.105.0-build/nss-3.105/nss/cmd/modutil/installparse.y:90:13: note: valid subscripts for ‘Pk11Install_yyvs’ are ‘[0]’ to ‘[299]’
#   88|   %%
#   89|   /*----------------------- Program Section --------------------------------*/
#   90|-> 
#   91|   /*************************************************************************/
#   92|   void

Error: GCC_ANALYZER_WARNING (CWE-127): [#def96]
nss-3.105.0-build/nss-3.105/nss/cmd/modutil/installparse.y:109:26: warning[-Wanalyzer-out-of-bounds]: buffer under-read
nss-3.105.0-build/nss-3.105/nss/cmd/modutil/installparse.y:109:26: note: valid subscripts for ‘Pk11Install_yyvs’ are ‘[0]’ to ‘[299]’

Error: GCC_ANALYZER_WARNING (CWE-476): [#def97]
nss-3.105.0-build/nss-3.105/nss/cmd/pk11ectest/pk11ectest.c: scope_hint: In function ‘ectest_curve_pkcs11’
nss-3.105.0-build/nss-3.105/nss/cmd/pk11ectest/pk11ectest.c:127:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  125|       }
#  126|       rv = SECFailure;
#  127|->     if (keyLengthEntry->encoded) {
#  128|           if (point.len == keyLengthEntry->len) {
#  129|               printf(" >>> Expected encoded CKA_EC_POINT and got a decoded value.\n");

Error: GCC_ANALYZER_WARNING (CWE-457): [#def98]
nss-3.105.0-build/nss-3.105/nss/cmd/pk11gcmtest/pk11gcmtest.c: scope_hint: In function ‘aes_decrypt_buf’
nss-3.105.0-build/nss-3.105/nss/cmd/pk11gcmtest/pk11gcmtest.c:113:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘tag’
#  111|       }
#  112|       memcpy(concatenated, input, inputlen);
#  113|->     memcpy(concatenated + inputlen, tag, tagsize);
#  114|   
#  115|       /* Import key into NSS. */

Error: GCC_ANALYZER_WARNING (CWE-775): [#def99]
nss-3.105.0-build/nss-3.105/nss/cmd/pk11gcmtest/pk11gcmtest.c: scope_hint: In function ‘aes_gcm_kat’
nss-3.105.0-build/nss-3.105/nss/cmd/pk11gcmtest/pk11gcmtest.c:208:16: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(respfn, "r")’
#  206|       while (fgets(buf, sizeof buf, aesresp) != NULL) {
#  207|           /* a comment or blank line */
#  208|->         if (buf[0] == '#' || buf[0] == '\n') {
#  209|               continue;
#  210|           }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def100]
nss-3.105.0-build/nss-3.105/nss/cmd/pk11gcmtest/pk11gcmtest.c:208:16: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(respfn, "r")’
#  206|       while (fgets(buf, sizeof buf, aesresp) != NULL) {
#  207|           /* a comment or blank line */
#  208|->         if (buf[0] == '#' || buf[0] == '\n') {
#  209|               continue;
#  210|           }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def101]
nss-3.105.0-build/nss-3.105/nss/cmd/pk11mode/pk11mode.c: scope_hint: In function ‘PKM_FindAllObjects’
nss-3.105.0-build/nss-3.105/nss/cmd/pk11mode/pk11mode.c:3584:16: warning[-Wanalyzer-malloc-leak]: leak of ‘pTemplate’
# 3582|                     pSlotList[slotID], crv,
# 3583|                     PKM_CK_RVtoStr(crv));
# 3584|->         return crv;
# 3585|       }
# 3586|   

Error: CPPCHECK_WARNING (CWE-369): [#def102]
nss-3.105.0-build/nss-3.105/nss/cmd/rsaperf/rsaperf.c:102: error[zerodiv]: Division by zero.
#  100|   
#  101|       LL_I2L(tmp, divisor);
#  102|->     LL_DIV(ctx->interval, ctx->interval, tmp);
#  103|   
#  104|       timingUpdate(ctx);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def103]
nss-3.105.0-build/nss-3.105/nss/cmd/shlibsign/shlibsign.c: scope_hint: In function ‘shlibSignHMAC’
nss-3.105.0-build/nss-3.105/nss/cmd/shlibsign/shlibsign.c:1176:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘hash’
nss-3.105.0-build/nss-3.105/nspr/pr/include/prprf.h:26: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/cmd/shlibsign/shlibsign.c:40: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/cmd/shlibsign/shlibsign.c:1101:20: note: in expansion of macro ‘PR_STDERR’
# 1174|           return crv;
# 1175|       }
# 1176|->     hmacMech.mechanism = hash->hmac;
# 1177|   
# 1178|       /* compute the digest */

Error: GCC_ANALYZER_WARNING (CWE-775): [#def104]
nss-3.105.0-build/nss-3.105/nss/cmd/signtool/certgen.c: scope_hint: In function ‘output_ca_cert’
nss-3.105.0-build/nss-3.105/nss/cmd/signtool/certgen.c:678:8: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(PORT_ZAlloc_Util(12), "wb")’
#  676|       SEC_PKCS7DestroyContentInfo(certChain);
#  677|   
#  678|->     if (encodedCertChain) {
#  679|           fprintf(out, "Content-type: application/x-x509-ca-cert\n\n");
#  680|           fwrite(encodedCertChain->data, 1, encodedCertChain->len,

Error: GCC_ANALYZER_WARNING (CWE-401): [#def105]
nss-3.105.0-build/nss-3.105/nss/cmd/signtool/certgen.c:678:8: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(PORT_ZAlloc_Util(12), "wb")’
#  676|       SEC_PKCS7DestroyContentInfo(certChain);
#  677|   
#  678|->     if (encodedCertChain) {
#  679|           fprintf(out, "Content-type: application/x-x509-ca-cert\n\n");
#  680|           fwrite(encodedCertChain->data, 1, encodedCertChain->len,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def106]
nss-3.105.0-build/nss-3.105/nss/cmd/signtool/javascript.c:718:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
nss-3.105.0-build/nss-3.105/nss/cmd/signtool/javascript.c: scope_hint: In function ‘extract_js’
#  716|   FB_GetLineNum(FileBuffer *fb)
#  717|   {
#  718|->     return fb->lineNum;
#  719|   }
#  720|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def107]
nss-3.105.0-build/nss-3.105/nss/cmd/signtool/sign.c: scope_hint: In function ‘create_pk7’
nss-3.105.0-build/nss-3.105/nss/cmd/signtool/sign.c:292:8: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&sf_file, "rb")’
#  290|       }
#  291|   
#  292|->     if ((out = fopen(pk7_file, "wb")) == NULL) {
#  293|           PR_fprintf(errorFD, "%s: Can't open %s for writing\n", PROGRAM_NAME,
#  294|                      sf_file);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def108]
nss-3.105.0-build/nss-3.105/nss/cmd/signtool/sign.c:292:8: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&sf_file, "rb")’
#  290|       }
#  291|   
#  292|->     if ((out = fopen(pk7_file, "wb")) == NULL) {
#  293|           PR_fprintf(errorFD, "%s: Can't open %s for writing\n", PROGRAM_NAME,
#  294|                      sf_file);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def109]
nss-3.105.0-build/nss-3.105/nss/cmd/signtool/sign.c: scope_hint: In function ‘generate_SF_file’
nss-3.105.0-build/nss-3.105/nss/cmd/signtool/sign.c:726:8: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(manifile, "rb")’
#  724|       }
#  725|   
#  726|->     if ((sfFile = fopen(whofile, "wb")) == NULL) {
#  727|           perror(who);
#  728|           exit(ERRX);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def110]
nss-3.105.0-build/nss-3.105/nss/cmd/signtool/sign.c:726:8: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(manifile, "rb")’
#  724|       }
#  725|   
#  726|->     if ((sfFile = fopen(whofile, "wb")) == NULL) {
#  727|           perror(who);
#  728|           exit(ERRX);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def111]
nss-3.105.0-build/nss-3.105/nss/cmd/signtool/sign.c:736:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&whofile, "wb")’
nss-3.105.0-build/nss-3.105/nss/lib/util/seccomon.h:16: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/cmd/lib/secutil.h:7: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/cmd/signtool/signtool.h:16: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/cmd/signtool/sign.c:5: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/cmd/signtool/sign.c:731:19: note: in expansion of macro ‘PORT_ZAlloc’
nss-3.105.0-build/nss-3.105/nss/cmd/signtool/sign.c:734:24: note: in expansion of macro ‘PORT_ZAlloc’
#  734|           name = (char *)PORT_ZAlloc(BUFSIZ);
#  735|   
#  736|->     if (buf == NULL || name == NULL)
#  737|           out_of_memory();
#  738|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def112]
nss-3.105.0-build/nss-3.105/nss/cmd/signtool/sign.c:736:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(manifile, "rb")’
nss-3.105.0-build/nss-3.105/nss/cmd/signtool/sign.c:731:19: note: in expansion of macro ‘PORT_ZAlloc’
nss-3.105.0-build/nss-3.105/nss/cmd/signtool/sign.c:734:24: note: in expansion of macro ‘PORT_ZAlloc’
#  734|           name = (char *)PORT_ZAlloc(BUFSIZ);
#  735|   
#  736|->     if (buf == NULL || name == NULL)
#  737|           out_of_memory();
#  738|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def113]
nss-3.105.0-build/nss-3.105/nss/cmd/signtool/sign.c:736:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&whofile, "wb")’
nss-3.105.0-build/nss-3.105/nss/cmd/signtool/sign.c:731:19: note: in expansion of macro ‘PORT_ZAlloc’
nss-3.105.0-build/nss-3.105/nss/cmd/signtool/sign.c:734:24: note: in expansion of macro ‘PORT_ZAlloc’
#  734|           name = (char *)PORT_ZAlloc(BUFSIZ);
#  735|   
#  736|->     if (buf == NULL || name == NULL)
#  737|           out_of_memory();
#  738|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def114]
nss-3.105.0-build/nss-3.105/nss/cmd/signtool/sign.c:736:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(manifile, "rb")’
nss-3.105.0-build/nss-3.105/nss/cmd/signtool/sign.c:731:19: note: in expansion of macro ‘PORT_ZAlloc’
nss-3.105.0-build/nss-3.105/nss/cmd/signtool/sign.c:734:24: note: in expansion of macro ‘PORT_ZAlloc’
#  734|           name = (char *)PORT_ZAlloc(BUFSIZ);
#  735|   
#  736|->     if (buf == NULL || name == NULL)
#  737|           out_of_memory();
#  738|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def115]
nss-3.105.0-build/nss-3.105/nss/cmd/signtool/sign.c:749:9: warning[-Wanalyzer-null-argument]: use of NULL ‘PORT_ZAlloc_Util(8192)’ where non-null expected
nss-3.105.0-build/nss-3.105/nss/cmd/signtool/sign.c:731:19: note: in expansion of macro ‘PORT_ZAlloc’
nss-3.105.0-build/nss-3.105/nss/cmd/signtool/signtool.h:11: included_from: Included from here.
/usr/include/string.h:159:12: note: argument 1 of ‘strncmp’ must be non-null
#  747|       }
#  748|   
#  749|->     if (strncmp(buf, "Manifest-Version:", 17)) {
#  750|           PR_fprintf(errorFD, "%s: not a manifest file!\n", PROGRAM_NAME);
#  751|           errorCount++;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def116]
nss-3.105.0-build/nss-3.105/nss/cmd/smimetools/cmsutil.c: scope_hint: In function ‘main’
nss-3.105.0-build/nss-3.105/nss/cmd/smimetools/cmsutil.c:1392:34: warning[-Wanalyzer-malloc-leak]: leak of ‘options.password’
# 1390|                   }
# 1391|   
# 1392|->                 options.password = strdup(optstate->value);
# 1393|                   break;
# 1394|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def117]
nss-3.105.0-build/nss-3.105/nss/cmd/smimetools/cmsutil.c:1402:32: warning[-Wanalyzer-malloc-leak]: leak of ‘options.pwfile’
# 1400|                   }
# 1401|   
# 1402|->                 options.pwfile = strdup(optstate->value);
# 1403|                   break;
# 1404|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def118]
nss-3.105.0-build/nss-3.105/nss/cmd/smimetools/cmsutil.c:1430:52: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(*<unknown>.value)’
# 1428|   
# 1429|                   usageType = atoi(strdup(optstate->value));
# 1430|->                 if (usageType < certUsageSSLClient || usageType > certUsageAnyCA)
# 1431|                       return -1;
# 1432|                   options.certUsage = (SECCertUsage)usageType;

Error: CPPCHECK_WARNING (CWE-401): [#def119]
nss-3.105.0-build/nss-3.105/nss/cmd/smimetools/cmsutil.c:1431: error[memleak]: Memory leak: options.password
# 1429|                   usageType = atoi(strdup(optstate->value));
# 1430|                   if (usageType < certUsageSSLClient || usageType > certUsageAnyCA)
# 1431|->                     return -1;
# 1432|                   options.certUsage = (SECCertUsage)usageType;
# 1433|                   break;

Error: CPPCHECK_WARNING (CWE-401): [#def120]
nss-3.105.0-build/nss-3.105/nss/cmd/smimetools/cmsutil.c:1431: error[memleak]: Memory leak: options.pwfile
# 1429|                   usageType = atoi(strdup(optstate->value));
# 1430|                   if (usageType < certUsageSSLClient || usageType > certUsageAnyCA)
# 1431|->                     return -1;
# 1432|                   options.certUsage = (SECCertUsage)usageType;
# 1433|                   break;

Error: CPPCHECK_WARNING (CWE-401): [#def121]
nss-3.105.0-build/nss-3.105/nss/cmd/smimetools/cmsutil.c:1431: error[memleak]: Memory leak: signOptions.encryptionKeyPreferenceNick
# 1429|                   usageType = atoi(strdup(optstate->value));
# 1430|                   if (usageType < certUsageSSLClient || usageType > certUsageAnyCA)
# 1431|->                     return -1;
# 1432|                   options.certUsage = (SECCertUsage)usageType;
# 1433|                   break;

Error: CPPCHECK_WARNING (CWE-682): [#def122]
nss-3.105.0-build/nss-3.105/nss/cmd/strsclnt/strsclnt.c:840: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
#  838|           SSL_SetSockPeerID(ssl_sock, sockPeerIDString);
#  839|           SSL_HandshakeCallback(ssl_sock, myHandshakeCallback,
#  840|->                               (char *)NULL + thisPeerID);
#  841|   #else
#  842|               /* force a full handshake by setting the no cache option */

Error: GCC_ANALYZER_WARNING (CWE-835): [#def123]
nss-3.105.0-build/nss-3.105/nss/cmd/strsclnt/strsclnt.c: scope_hint: In function ‘StressClient_GetClientAuthData’
nss-3.105.0-build/nss-3.105/nss/cmd/strsclnt/strsclnt.c:931:45: warning[-Wanalyzer-infinite-loop]: infinite loop
#  929|       if (Cert_And_Key && Cert_And_Key->nickname) {
#  930|           while (PR_TRUE) {
#  931|->             if (Cert_And_Key && Cert_And_Key->lock) {
#  932|                   int timeout = 0;
#  933|                   PR_Lock(Cert_And_Key->lock);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def124]
nss-3.105.0-build/nss-3.105/nss/cmd/tests/remtest.c: scope_hint: In function ‘main’
nss-3.105.0-build/nss-3.105/nss/cmd/tests/remtest.c:64:27: warning[-Wanalyzer-malloc-leak]: leak of ‘certDir’
#   62|   
#   63|               case 'd':
#   64|->                 certDir = strdup(optstate->value);
#   65|                   certDir = SECU_ConfigDirectory(certDir);
#   66|                   break;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def125]
nss-3.105.0-build/nss-3.105/nss/cmd/tests/secmodtest.c: scope_hint: In function ‘main’
nss-3.105.0-build/nss-3.105/nss/cmd/tests/secmodtest.c:86:25: warning[-Wanalyzer-malloc-leak]: leak of ‘dbDir’
#   84|           switch (optstate->option) {
#   85|               case 'd':
#   86|->                 dbDir = strdup(optstate->value);
#   87|                   break;
#   88|           }

Error: CPPCHECK_WARNING (CWE-457): [#def126]
nss-3.105.0-build/nss-3.105/nss/cmd/tstclnt/tstclnt.c:509: error[uninitvar]: Uninitialized variable: revTestsDoNotCheck.preferred_methods
#  507|           CERT_REV_MI_REQUIRE_SOME_FRESH_INFO_AVAILABLE;
#  508|   
#  509|->     rev.chainTests = revTestsDoNotCheck;
#  510|       rev.leafTests = revTestsDoNotCheck;
#  511|   

Error: CPPCHECK_WARNING (CWE-457): [#def127]
nss-3.105.0-build/nss-3.105/nss/cmd/tstclnt/tstclnt.c:560: error[uninitvar]: Uninitialized variable: revTestsOverallHardFail.preferred_methods
#  558|           revTestsOverallHardFail.cert_rev_flags_per_method = methodFlagsCheckHardFail;
#  559|       }
#  560|->     rev.leafTests = revTestsOverallHardFail;
#  561|       rev.chainTests =
#  562|           sca->requireDataForIntermediates ? revTestsOverallHardFail : revTestsDoNotCheck;

Error: CPPCHECK_WARNING (CWE-562): [#def128]
nss-3.105.0-build/nss-3.105/nss/gtests/google_test/gtest/include/gtest/gtest-matchers.h:734: error[returnReference]: Reference to local variable returned.
#  732|     template <typename T>
#  733|     static const T& Unwrap(std::reference_wrapper<T> v) {
#  734|->     return v;
#  735|     }
#  736|   

Error: CPPCHECK_WARNING (CWE-664): [#def129]
nss-3.105.0-build/nss-3.105/nss/gtests/google_test/gtest/include/gtest/internal/gtest-param-util.h:151: error[mismatchingContainers]: Iterators of different containers 'impl_' and 'other.impl_' are used together.
#  149|     }
#  150|     bool operator==(const ParamIterator& other) const {
#  151|->     return impl_.get() == other.impl_.get() || impl_->Equals(*other.impl_);
#  152|     }
#  153|     bool operator!=(const ParamIterator& other) const {

Error: CPPCHECK_WARNING (CWE-457): [#def130]
nss-3.105.0-build/nss-3.105/nss/gtests/pk11_gtest/pk11_hpke_unittest.cc:285: warning[uninitvar]: Uninitialized variable: exp.len
#  283|           }
#  284|         }
#  285|->       all.push_back(exp);
#  286|       }
#  287|   

Error: CPPCHECK_WARNING (CWE-562): [#def131]
nss-3.105.0-build/nss-3.105/nss/gtests/ssl_gtest/tls_agent.h:310: error[danglingLifetime]: Non-local variable 'handshake_callback_' will use lambda that captures local variable 'step'.
#  308|   
#  309|     void SetHandshakeCallback(HandshakeCallbackFunction handshake_callback) {
#  310|->     handshake_callback_ = handshake_callback;
#  311|     }
#  312|   

Error: CPPCHECK_WARNING (CWE-562): [#def132]
nss-3.105.0-build/nss-3.105/nss/gtests/ssl_gtest/tls_agent.h:315: error[danglingLifetime]: Non-local variable 'auth_certificate_callback_' will use lambda that captures local variable 'called'.
#  313|     void SetAuthCertificateCallback(
#  314|         AuthCertificateCallbackFunction auth_certificate_callback) {
#  315|->     auth_certificate_callback_ = auth_certificate_callback;
#  316|     }
#  317|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def133]
nss-3.105.0-build/nss-3.105/nss/lib/certhigh/ocsp.c: scope_hint: In function ‘CERT_SetOCSPDefaultResponder’
nss-3.105.0-build/nss-3.105/nss/lib/certhigh/ocsp.c:5891:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘statusContext’
# 5889|        * Get rid of old url and name if there.
# 5890|        */
# 5891|->     if (statusContext->defaultResponderNickname != NULL)
# 5892|           PORT_Free(statusContext->defaultResponderNickname);
# 5893|       if (statusContext->defaultResponderURI != NULL)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def134]
nss-3.105.0-build/nss-3.105/nss/lib/crmf/crmfpop.c: scope_hint: In function ‘crmf_encode_popoprivkey’
nss-3.105.0-build/nss-3.105/nss/lib/crmf/crmfpop.c:360:53: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘privKeyTemplate’
/usr/include/rpc/netdb.h:42: included_from: Included from here.
/usr/include/netdb.h:32: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nspr/pr/include/prinet.h:55: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nspr/pr/include/prio.h:19: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/certdb/certt.h:18: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/certdb/cert.h:22: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/crmf/crmf.h:10: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/crmf/crmfpop.c:6: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/crmf/crmfpop.c: scope_hint: In function ‘crmf_encode_popoprivkey’
nss-3.105.0-build/nss-3.105/nss/lib/crmf/crmfpop.c: scope_hint: In function ‘crmf_encode_popoprivkey’
#  358|        * most tag myself. -javi
#  359|        */
#  360|->     derTemp.data[0] = (unsigned char)privKeyTemplate->kind;
#  361|       derTemp.data[1] = (unsigned char)derTemp.len;
#  362|       derTemp.len += 2;

Error: CPPCHECK_WARNING (CWE-758): [#def135]
nss-3.105.0-build/nss-3.105/nss/lib/freebl/aeskeywrap.c:600: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  598|       /* verify ICV magic */
#  599|       magic = decode_PRUint32_BE(iv);
#  600|->     good = PORT_CT_EQ(magic, AES_KEY_WRAP_ICV2_INT32);
#  601|       /* fetch and verify plain text length */
#  602|       outLen = decode_PRUint32_BE(iv + AES_KEY_WRAP_ICV2_LEN);

Error: CPPCHECK_WARNING (CWE-758): [#def136]
nss-3.105.0-build/nss-3.105/nss/lib/freebl/aeskeywrap.c:603: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  601|       /* fetch and verify plain text length */
#  602|       outLen = decode_PRUint32_BE(iv + AES_KEY_WRAP_ICV2_LEN);
#  603|->     good &= PORT_CT_LE(outLen, paddedLen);
#  604|       /* now verify the padding */
#  605|       padLen = paddedLen - outLen;

Error: CPPCHECK_WARNING (CWE-758): [#def137]
nss-3.105.0-build/nss-3.105/nss/lib/freebl/aeskeywrap.c:607: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  605|       padLen = paddedLen - outLen;
#  606|       padLen2 = BLOCK_PAD_POWER2(outLen, AES_KEY_WRAP_BLOCK_SIZE);
#  607|->     good &= PORT_CT_EQ(padLen, padLen2);
#  608|       for (i = 0; i < AES_KEY_WRAP_BLOCK_SIZE; i++) {
#  609|           unsigned int doTest = PORT_CT_GT(padLen, i);

Error: CPPCHECK_WARNING (CWE-758): [#def138]
nss-3.105.0-build/nss-3.105/nss/lib/freebl/aeskeywrap.c:609: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  607|       good &= PORT_CT_EQ(padLen, padLen2);
#  608|       for (i = 0; i < AES_KEY_WRAP_BLOCK_SIZE; i++) {
#  609|->         unsigned int doTest = PORT_CT_GT(padLen, i);
#  610|           unsigned int result = PORT_CT_ZERO(newBuf[paddedLen - i - 1]);
#  611|           good &= PORT_CT_SEL(doTest, result, PORT_CT_TRUE);

Error: CPPCHECK_WARNING (CWE-758): [#def139]
nss-3.105.0-build/nss-3.105/nss/lib/freebl/aeskeywrap.c:610: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  608|       for (i = 0; i < AES_KEY_WRAP_BLOCK_SIZE; i++) {
#  609|           unsigned int doTest = PORT_CT_GT(padLen, i);
#  610|->         unsigned int result = PORT_CT_ZERO(newBuf[paddedLen - i - 1]);
#  611|           good &= PORT_CT_SEL(doTest, result, PORT_CT_TRUE);
#  612|       }

Error: GCC_ANALYZER_WARNING (CWE-688): [#def140]
nss-3.105.0-build/nss-3.105/nss/lib/freebl/lowhash_vector.c:65: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/freebl/genload.c: scope_hint: In function ‘loader_GetOriginalPathname’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/genload.c:37:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘resolved’ where non-null expected
nss-3.105.0-build/nss-3.105/nss/lib/freebl/lowhash_vector.c: scope_hint: In function ‘loader_GetOriginalPathname’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/genload.c:132:16: note: in expansion of macro ‘PR_GetLibraryFilePathname’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/genload.c:132:16: note: in expansion of macro ‘PR_GetLibraryFilePathname’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/genload.c:36:16: note: in expansion of macro ‘PR_Malloc’
<built-in>: note: argument 1 of ‘__builtin_strcpy’ must be non-null
#   35|           return NULL;
#   36|       resolved = PR_Malloc(strlen(tmp) + 1);
#   37|->     strcpy(resolved, tmp); /* This is necessary because PR_Free might not be using free() */
#   38|       free(tmp);
#   39|       return resolved;

Error: CPPCHECK_WARNING (CWE-758): [#def141]
nss-3.105.0-build/nss-3.105/nss/lib/freebl/hmacct.c:24: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#   22|   constantTimeGE(unsigned int a, unsigned int b)
#   23|   {
#   24|->     return PORT_CT_GE(a, b);
#   25|   }
#   26|   

Error: CPPCHECK_WARNING (CWE-758): [#def142]
nss-3.105.0-build/nss-3.105/nss/lib/freebl/hmacct.c:31: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#   29|   constantTimeEQ(unsigned char a, unsigned char b)
#   30|   {
#   31|->     return PORT_CT_EQ(a, b);
#   32|   }
#   33|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def143]
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:444:21: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘<unknown>[1]’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c: scope_hint: In function ‘cbd2’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:371:28: note: in expansion of macro ‘KYBER_NAMESPACE’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:2561:1: note: in expansion of macro ‘crypto_kem_keypair’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:368:35: note: in expansion of macro ‘KYBER_NAMESPACE’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:2567:5: note: in expansion of macro ‘crypto_kem_keypair_derand’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:368:35: note: in expansion of macro ‘KYBER_NAMESPACE’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:2532:1: note: in expansion of macro ‘crypto_kem_keypair_derand’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:266:31: note: in expansion of macro ‘KYBER_NAMESPACE’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:2537:5: note: in expansion of macro ‘indcpa_keypair_derand’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:266:31: note: in expansion of macro ‘KYBER_NAMESPACE’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:1538:1: note: in expansion of macro ‘indcpa_keypair_derand’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:328:18: note: in expansion of macro ‘FIPS202_NAMESPACE’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:347:34: note: in expansion of macro ‘sha3_512’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:1549:5: note: in expansion of macro ‘hash_g’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:328:18: note: in expansion of macro ‘FIPS202_NAMESPACE’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:2454:1: note: in expansion of macro ‘sha3_512’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c: scope_hint: In function ‘cbd2’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:328:18: note: in expansion of macro ‘FIPS202_NAMESPACE’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:347:34: note: in expansion of macro ‘sha3_512’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:1549:5: note: in expansion of macro ‘hash_g’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:263:20: note: in expansion of macro ‘KYBER_NAMESPACE’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:1476:21: note: in expansion of macro ‘gen_matrix’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:1551:5: note: in expansion of macro ‘gen_a’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:263:20: note: in expansion of macro ‘KYBER_NAMESPACE’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:1494:1: note: in expansion of macro ‘gen_matrix’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:335:31: note: in expansion of macro ‘KYBER_NAMESPACE’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:348:39: note: in expansion of macro ‘kyber_shake128_absorb’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:1506:17: note: in expansion of macro ‘xof_absorb’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:335:31: note: in expansion of macro ‘KYBER_NAMESPACE’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:348:39: note: in expansion of macro ‘kyber_shake128_absorb’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:1506:17: note: in expansion of macro ‘xof_absorb’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:335:31: note: in expansion of macro ‘KYBER_NAMESPACE’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:2478:1: note: in expansion of macro ‘kyber_shake128_absorb’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:304:30: note: in expansion of macro ‘FIPS202_NAMESPACE’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:2489:5: note: in expansion of macro ‘shake128_absorb_once’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:304:30: note: in expansion of macro ‘FIPS202_NAMESPACE’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:2258:1: note: in expansion of macro ‘shake128_absorb_once’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:304:30: note: in expansion of macro ‘FIPS202_NAMESPACE’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:2489:5: note: in expansion of macro ‘shake128_absorb_once’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:335:31: note: in expansion of macro ‘KYBER_NAMESPACE’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:348:39: note: in expansion of macro ‘kyber_shake128_absorb’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:1506:17: note: in expansion of macro ‘xof_absorb’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:306:32: note: in expansion of macro ‘FIPS202_NAMESPACE’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:349:50: note: in expansion of macro ‘shake128_squeezeblocks’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:1508:13: note: in expansion of macro ‘xof_squeezeblocks’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:306:32: note: in expansion of macro ‘FIPS202_NAMESPACE’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:2277:1: note: in expansion of macro ‘shake128_squeezeblocks’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c: scope_hint: In function ‘cbd2’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:306:32: note: in expansion of macro ‘FIPS202_NAMESPACE’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:349:50: note: in expansion of macro ‘shake128_squeezeblocks’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:1508:13: note: in expansion of macro ‘xof_squeezeblocks’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:263:20: note: in expansion of macro ‘KYBER_NAMESPACE’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:1476:21: note: in expansion of macro ‘gen_matrix’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:1551:5: note: in expansion of macro ‘gen_a’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:200:28: note: in expansion of macro ‘KYBER_NAMESPACE’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:1554:9: note: in expansion of macro ‘poly_getnoise_eta1’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:200:28: note: in expansion of macro ‘KYBER_NAMESPACE’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:934:1: note: in expansion of macro ‘poly_getnoise_eta1’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:341:28: note: in expansion of macro ‘KYBER_NAMESPACE’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:350:40: note: in expansion of macro ‘kyber_shake256_prf’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:937:5: note: in expansion of macro ‘prf’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:341:28: note: in expansion of macro ‘KYBER_NAMESPACE’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:2504:1: note: in expansion of macro ‘kyber_shake256_prf’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:324:18: note: in expansion of macro ‘FIPS202_NAMESPACE’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:2511:5: note: in expansion of macro ‘shake256’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:324:18: note: in expansion of macro ‘FIPS202_NAMESPACE’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:2410:1: note: in expansion of macro ‘shake256’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:317:30: note: in expansion of macro ‘FIPS202_NAMESPACE’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:2415:5: note: in expansion of macro ‘shake256_absorb_once’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:317:30: note: in expansion of macro ‘FIPS202_NAMESPACE’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:2351:1: note: in expansion of macro ‘shake256_absorb_once’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:317:30: note: in expansion of macro ‘FIPS202_NAMESPACE’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:2415:5: note: in expansion of macro ‘shake256_absorb_once’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:319:32: note: in expansion of macro ‘FIPS202_NAMESPACE’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:2417:5: note: in expansion of macro ‘shake256_squeezeblocks’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:319:32: note: in expansion of macro ‘FIPS202_NAMESPACE’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:2370:1: note: in expansion of macro ‘shake256_squeezeblocks’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:319:32: note: in expansion of macro ‘FIPS202_NAMESPACE’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:2417:5: note: in expansion of macro ‘shake256_squeezeblocks’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:315:26: note: in expansion of macro ‘FIPS202_NAMESPACE’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:2420:5: note: in expansion of macro ‘shake256_squeeze’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:315:26: note: in expansion of macro ‘FIPS202_NAMESPACE’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:2336:1: note: in expansion of macro ‘shake256_squeeze’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:315:26: note: in expansion of macro ‘FIPS202_NAMESPACE’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:2420:5: note: in expansion of macro ‘shake256_squeeze’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:324:18: note: in expansion of macro ‘FIPS202_NAMESPACE’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:2511:5: note: in expansion of macro ‘shake256’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:341:28: note: in expansion of macro ‘KYBER_NAMESPACE’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:350:40: note: in expansion of macro ‘kyber_shake256_prf’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:937:5: note: in expansion of macro ‘prf’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:225:23: note: in expansion of macro ‘KYBER_NAMESPACE’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c:938:5: note: in expansion of macro ‘poly_cbd_eta1’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/kyber-pqcrystals-ref.c: scope_hint: In function ‘cbd2’
#  442|       uint32_t r;
#  443|       r = (uint32_t)x[0];
#  444|->     r |= (uint32_t)x[1] << 8;
#  445|       r |= (uint32_t)x[2] << 16;
#  446|       r |= (uint32_t)x[3] << 24;

Error: CPPCHECK_WARNING (CWE-758): [#def144]
nss-3.105.0-build/nss-3.105/nss/lib/freebl/mpi/mpi.c:1984: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1982|           /* Step 1: conditional swap. */
# 1983|           /* Set cond if delta > 0 and g is odd. */
# 1984|->         cond = (-delta >> (8 * sizeof(delta) - 1)) & DIGIT(&g, 0) & 1;
# 1985|           /* If cond is set replace (delta,f) with (-delta,-f). */
# 1986|           delta = (-cond & -delta) | ((cond - 1) & delta);

Error: CPPCHECK_WARNING (CWE-758): [#def145]
nss-3.105.0-build/nss-3.105/nss/lib/freebl/mpi/mpi.c:2425: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 2423|           /* Step 1: conditional swap. */
# 2424|           /* Set cond if delta > 0 and g is odd. */
# 2425|->         cond = (-delta >> (8 * sizeof(delta) - 1)) & DIGIT(&g, 0) & 1;
# 2426|           /* If cond is set replace (delta,f,v) with (-delta,-f,-v). */
# 2427|           delta = (-cond & -delta) | ((cond - 1) & delta);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def146]
nss-3.105.0-build/nss-3.105/nss/lib/freebl/mpi/mpmontg.c: scope_hint: In function ‘weave_to_mpi’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/mpi/mpmontg.c:798:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/mpi/mpi-priv.h:15: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/freebl/mpi/mpmontg.c:16: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/freebl/mpi/mpi.h:314:27: note: in definition of macro ‘MP_CHECKOK’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/mpi/mpmontg.c:1056:9: note: in expansion of macro ‘MP_CHECKOK’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/mpi/mpi.h:314:27: note: in definition of macro ‘MP_CHECKOK’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/mpi/mpmontg.c:1058:9: note: in expansion of macro ‘MP_CHECKOK’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/mpi/mpmontg.c:1061:12: note: in expansion of macro ‘MP_USED’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/mpi/mpmontg.c:1062:5: note: in expansion of macro ‘MP_CHECKOK’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/mpi/mpi.h:314:27: note: in definition of macro ‘MP_CHECKOK’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/mpi/mpi.h:314:27: note: in definition of macro ‘MP_CHECKOK’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/mpi/mpi.h:314:27: note: in definition of macro ‘MP_CHECKOK’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/mpi/mpmontg.c:1071:5: note: in expansion of macro ‘MP_CHECKOK’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/mpi/mpmontg.c:862:5: note: in expansion of macro ‘MP_CHECKOK’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/mpi/mpmontg.c:866:5: note: in expansion of macro ‘MP_CHECKOK’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/mpi/mpi.h:314:27: note: in definition of macro ‘MP_CHECKOK’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/mpi/mpmontg.c:867:5: note: in expansion of macro ‘MP_CHECKOK’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/mpi/mpmontg.c:899:13: note: in expansion of macro ‘MP_CHECKOK’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/mpi/mpi.h:314:27: note: in definition of macro ‘MP_CHECKOK’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/mpi/mpmontg.c:961:9: note: in expansion of macro ‘MP_CHECKOK’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/mpi/mpi.h:314:27: note: in definition of macro ‘MP_CHECKOK’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/mpi/mpmontg.c:966:9: note: in expansion of macro ‘MP_CHECKOK’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/mpi/mpmontg.c:808:5: note: in expansion of macro ‘MP_CHECKOK’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/mpi/mpmontg.c:987:17: note: in expansion of macro ‘SQR’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/mpi/mpi.h:314:27: note: in definition of macro ‘MP_CHECKOK’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/mpi/mpmontg.c:988:17: note: in expansion of macro ‘SQR’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/mpi/mpmontg.c:808:5: note: in expansion of macro ‘MP_CHECKOK’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/mpi/mpmontg.c:988:17: note: in expansion of macro ‘SQR’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/mpi/mpi.h:314:27: note: in definition of macro ‘MP_CHECKOK’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/mpi/mpmontg.c:989:17: note: in expansion of macro ‘SQR’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/mpi/mpmontg.c:808:5: note: in expansion of macro ‘MP_CHECKOK’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/mpi/mpmontg.c:989:17: note: in expansion of macro ‘SQR’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/mpi/mpi.h:314:27: note: in definition of macro ‘MP_CHECKOK’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/mpi/mpmontg.c:990:17: note: in expansion of macro ‘SQR’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/mpi/mpmontg.c:808:5: note: in expansion of macro ‘MP_CHECKOK’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/mpi/mpmontg.c:990:17: note: in expansion of macro ‘SQR’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/mpi/mpi.h:314:27: note: in definition of macro ‘MP_CHECKOK’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/mpi/mpmontg.c:991:17: note: in expansion of macro ‘MUL’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/mpi/mpi.h:314:27: note: in definition of macro ‘MP_CHECKOK’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/mpi/mpmontg.c:991:17: note: in expansion of macro ‘MUL’
#  796|           d = 0;
#  797|           for (j = 0; j < nBignums; ++j) {
#  798|->             d |= weaved[i * nBignums + j] & CONST_TIME_EQ(j, index);
#  799|           }
#  800|           pDest[i] = d;

Error: CPPCHECK_WARNING (CWE-758): [#def147]
nss-3.105.0-build/nss-3.105/nss/lib/freebl/rsapkcs.c:1088: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1086|           int candidate = outp[0] << 8 | outp[1];
# 1087|           candidate = candidate & lengthMask;
# 1088|->         outLength = PORT_CT_SEL(PORT_CT_LT(candidate, maxLegalLen),
# 1089|                                   candidate, outLength);
# 1090|       }

Error: CPPCHECK_WARNING (CWE-758): [#def148]
nss-3.105.0-build/nss-3.105/nss/lib/freebl/rsapkcs.c:1177: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1175|       rv = RSA_PrivateKeyOp(key, buffer, input);
# 1176|   
# 1177|->     fail = PORT_CT_NE(rv, SECSuccess);
# 1178|       fail |= PORT_CT_NE(buffer[0], RSA_BLOCK_FIRST_OCTET) | PORT_CT_NE(buffer[1], RSA_BlockPublic);
# 1179|   

Error: CPPCHECK_WARNING (CWE-758): [#def149]
nss-3.105.0-build/nss-3.105/nss/lib/freebl/rsapkcs.c:1178: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1176|   
# 1177|       fail = PORT_CT_NE(rv, SECSuccess);
# 1178|->     fail |= PORT_CT_NE(buffer[0], RSA_BLOCK_FIRST_OCTET) | PORT_CT_NE(buffer[1], RSA_BlockPublic);
# 1179|   
# 1180|       /* There have to be at least 8 bytes of padding. */

Error: CPPCHECK_WARNING (CWE-758): [#def150]
nss-3.105.0-build/nss-3.105/nss/lib/freebl/rsapkcs.c:1182: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1180|       /* There have to be at least 8 bytes of padding. */
# 1181|       for (i = 2; i < 10; i++) {
# 1182|->         fail |= PORT_CT_EQ(buffer[i], RSA_BLOCK_AFTER_PAD_OCTET);
# 1183|       }
# 1184|   

Error: CPPCHECK_WARNING (CWE-758): [#def151]
nss-3.105.0-build/nss-3.105/nss/lib/freebl/rsapkcs.c:1187: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1185|       for (i = 10; i < modulusLen; i++) {
# 1186|           unsigned int newLen = modulusLen - i - 1;
# 1187|->         PRUint32 condition = PORT_CT_EQ(buffer[i], RSA_BLOCK_AFTER_PAD_OCTET) & PORT_CT_EQ(outLen, modulusLen);
# 1188|           outLen = PORT_CT_SEL(condition, newLen, outLen);
# 1189|       }

Error: CPPCHECK_WARNING (CWE-758): [#def152]
nss-3.105.0-build/nss-3.105/nss/lib/freebl/rsapkcs.c:1191: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 1189|       }
# 1190|       // this can only happen if a zero wasn't found above
# 1191|->     fail |= PORT_CT_GE(outLen, modulusLen);
# 1192|   
# 1193|       outLen = PORT_CT_SEL(fail, errorLength, outLen);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def153]
nss-3.105.0-build/nss-3.105/nss/lib/freebl/stubs.c: scope_hint: In function ‘PORT_ZAllocAlignedOffset_stub’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/stubs.c:83:16: warning[-Wanalyzer-malloc-leak]: leak of ‘mem’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/stubs.c:266:5: note: in expansion of macro ‘STUB_SAFE_CALL3’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/stubs.c:266:5: note: in expansion of macro ‘STUB_SAFE_CALL3’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/stubs.c:234:5: note: in expansion of macro ‘STUB_SAFE_CALL3’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/stubs.c:266:5: note: in expansion of macro ‘STUB_SAFE_CALL3’
#   81|   #define STUB_SAFE_CALL3(fn, a1, a2, a3) \
#   82|       if (ptr_##fn) {                     \
#   83|->         return ptr_##fn(a1, a2, a3);    \
#   84|       }
#   85|   #define STUB_SAFE_CALL4(fn, a1, a2, a3, a4) \

Error: COMPILER_WARNING: [#def154]
nss-3.105.0-build/nss-3.105/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c: scope_hint: In function ‘poly1305_do_256’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:933:37: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#  931|       uint64_t u = load64_le(block + (uint32_t)8U);
#  932|       uint64_t hi = u;
#  933|->     Lib_IntVector_Intrinsics_vec256 f0 = Lib_IntVector_Intrinsics_vec256_load64(lo);
#  934|       Lib_IntVector_Intrinsics_vec256 f1 = Lib_IntVector_Intrinsics_vec256_load64(hi);
#  935|       Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def155]
nss-3.105.0-build/nss-3.105/nss/lib/freebl/verified/Hacl_Chacha20_Vec256.c: scope_hint: In function ‘Hacl_Chacha20_Vec256_chacha20_encrypt_256’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/verified/Hacl_Chacha20_Vec256.c:261:13: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#  259|           Lib_IntVector_Intrinsics_vec256 v70 = st7;
#  260|           Lib_IntVector_Intrinsics_vec256
#  261|->             v0_ = Lib_IntVector_Intrinsics_vec256_interleave_low32(v00, v16);
#  262|           Lib_IntVector_Intrinsics_vec256
#  263|               v1_ = Lib_IntVector_Intrinsics_vec256_interleave_high32(v00, v16);

Error: COMPILER_WARNING: [#def156]
nss-3.105.0-build/nss-3.105/nss/lib/freebl/verified/Hacl_Poly1305_256.c: scope_hint: In function ‘Hacl_Impl_Poly1305_Field32xN_256_load_acc4’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/verified/Hacl_Poly1305_256.c:32:37: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#   30|       KRML_PRE_ALIGN(32)
#   31|       Lib_IntVector_Intrinsics_vec256 e[5U] KRML_POST_ALIGN(32) = { 0U };
#   32|->     Lib_IntVector_Intrinsics_vec256 lo = Lib_IntVector_Intrinsics_vec256_load64_le(b);
#   33|       Lib_IntVector_Intrinsics_vec256
#   34|           hi = Lib_IntVector_Intrinsics_vec256_load64_le(b + (uint32_t)32U);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def157]
nss-3.105.0-build/nss-3.105/nss/lib/jar/jar.c: scope_hint: In function ‘jar_find_first_cert’
nss-3.105.0-build/nss-3.105/nss/lib/jar/jar.c:460:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘signer’
nss-3.105.0-build/nss-3.105/nss/lib/jar/jar.h:67: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/jar/jar.c:13: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/jar/jar-ds.h:39:37: note: in definition of macro ‘ZZ_ListIterDone’
#  458|   {
#  459|       ZZLink *link;
#  460|->     ZZList *list = signer->certs;
#  461|       int status = JAR_ERR_PNF;
#  462|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def158]
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/certsel/pkix_comcertselparams.c: scope_hint: In function ‘pkix_ComCertSelParams_Duplicate’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/certsel/pkix_comcertselparams.c:82:40: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/certsel/pkix_comcertselparams.h:14: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/certsel/pkix_comcertselparams.c:11: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/certsel/pkix_comcertselparams.c:71:9: note: in expansion of macro ‘PKIX_NULLCHECK_TWO’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/certsel/pkix_comcertselparams.c:73:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/certsel/pkix_comcertselparams.c:217:9: note: in expansion of macro ‘PKIX_NULLCHECK_ONE’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/certsel/pkix_comcertselparams.c:219:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/certsel/pkix_comcertselparams.c:219:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/certsel/pkix_comcertselparams.c:79:9: note: in expansion of macro ‘PKIX_CHECK’
#   80|                       PKIX_COMCERTSELPARAMSCREATEFAILED);
#   81|   
#   82|->         paramsDuplicate->minPathLength = params->minPathLength;
#   83|           paramsDuplicate->matchAllSubjAltNames = params->matchAllSubjAltNames;
#   84|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def159]
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_common.h:15: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/checker/pkix_ekuchecker.h:14: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/checker/pkix_ekuchecker.c:11: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/checker/pkix_ekuchecker.c: scope_hint: In function ‘PKIX_EkuChecker_Create’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/checker/pkix_ekuchecker.c:309:44: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘state’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/checker/pkix_ekuchecker.c:307:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/checker/pkix_ekuchecker.c:293:9: note: in expansion of macro ‘PKIX_NULLCHECK_ONE’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/checker/pkix_ekuchecker.c:121:9: note: in expansion of macro ‘PKIX_NULLCHECK_TWO’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/checker/pkix_ekuchecker.c:163:9: note: in expansion of macro ‘PKIX_DECREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:248:13: note: in definition of macro ‘PKIX_DECREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/checker/pkix_ekuchecker.c:164:9: note: in expansion of macro ‘PKIX_DECREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:248:13: note: in definition of macro ‘PKIX_DECREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/checker/pkix_ekuchecker.c:165:9: note: in expansion of macro ‘PKIX_DECREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:248:13: note: in definition of macro ‘PKIX_DECREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/checker/pkix_ekuchecker.c:166:9: note: in expansion of macro ‘PKIX_DECREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/checker/pkix_ekuchecker.c:168:9: note: in expansion of macro ‘PKIX_RETURN’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/checker/pkix_ekuchecker.c:300:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/checker/pkix_ekuchecker.c:304:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/checker/pkix_ekuchecker.c:307:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/checker/pkix_ekuchecker.c:307:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/checker/pkix_ekuchecker.c:307:9: note: in expansion of macro ‘PKIX_CHECK’
#  307|           PKIX_CHECK(PKIX_List_AppendItem
#  308|                       (critExtOIDsList,
#  309|->                     (PKIX_PL_Object *)state->ekuOID,
#  310|                       plContext),
#  311|                       PKIX_LISTAPPENDITEMFAILED);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def160]
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/checker/pkix_policychecker.h:14: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/checker/pkix_policychecker.c:10: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/checker/pkix_policychecker.c: scope_hint: In function ‘pkix_PolicyChecker_Initialize’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/checker/pkix_policychecker.c:2762:52: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘polCheckerState’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/checker/pkix_policychecker.c:2747:9: note: in expansion of macro ‘PKIX_NULLCHECK_ONE’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/checker/pkix_policychecker.c:2749:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
# 2760|           /* Create the list of extensions that we handle */
# 2761|           PKIX_CHECK(pkix_PolicyChecker_MakeSingleton
# 2762|->                 ((PKIX_PL_Object *)(polCheckerState->certPoliciesExtension),
# 2763|                   PKIX_TRUE,
# 2764|                   &policyExtensions,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def161]
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/checker/pkix_revocationchecker.c: scope_hint: In function ‘pkix_RevocationChecker_Duplicate’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/checker/pkix_revocationchecker.c:91:42: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/checker/pkix_revocationchecker.c:12: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/checker/pkix_revocationchecker.c:61:9: note: in expansion of macro ‘PKIX_NULLCHECK_TWO’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/checker/pkix_revocationchecker.c:63:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/checker/pkix_revocationchecker.c:183:5: note: in expansion of macro ‘PKIX_NULLCHECK_ONE’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/checker/pkix_revocationchecker.c:185:5: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/checker/pkix_revocationchecker.c:185:5: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/checker/pkix_revocationchecker.c:84:9: note: in expansion of macro ‘PKIX_CHECK’
#   89|               PKIX_REVOCATIONCHECKERCREATEFAILED);
#   90|   
#   91|->         checkerDuplicate->leafMethodList = dupLeafList;
#   92|           checkerDuplicate->chainMethodList = dupChainList;
#   93|           dupLeafList = NULL;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def162]
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c: scope_hint: In function ‘pkix_BuildForwardDepthFirstSearch’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:2636:48: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.h:13: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:14: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3686:9: note: in expansion of macro ‘PKIX_NULLCHECK_FOUR’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3156:9: note: in expansion of macro ‘PKIX_NULLCHECK_FOUR’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3165:13: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3169:13: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3173:13: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3177:13: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3181:13: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3185:13: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3189:13: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3194:13: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3258:13: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3264:13: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3270:13: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3274:13: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3277:13: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3351:13: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3355:13: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3390:13: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3394:13: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:302:9: note: in expansion of macro ‘PKIX_NULLCHECK_ONE’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:329:9: note: in expansion of macro ‘PKIX_DECREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:331:9: note: in expansion of macro ‘PKIX_RETURN’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3426:13: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:170:9: note: in expansion of macro ‘PKIX_NULLCHECK_FOUR’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:172:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:199:9: note: in expansion of macro ‘PKIX_INCREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3429:13: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:332:28: note: in definition of macro ‘PKIX_CHECK_ONLY_FATAL’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3057:8: note: in expansion of macro ‘PKIX_DECREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:248:13: note: in definition of macro ‘PKIX_DECREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3058:8: note: in expansion of macro ‘PKIX_DECREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3059:8: note: in expansion of macro ‘PKIX_DECREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3059:8: note: in expansion of macro ‘PKIX_DECREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:248:13: note: in definition of macro ‘PKIX_DECREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3060:8: note: in expansion of macro ‘PKIX_DECREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:248:13: note: in definition of macro ‘PKIX_DECREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3061:8: note: in expansion of macro ‘PKIX_DECREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:248:13: note: in definition of macro ‘PKIX_DECREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3062:8: note: in expansion of macro ‘PKIX_DECREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3065:8: note: in expansion of macro ‘PKIX_RETURN’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:332:28: note: in definition of macro ‘PKIX_CHECK_ONLY_FATAL’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:2072:9: note: in expansion of macro ‘PKIX_NULLCHECK_THREE’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:2076:9: note: in expansion of macro ‘PKIX_INCREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:2079:9: note: in expansion of macro ‘PKIX_DECREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:2314:13: note: in expansion of macro ‘PKIX_DECREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:2315:13: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:2569:21: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:2573:21: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:2620:25: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:248:13: note: in definition of macro ‘PKIX_DECREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:2634:25: note: in expansion of macro ‘PKIX_DECREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:248:13: note: in definition of macro ‘PKIX_DECREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:2635:25: note: in expansion of macro ‘PKIX_DECREF’
# 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): [#def163]
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c: scope_hint: In function ‘pkix_Build_CheckInCache’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3023:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘state’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:332:28: note: in definition of macro ‘PKIX_CHECK_ONLY_FATAL’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3686:9: note: in expansion of macro ‘PKIX_NULLCHECK_FOUR’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3156:9: note: in expansion of macro ‘PKIX_NULLCHECK_FOUR’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3165:13: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3169:13: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3173:13: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3177:13: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3181:13: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3185:13: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3189:13: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3194:13: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3258:13: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3264:13: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3270:13: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3274:13: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3277:13: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3351:13: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3355:13: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3390:13: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3394:13: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:302:9: note: in expansion of macro ‘PKIX_NULLCHECK_ONE’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:329:9: note: in expansion of macro ‘PKIX_DECREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:331:9: note: in expansion of macro ‘PKIX_RETURN’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3426:13: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3429:13: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3462:13: note: in expansion of macro ‘PKIX_INCREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3465:13: note: in expansion of macro ‘PKIX_INCREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3467:13: note: in expansion of macro ‘PKIX_INCREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3495:13: note: in expansion of macro ‘PKIX_CHECK_ONLY_FATAL’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:332:28: note: in definition of macro ‘PKIX_CHECK_ONLY_FATAL’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:2948:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:2965:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:2969:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:248:13: note: in definition of macro ‘PKIX_DECREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:2973:9: note: in expansion of macro ‘PKIX_DECREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:2975:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:2995:13: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3010:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:1000:9: note: in expansion of macro ‘PKIX_NULLCHECK_THREE’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:1000:9: note: in expansion of macro ‘PKIX_NULLCHECK_THREE’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3014:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_build.c:3022:9: note: in expansion of macro ‘PKIX_CHECK_ONLY_FATAL’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:332:28: note: in definition of macro ‘PKIX_CHECK_ONLY_FATAL’
# 3021|   
# 3022|           PKIX_CHECK_ONLY_FATAL(
# 3023|->             pkix_Build_ValidateEntireChain(state, matchingAnchor,
# 3024|                                              &nbioContext, &valResult,
# 3025|                                              state->verifyNode, plContext),

Error: GCC_ANALYZER_WARNING (CWE-457): [#def164]
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_validate.c: scope_hint: In function ‘PKIX_ValidateChain’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_validate.c:1078:23: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘numAnchors’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_validate.h:13: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_validate.c:11: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_validate.c:1003:9: note: in expansion of macro ‘PKIX_NULLCHECK_TWO’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_validate.c:938:9: note: in expansion of macro ‘PKIX_NULLCHECK_THREE’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_validate.c:939:9: note: in expansion of macro ‘PKIX_NULLCHECK_THREE’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_validate.c:939:9: note: in expansion of macro ‘PKIX_NULLCHECK_THREE’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_validate.c:942:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_validate.c:946:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_validate.c:950:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_validate.c:950:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_validate.c:1006:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_validate.c:1023:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/top/pkix_validate.c:1073:9: note: in expansion of macro ‘PKIX_CHECK’
# 1076|   
# 1077|           /* try to validate the chain with each anchor */
# 1078|->         for (i = 0; i < numAnchors; i++){
# 1079|   
# 1080|                   /* get trust anchor */

Error: GCC_ANALYZER_WARNING (CWE-476): [#def165]
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c: scope_hint: In function ‘pkix_List_Duplicate’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:456:39: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.h:14: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:11: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:1193:9: note: in expansion of macro ‘PKIX_NULLCHECK_THREE’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:439:9: note: in expansion of macro ‘PKIX_NULLCHECK_TWO’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:441:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:46:9: note: in expansion of macro ‘PKIX_NULLCHECK_ONE’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:48:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:48:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:452:17: note: in expansion of macro ‘PKIX_CHECK’
#  454|                               PKIX_LISTCREATEINTERNALFAILED);
#  455|   
#  456|->                 listDuplicate->length = list->length;
#  457|   
#  458|                   PKIX_INCREF(list->item);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def166]
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c: scope_hint: In function ‘PKIX_List_AppendItem’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:1421:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:1397:9: note: in expansion of macro ‘PKIX_NULLCHECK_ONE’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:46:9: note: in expansion of macro ‘PKIX_NULLCHECK_ONE’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:48:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:48:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:1416:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:1420:9: note: in expansion of macro ‘PKIX_INCREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:1420:9: note: in expansion of macro ‘PKIX_INCREF’
# 1419|   
# 1420|           PKIX_INCREF(item);
# 1421|->         newElement->item = item;
# 1422|   
# 1423|           PKIX_CHECK(PKIX_PL_Object_InvalidateCache

Error: GCC_ANALYZER_WARNING (CWE-476): [#def167]
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c: scope_hint: In function ‘PKIX_List_InsertItem’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:1471:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:1452:9: note: in expansion of macro ‘PKIX_NULLCHECK_ONE’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:46:9: note: in expansion of macro ‘PKIX_NULLCHECK_ONE’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:48:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:48:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:1464:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:524:9: note: in expansion of macro ‘PKIX_NULLCHECK_TWO’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:1468:13: note: in expansion of macro ‘PKIX_CHECK’
# 1469|                          PKIX_LISTGETELEMENTFAILED);
# 1470|               /* Copy the old element's contents into the new element */
# 1471|->             newElem->item = element->item;
# 1472|               /* Add new item to the list */
# 1473|               PKIX_INCREF(item);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def168]
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:1471:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘element’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:1452:9: note: in expansion of macro ‘PKIX_NULLCHECK_ONE’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:46:9: note: in expansion of macro ‘PKIX_NULLCHECK_ONE’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:48:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:48:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:1464:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:524:9: note: in expansion of macro ‘PKIX_NULLCHECK_TWO’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:1468:13: note: in expansion of macro ‘PKIX_CHECK’
# 1469|                          PKIX_LISTGETELEMENTFAILED);
# 1470|               /* Copy the old element's contents into the new element */
# 1471|->             newElem->item = element->item;
# 1472|               /* Add new item to the list */
# 1473|               PKIX_INCREF(item);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def169]
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:1482:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:1452:9: note: in expansion of macro ‘PKIX_NULLCHECK_ONE’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:46:9: note: in expansion of macro ‘PKIX_NULLCHECK_ONE’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:48:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:48:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:1464:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:1481:13: note: in expansion of macro ‘PKIX_INCREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:1481:13: note: in expansion of macro ‘PKIX_INCREF’
# 1480|           } else {
# 1481|               PKIX_INCREF(item);
# 1482|->             newElem->item = item;
# 1483|               newElem->next = NULL;
# 1484|               list->next = newElem;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def170]
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c: scope_hint: In function ‘PKIX_List_GetItem’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:1520:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘element’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:456:13: note: in definition of macro ‘PKIX_INCREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:1511:9: note: in expansion of macro ‘PKIX_NULLCHECK_TWO’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:524:9: note: in expansion of macro ‘PKIX_NULLCHECK_TWO’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:345:5: note: in expansion of macro ‘_PKIX_LOG_ERROR’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:349:9: note: in expansion of macro ‘PKIX_LOG_ERROR’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:533:17: note: in expansion of macro ‘PKIX_ERROR’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:1517:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:456:13: note: in definition of macro ‘PKIX_INCREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:456:13: note: in definition of macro ‘PKIX_INCREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:456:13: note: in definition of macro ‘PKIX_INCREF’
# 1518|                       PKIX_LISTGETELEMENTFAILED);
# 1519|   
# 1520|->         PKIX_INCREF(element->item);
# 1521|           *pItem = element->item;
# 1522|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def171]
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c: scope_hint: In function ‘PKIX_List_SetItem’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:1555:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘element’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:248:13: note: in definition of macro ‘PKIX_DECREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:1541:9: note: in expansion of macro ‘PKIX_NULLCHECK_ONE’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:524:9: note: in expansion of macro ‘PKIX_NULLCHECK_TWO’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:345:5: note: in expansion of macro ‘_PKIX_LOG_ERROR’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:349:9: note: in expansion of macro ‘PKIX_LOG_ERROR’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:533:17: note: in expansion of macro ‘PKIX_ERROR’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:1551:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:248:13: note: in definition of macro ‘PKIX_DECREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:248:13: note: in definition of macro ‘PKIX_DECREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:248:13: note: in definition of macro ‘PKIX_DECREF’
# 1553|   
# 1554|           /* DecRef old contents */
# 1555|->         PKIX_DECREF(element->item);
# 1556|   
# 1557|           /* Set New Contents */

Error: GCC_ANALYZER_WARNING (CWE-476): [#def172]
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c: scope_hint: In function ‘PKIX_List_DeleteItem’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:1598:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘element’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:248:13: note: in definition of macro ‘PKIX_DECREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:1584:9: note: in expansion of macro ‘PKIX_NULLCHECK_ONE’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:524:9: note: in expansion of macro ‘PKIX_NULLCHECK_TWO’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:345:5: note: in expansion of macro ‘_PKIX_LOG_ERROR’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:349:9: note: in expansion of macro ‘PKIX_LOG_ERROR’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:533:17: note: in expansion of macro ‘PKIX_ERROR’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:1594:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:248:13: note: in definition of macro ‘PKIX_DECREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:248:13: note: in definition of macro ‘PKIX_DECREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:248:13: note: in definition of macro ‘PKIX_DECREF’
# 1596|   
# 1597|           /* DecRef old contents */
# 1598|->         PKIX_DECREF(element->item);
# 1599|   
# 1600|           nextElement = element->next;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def173]
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:1623:35: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:1584:9: note: in expansion of macro ‘PKIX_NULLCHECK_ONE’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:524:9: note: in expansion of macro ‘PKIX_NULLCHECK_TWO’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:1594:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:248:13: note: in definition of macro ‘PKIX_DECREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:1598:9: note: in expansion of macro ‘PKIX_DECREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:524:9: note: in expansion of macro ‘PKIX_NULLCHECK_TWO’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_list.c:1617:25: note: in expansion of macro ‘PKIX_CHECK’
# 1621|                           prevElement = list;
# 1622|                   }
# 1623|->                 prevElement->next = NULL;
# 1624|   
# 1625|                   /* Delete the element */

Error: GCC_ANALYZER_WARNING (CWE-465): [#def174]
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_common.h:15: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_colcertstore.h:14: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_colcertstore.c:11: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_colcertstore.c: scope_hint: In function ‘pkix_pl_CollectionCertStore_GetCert’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:232:12: warning[-Wanalyzer-deref-before-check]: check of ‘colCertStoreContext’ for NULL after already dereferencing it
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_colcertstore.c:1111:17: note: in expansion of macro ‘PKIX_OBJECT_UNLOCK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_colcertstore.c:1086:9: note: in expansion of macro ‘PKIX_NULLCHECK_FOUR’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_colcertstore.c:1090:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_colcertstore.c:1098:17: note: in expansion of macro ‘PKIX_OBJECT_LOCK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_colcertstore.c:1098:17: note: in expansion of macro ‘PKIX_OBJECT_LOCK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_colcertstore.c:1098:17: note: in expansion of macro ‘PKIX_OBJECT_LOCK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:232:13: note: in definition of macro ‘PKIX_OBJECT_UNLOCK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_colcertstore.c:1111:17: note: in expansion of macro ‘PKIX_OBJECT_UNLOCK’
#  230|   #define PKIX_OBJECT_UNLOCK(obj) \
#  231|       do { \
#  232|-> 	if (obj && lockedObject == (PKIX_PL_Object *)(obj)){ \
#  233|   	    pkixTempResult = \
#  234|   		    PKIX_PL_Object_Unlock \

Error: GCC_ANALYZER_WARNING (CWE-465): [#def175]
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_logger.c: scope_hint: In function ‘PKIX_AddLogger’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:248:12: warning[-Wanalyzer-deref-before-check]: check of ‘addLogger’ for NULL after already dereferencing it
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_logger.c:1069:17: note: in expansion of macro ‘PKIX_DECREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_logger.c:988:9: note: in expansion of macro ‘PKIX_NULLCHECK_ONE’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_logger.c:990:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_logger.c:520:9: note: in expansion of macro ‘PKIX_NULLCHECK_TWO’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_logger.c:522:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_logger.c:528:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_logger.c:1008:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_logger.c:1014:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_logger.c:1020:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_logger.c:1026:17: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_logger.c:1044:17: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:248:13: note: in definition of macro ‘PKIX_DECREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_logger.c:1069:17: note: in expansion of macro ‘PKIX_DECREF’
#  246|   #define PKIX_DECREF(obj) \
#  247|       do { \
#  248|-> 	if (obj){ \
#  249|   	    pkixTempResult = PKIX_PL_Object_DecRef \
#  250|   			((PKIX_PL_Object *)(obj), plContext); \

Error: GCC_ANALYZER_WARNING (CWE-465): [#def176]
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_common.h:15: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_pk11certstore.h:14: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_pk11certstore.c:11: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_pk11certstore.c: scope_hint: In function ‘NameCacheHasFetchedCrlInfo’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:248:12: warning[-Wanalyzer-deref-before-check]: check of ‘dp’ for NULL after already dereferencing it
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_pk11certstore.c:444:9: note: in expansion of macro ‘PKIX_DECREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_pk11certstore.c:399:5: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_pk11certstore.c:444:9: note: in expansion of macro ‘PKIX_DECREF’
#  246|   #define PKIX_DECREF(obj) \
#  247|       do { \
#  248|-> 	if (obj){ \
#  249|   	    pkixTempResult = PKIX_PL_Object_DecRef \
#  250|   			((PKIX_PL_Object *)(obj), plContext); \

Error: GCC_ANALYZER_WARNING (CWE-465): [#def177]
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_logger.h:14: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_logger.c:11: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_logger.c: scope_hint: In function ‘PKIX_SetLoggers’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:248:12: warning[-Wanalyzer-deref-before-check]: check of ‘logger’ for NULL after already dereferencing it
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_logger.c:941:21: note: in expansion of macro ‘PKIX_DECREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_logger.c:861:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_logger.c:874:9: note: in expansion of macro ‘PKIX_DECREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_logger.c:878:17: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_logger.c:881:17: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_logger.c:886:21: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_logger.c:893:21: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_logger.c:899:21: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_logger.c:911:25: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_logger.c:917:21: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:248:13: note: in definition of macro ‘PKIX_DECREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_logger.c:941:21: note: in expansion of macro ‘PKIX_DECREF’
#  246|   #define PKIX_DECREF(obj) \
#  247|       do { \
#  248|-> 	if (obj){ \
#  249|   	    pkixTempResult = PKIX_PL_Object_DecRef \
#  250|   			((PKIX_PL_Object *)(obj), plContext); \

Error: GCC_ANALYZER_WARNING (CWE-476): [#def178]
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_aiamgr.c: scope_hint: In function ‘pkix_pl_AIAMgr_GetHTTPCerts’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_aiamgr.c:371:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘hcv1’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_common.h:15: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_aiamgr.h:14: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_aiamgr.c:11: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_aiamgr.c:582:9: note: in expansion of macro ‘PKIX_NULLCHECK_FOUR’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_aiamgr.c:618:17: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_aiamgr.c:625:17: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_aiamgr.c:635:17: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_aiamgr.c:248:9: note: in expansion of macro ‘PKIX_NULLCHECK_FOUR’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:345:5: note: in expansion of macro ‘_PKIX_LOG_ERROR’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:349:9: note: in expansion of macro ‘PKIX_LOG_ERROR’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_aiamgr.c:363:17: note: in expansion of macro ‘PKIX_ERROR’
#  369|           if (PKIX_ERROR_RECEIVED) {
#  370|               if (aiaMgr->client.hdata.requestSession != NULL) {
#  371|->                 (*hcv1->freeFcn)(aiaMgr->client.hdata.requestSession);
#  372|                   aiaMgr->client.hdata.requestSession = NULL;
#  373|               }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def179]
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_aiamgr.c:375:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘hcv1’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_aiamgr.c:582:9: note: in expansion of macro ‘PKIX_NULLCHECK_FOUR’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_aiamgr.c:618:17: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_aiamgr.c:625:17: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_aiamgr.c:635:17: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_aiamgr.c:248:9: note: in expansion of macro ‘PKIX_NULLCHECK_FOUR’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:345:5: note: in expansion of macro ‘_PKIX_LOG_ERROR’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:349:9: note: in expansion of macro ‘PKIX_LOG_ERROR’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_aiamgr.c:363:17: note: in expansion of macro ‘PKIX_ERROR’
#  373|               }
#  374|               if (aiaMgr->client.hdata.serverSession != NULL) {
#  375|->                 (*hcv1->freeSessionFcn)(aiaMgr->client.hdata.serverSession);
#  376|                   aiaMgr->client.hdata.serverSession = NULL;
#  377|               }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def180]
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c: scope_hint: In function ‘pkix_pl_LdapCertStore_GetCert’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:629:35: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘requestParams.nc’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_common.h:15: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.h:15: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:14: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:586:9: note: in expansion of macro ‘PKIX_NULLCHECK_THREE’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:605:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:613:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:617:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:441:9: note: in expansion of macro ‘PKIX_NULLCHECK_THREE’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_common.h:86:19: note: in definition of macro ‘PKIX_PL_NSSCALLRV’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:447:41: note: in expansion of macro ‘PORT_ArenaZAlloc’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:458:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:458:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:622:17: note: in expansion of macro ‘PKIX_CHECK’
#  627|                           PKIX_LDAPCERTSTOREMAKENAMEAVALISTFAILED);
#  628|   
#  629|->                 if (*requestParams.nc == NULL) {
#  630|                           /*
#  631|                            * The subjectName may not include any components

Error: GCC_ANALYZER_WARNING (CWE-457): [#def181]
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c: scope_hint: In function ‘pkix_pl_LdapCertStore_GetCRL’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:899:43: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘requestParams.nc’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:822:9: note: in expansion of macro ‘PKIX_NULLCHECK_THREE’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:856:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:860:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:872:17: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:882:25: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:889:25: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:248:13: note: in definition of macro ‘PKIX_DECREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:897:25: note: in expansion of macro ‘PKIX_DECREF’
#  897|                           PKIX_DECREF(issuer);
#  898|   
#  899|->                         if (*requestParams.nc == NULL) {
#  900|                                   /*
#  901|                                           * The issuer may not include any

Error: GCC_ANALYZER_WARNING (CWE-476): [#def182]
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapdefaultclient.c: scope_hint: In function ‘pkix_pl_LdapDefaultClient_VerifyBindResponse’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapdefaultclient.c:372:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘msg.protocolOp.op.bindMsg.version.data’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_common.h:15: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapdefaultclient.h:15: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapdefaultclient.c:14: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapdefaultclient.c:2391:9: note: in expansion of macro ‘PKIX_NULLCHECK_THREE’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapdefaultclient.c:2393:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapdefaultclient.c:2057:9: note: in expansion of macro ‘PKIX_NULLCHECK_ONE’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapdefaultclient.c:1855:9: note: in expansion of macro ‘PKIX_NULLCHECK_TWO’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapdefaultclient.c:2116:25: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapdefaultclient.c:1408:9: note: in expansion of macro ‘PKIX_NULLCHECK_ONE’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapdefaultclient.c:1412:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapdefaultclient.c:362:9: note: in expansion of macro ‘PKIX_NULLCHECK_TWO’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapdefaultclient.c:304:9: note: in expansion of macro ‘PKIX_NULLCHECK_FOUR’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_common.h:82:10: note: in definition of macro ‘PKIX_PL_NSSCALL’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapdefaultclient.c:308:17: note: in expansion of macro ‘PORT_Memset’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapdefaultclient.c:367:9: note: in expansion of macro ‘PKIX_CHECK’
#  370|   
#  371|           if (rv == SECSuccess) {
#  372|->                 if (*(ldapBindResponse->resultCode.data) == SUCCESS) {
#  373|                           client->connectStatus = BOUND;
#  374|                   } else {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def183]
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapdefaultclient.c: scope_hint: In function ‘pkix_pl_LdapDefaultClient_Bind’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapdefaultclient.c:1195:42: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘encoded’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapdefaultclient.c:2391:9: note: in expansion of macro ‘PKIX_NULLCHECK_THREE’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapdefaultclient.c:2393:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapdefaultclient.c:2057:9: note: in expansion of macro ‘PKIX_NULLCHECK_ONE’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapdefaultclient.c:1183:9: note: in expansion of macro ‘PKIX_NULLCHECK_ONE’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapdefaultclient.c:1187:17: note: in expansion of macro ‘PKIX_CHECK’
# 1193|                           plContext),
# 1194|                           PKIX_LDAPDEFAULTCLIENTMAKEBINDFAILED);
# 1195|->                 client->bindMsg = encoded->data;
# 1196|                   client->bindMsgLen = encoded->len;
# 1197|           }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def184]
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapdefaultclient.c: scope_hint: In function ‘PKIX_PL_LdapDefaultClient_AbandonRequest’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapdefaultclient.c:2470:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘encoded’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapdefaultclient.c:2459:9: note: in expansion of macro ‘PKIX_NULLCHECK_ONE’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapdefaultclient.c:2462:17: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
# 2468|   
# 2469|                   callbackList = (PKIX_PL_Socket_Callback *)(client->callbackList);
# 2470|->                 PKIX_CHECK(callbackList->sendCallback
# 2471|                           (client->clientSocket,
# 2472|                           encoded->data,

Error: GCC_ANALYZER_WARNING (CWE-457): [#def185]
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_pk11certstore.c: scope_hint: In function ‘DownloadCrl’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_pk11certstore.c:882:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘myHttpResponseDataLen’
nss-3.105.0-build/nss-3.105/nss/lib/util/secerr.h:8: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/include/pkixt.h:17: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/include/pkix.h:14: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:14: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_pk11certstore.c:810:17: note: in expansion of macro ‘PORT_SetError’
#  880|           derGenName = *dp->nssdp->derFullName;
#  881|       } else {
#  882|->         SECItem derCrl = { siBuffer,
#  883|                              (void*)myHttpResponseData,
#  884|                              myHttpResponseDataLen };

Error: GCC_ANALYZER_WARNING (CWE-476): [#def186]
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crlentry.c: scope_hint: In function ‘pkix_pl_CRLEntry_Create’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crlentry.c:764:40: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_common.h:15: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crlentry.h:14: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crlentry.c:11: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crlentry.c:742:9: note: in expansion of macro ‘PKIX_NULLCHECK_ONE’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crlentry.c:746:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crlentry.c:682:9: note: in expansion of macro ‘PKIX_NULLCHECK_TWO’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crlentry.c:684:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crlentry.c:684:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crlentry.c:751:17: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crlentry.c:760:17: note: in expansion of macro ‘PKIX_CHECK’
#  762|                               PKIX_BIGINTCREATEWITHBYTESFAILED);
#  763|   
#  764|->                 crlEntry->serialNumber = serialNumber;
#  765|                   crlEntry->nssCrlEntry = *entries;
#  766|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def187]
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_nameconstraints.c: scope_hint: In function ‘pkix_pl_CertNameConstraints_Create’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_nameconstraints.c:849:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_common.h:15: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_nameconstraints.h:14: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_nameconstraints.c:11: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_nameconstraints.c:813:9: note: in expansion of macro ‘PKIX_NULLCHECK_THREE’
nss-3.105.0-build/nss-3.105/nss/lib/util/secerr.h:8: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/include/pkixt.h:17: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/include/pkix.h:14: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:14: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_nameconstraints.c:816:17: note: in expansion of macro ‘PORT_NewArena’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_nameconstraints.c:744:9: note: in expansion of macro ‘PKIX_NULLCHECK_TWO’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_nameconstraints.c:845:9: note: in expansion of macro ‘PKIX_CHECK’
#  847|                       PKIX_CERTNAMECONSTRAINTSCREATEHELPERFAILED);
#  848|   
#  849|->         nameConstraints->arena = arena;
#  850|   
#  851|           *pNameConstraints = nameConstraints;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def188]
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_nameconstraints.c: scope_hint: In function ‘pkix_pl_CertNameConstraints_Merge’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_nameconstraints.c:1122:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘nameConstraints’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_nameconstraints.c:1109:9: note: in expansion of macro ‘PKIX_NULLCHECK_THREE’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_nameconstraints.c:900:9: note: in expansion of macro ‘PKIX_NULLCHECK_ONE’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_nameconstraints.c:903:17: note: in expansion of macro ‘PORT_NewArena’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_nameconstraints.c:1111:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
# 1120|           /* Free the default space (only one entry) allocated by create */
# 1121|           PKIX_CHECK(PKIX_PL_Free
# 1122|->                     (nameConstraints->nssNameConstraintsList, plContext),
# 1123|                       PKIX_FREEFAILED);
# 1124|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def189]
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c: scope_hint: In function ‘pkix_pl_Object_Destroy’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:164:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘objectHeader’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_common.h:15: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.h:14: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:11: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1277:9: note: in expansion of macro ‘PKIX_NULLCHECK_ONE’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:71:9: note: in expansion of macro ‘PKIX_NULLCHECK_TWO’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1280:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1283:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1290:9: note: in expansion of macro ‘PKIX_DECREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1290:9: note: in expansion of macro ‘PKIX_DECREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1290:9: note: in expansion of macro ‘PKIX_DECREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:826:9: note: in expansion of macro ‘PKIX_NULLCHECK_ONE’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:71:9: note: in expansion of macro ‘PKIX_NULLCHECK_TWO’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:845:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nspr/pr/include/nspr.h:9: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_common.h:36: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nspr/pr/include/pratom.h:121:55: note: in definition of macro ‘PR_ATOMIC_DECREMENT’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:153:9: note: in expansion of macro ‘PKIX_NULLCHECK_ONE’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:71:9: note: in expansion of macro ‘PKIX_NULLCHECK_TWO’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:159:9: note: in expansion of macro ‘PKIX_CHECK’
#  162|   
#  163|           /* Attempt to delete an object still being used */
#  164|->         if (objectHeader->references != 0) {
#  165|                   PKIX_ERROR_FATAL(PKIX_OBJECTSTILLREFERENCED);
#  166|           }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def190]
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c: scope_hint: In function ‘PKIX_PL_Object_DecRef’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:853:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘objectHeader’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1277:9: note: in expansion of macro ‘PKIX_NULLCHECK_ONE’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:71:9: note: in expansion of macro ‘PKIX_NULLCHECK_TWO’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1280:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1283:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1290:9: note: in expansion of macro ‘PKIX_DECREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1290:9: note: in expansion of macro ‘PKIX_DECREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1290:9: note: in expansion of macro ‘PKIX_DECREF’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:826:9: note: in expansion of macro ‘PKIX_NULLCHECK_ONE’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:71:9: note: in expansion of macro ‘PKIX_NULLCHECK_TWO’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:845:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nspr/pr/include/pratom.h:121:55: note: in definition of macro ‘PR_ATOMIC_DECREMENT’
nss-3.105.0-build/nss-3.105/nspr/pr/include/pratom.h:121:55: note: in definition of macro ‘PR_ATOMIC_DECREMENT’
#  851|               PKIX_PL_DestructorCallback destructor = NULL;
#  852|               pkix_ClassTable_Entry *ctEntry = NULL;
#  853|->             PKIX_UInt32 objType = objectHeader->type;
#  854|               
#  855|               /* first, special handling for system types */

Error: GCC_ANALYZER_WARNING (CWE-476): [#def191]
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c: scope_hint: In function ‘PKIX_PL_Object_ToString’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1190:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘objectHeader’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1183:9: note: in expansion of macro ‘PKIX_NULLCHECK_TWO’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:71:9: note: in expansion of macro ‘PKIX_NULLCHECK_TWO’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1186:9: note: in expansion of macro ‘PKIX_CHECK’
# 1188|   
# 1189|           /* if we don't have a cached copy from before, we create one */
# 1190|->         if (!objectHeader->stringRep){
# 1191|   
# 1192|                   PKIX_UInt32 objType = objectHeader->type;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def192]
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c: scope_hint: In function ‘PKIX_PL_Object_InvalidateCache’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1287:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1277:9: note: in expansion of macro ‘PKIX_NULLCHECK_ONE’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:71:9: note: in expansion of macro ‘PKIX_NULLCHECK_TWO’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1280:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1283:9: note: in expansion of macro ‘PKIX_CHECK’
# 1285|   
# 1286|           /* invalidate hashcode */
# 1287|->         objectHeader->hashcode = 0;
# 1288|           objectHeader->hashcodeCached = PKIX_FALSE;
# 1289|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def193]
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c: scope_hint: In function ‘PKIX_PL_Object_Compare’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1329:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘firstObjectHeader’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1317:9: note: in expansion of macro ‘PKIX_NULLCHECK_THREE’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:71:9: note: in expansion of macro ‘PKIX_NULLCHECK_TWO’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1320:9: note: in expansion of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:71:9: note: in expansion of macro ‘PKIX_NULLCHECK_TWO’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1325:9: note: in expansion of macro ‘PKIX_CHECK’
# 1327|                       PKIX_RECEIVEDCORRUPTEDOBJECTARGUMENT);
# 1328|   
# 1329|->         objType = firstObjectHeader->type;
# 1330|   
# 1331|           if (objType >= PKIX_NUMTYPES){

Error: GCC_ANALYZER_WARNING (CWE-476): [#def194]
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c: scope_hint: In function ‘PKIX_PL_Object_GetType’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1435:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘objectHeader’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1429:9: note: in expansion of macro ‘PKIX_NULLCHECK_TWO’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:71:9: note: in expansion of macro ‘PKIX_NULLCHECK_TWO’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix/util/pkix_tools.h:309:28: note: in definition of macro ‘PKIX_CHECK’
nss-3.105.0-build/nss-3.105/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1432:9: note: in expansion of macro ‘PKIX_CHECK’
# 1433|                       PKIX_RECEIVEDCORRUPTEDOBJECTARGUMENT);
# 1434|   
# 1435|->         *pType = objectHeader->type;
# 1436|   
# 1437|   cleanup:

Error: GCC_ANALYZER_WARNING (CWE-775): [#def195]
nss-3.105.0-build/nss-3.105/nss/lib/pk11wrap/pk11load.c:31: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/pk11wrap/debug_module.c: scope_hint: In function ‘print_final_statistics’
nss-3.105.0-build/nss-3.105/nss/lib/pk11wrap/debug_module.c:3454:1: warning[-Wanalyzer-file-leak]: leak of FILE ‘outfile’
# 3452|           fclose(outfile);
# 3453|       }
# 3454|-> }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def196]
nss-3.105.0-build/nss-3.105/nss/lib/pk11wrap/debug_module.c:3454:1: warning[-Wanalyzer-malloc-leak]: leak of ‘outfile’
# 3452|           fclose(outfile);
# 3453|       }
# 3454|-> }

Error: CPPCHECK_WARNING (CWE-909): [#def197]
nss-3.105.0-build/nss-3.105/nss/lib/pkcs7/p7decode.c:1652: error[uninitStructMember]: Uninitialized struct member: holder.len
# 1650|           if (sigkey != NULL) {
# 1651|               PORT_Assert(sig == &holder);
# 1652|->             PORT_ZFree(holder.data, holder.len);
# 1653|           }
# 1654|       }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def198]
nss-3.105.0-build/nss-3.105/nss/lib/pki/pki3hack.c: scope_hint: In function ‘cert_dump_iter’
nss-3.105.0-build/nss-3.105/nss/lib/pki/pki3hack.c:1494:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 1492|       NSSCertificate *c = (NSSCertificate *)k;
# 1493|       CERTCertificate *cert = STAN_GetCERTCertificate(c);
# 1494|->     printf("[%2d] \"%s\"\n", c->object.refCount, cert->subjectName);
# 1495|   }
# 1496|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def199]
nss-3.105.0-build/nss-3.105/nss/lib/softoken/kbkdf.c: scope_hint: In function ‘kbkdf_CalculateIterations’
nss-3.105.0-build/nss-3.105/nss/lib/softoken/kbkdf.c:502:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  500|           PR_ASSERT(param_ptr != NULL);
#  501|   
#  502|->         r = ((CK_SP800_108_COUNTER_FORMAT_PTR)param_ptr)->ulWidthInBits;
#  503|       } else {
#  504|           param_ptr = kbkdf_FindParameter(params, CK_SP800_108_COUNTER);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def200]
nss-3.105.0-build/nss-3.105/nss/lib/softoken/pkcs11c.c: scope_hint: In function ‘NSC_DeriveKey’
nss-3.105.0-build/nss-3.105/nss/lib/softoken/pkcs11c.c:8865:26: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘secret’
nss-3.105.0-build/nss-3.105/nss/lib/softoken/pkcs11c.c:29: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/softoken/pkcs11i.h:506:8: note: in definition of macro ‘sftk_isFIPS’
nss-3.105.0-build/nss-3.105/nss/lib/softoken/pkcs11i.h:587:57: note: in definition of macro ‘sftk_attr_expand’
nss-3.105.0-build/nss-3.105/nss/lib/softoken/pkcs11i.h:587:57: note: in definition of macro ‘sftk_attr_expand’
# 8863|                       break;
# 8864|                   }
# 8865|->                 tmp.data = secret;
# 8866|                   tmp.len = secretlen;
# 8867|               }

Error: CPPCHECK_WARNING (CWE-190): [#def201]
nss-3.105.0-build/nss-3.105/nss/lib/softoken/pkcs11u.c:1308: error[integerOverflow]: Signed integer overflow for expression '0-1'.
# 1306|       if (so) {
# 1307|           PZ_Lock(session->objectLock);
# 1308|->         sftkqueue_add(&so->sessionList, 0, session->objects, 0);
# 1309|           so->session = session;
# 1310|           PZ_Unlock(session->objectLock);

Error: CPPCHECK_WARNING (CWE-190): [#def202]
nss-3.105.0-build/nss-3.105/nss/lib/softoken/pkcs11u.c:1331: error[integerOverflow]: Signed integer overflow for expression '0-1'.
# 1329|           session = so->session;
# 1330|           PZ_Lock(session->objectLock);
# 1331|->         sftkqueue_delete(&so->sessionList, 0, session->objects, 0);
# 1332|           PZ_Unlock(session->objectLock);
# 1333|           PZ_Lock(slot->objectLock);

Error: CPPCHECK_WARNING (CWE-758): [#def203]
nss-3.105.0-build/nss-3.105/nss/lib/softoken/pkcs11u.c:2140: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 2138|   {
# 2139|       PR_STATIC_ASSERT(CKR_OK == 0);
# 2140|->     return ~PORT_CT_NOT_ZERO(rv);
# 2141|   }
# 2142|   

Error: CPPCHECK_WARNING (CWE-758): [#def204]
nss-3.105.0-build/nss-3.105/nss/lib/softoken/pkcs11u.c:2154: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 2152|   
# 2153|       /* If padSize <= blockSize, set goodPad to all-1s and all-0s otherwise.*/
# 2154|->     unsigned int goodPad = PORT_CT_DUPLICATE_MSB_TO_ALL(~(blockSize - padSize));
# 2155|       /* padSize should not be 0 */
# 2156|       goodPad &= PORT_CT_NOT_ZERO(padSize);

Error: CPPCHECK_WARNING (CWE-758): [#def205]
nss-3.105.0-build/nss-3.105/nss/lib/softoken/pkcs11u.c:2156: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 2154|       unsigned int goodPad = PORT_CT_DUPLICATE_MSB_TO_ALL(~(blockSize - padSize));
# 2155|       /* padSize should not be 0 */
# 2156|->     goodPad &= PORT_CT_NOT_ZERO(padSize);
# 2157|   
# 2158|       unsigned int i;

Error: CPPCHECK_WARNING (CWE-758): [#def206]
nss-3.105.0-build/nss-3.105/nss/lib/softoken/pkcs11u.c:2161: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 2159|       for (i = 0; i < blockSize; i++) {
# 2160|           /* If i < padSize, set loopMask to all-1s and all-0s otherwise.*/
# 2161|->         unsigned int loopMask = PORT_CT_DUPLICATE_MSB_TO_ALL(~(padSize - 1 - i));
# 2162|           /* Get the padding value (should be padSize) from buffer */
# 2163|           unsigned int padVal = pBuf[bufLen - 1 - i];

Error: CPPCHECK_WARNING (CWE-758): [#def207]
nss-3.105.0-build/nss-3.105/nss/lib/softoken/pkcs11u.c:2175: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 2173|       goodPad &= goodPad >> 1;
# 2174|       goodPad <<= sizeof(goodPad) * 8 - 1;
# 2175|->     goodPad = PORT_CT_DUPLICATE_MSB_TO_ALL(goodPad);
# 2176|   
# 2177|       /* Set outPadSize to padSize or 0 */

Error: GCC_ANALYZER_WARNING (CWE-401): [#def208]
nss-3.105.0-build/nss-3.105/nss/lib/softoken/sdb.c: scope_hint: In function ‘sdb_init’
nss-3.105.0-build/nss-3.105/nss/lib/softoken/sdb.c:2257:40: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
# 2255|                   if (backedAttrs == schemaAttrsCapacity) {
# 2256|                       schemaAttrsCapacity += known_attributes_size;
# 2257|->                     sdb_p->schemaAttrs = realloc(sdb_p->schemaAttrs,
# 2258|                                                    schemaAttrsCapacity * sizeof(CK_ATTRIBUTE_TYPE));
# 2259|                       if (!sdb_p->schemaAttrs) {

Error: CPPCHECK_WARNING (CWE-758): [#def209]
nss-3.105.0-build/nss-3.105/nss/lib/ssl/ssl3con.c:12945: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#12943|   SECStatusToMask(SECStatus rv)
#12944|   {
#12945|->     return PORT_CT_EQ(rv, SECSuccess);
#12946|   }
#12947|   

Error: CPPCHECK_WARNING (CWE-758): [#def210]
nss-3.105.0-build/nss-3.105/nss/lib/ssl/ssl3con.c:12952: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#12950|   ssl_ConstantTimeGE(unsigned int a, unsigned int b)
#12951|   {
#12952|->     return PORT_CT_GE(a, b);
#12953|   }
#12954|   

Error: CPPCHECK_WARNING (CWE-758): [#def211]
nss-3.105.0-build/nss-3.105/nss/lib/ssl/ssl3con.c:12959: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#12957|   ssl_ConstantTimeEQ(unsigned char a, unsigned char b)
#12958|   {
#12959|->     return PORT_CT_EQ(a, b);
#12960|   }
#12961|   

Error: CPPCHECK_WARNING (CWE-758): [#def212]
nss-3.105.0-build/nss-3.105/nss/lib/ssl/ssl3con.c:12985: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#12983|       paddingLength = plaintext->buf[plaintext->len - 1];
#12984|       /* SSLv3 padding bytes are random and cannot be checked. */
#12985|->     good = PORT_CT_GE(plaintext->len, paddingLength + overhead);
#12986|       /* SSLv3 requires that the padding is minimal. */
#12987|       good &= PORT_CT_GE(blockSize, paddingLength + 1);

Error: CPPCHECK_WARNING (CWE-758): [#def213]
nss-3.105.0-build/nss-3.105/nss/lib/ssl/ssl3con.c:12987: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#12985|       good = PORT_CT_GE(plaintext->len, paddingLength + overhead);
#12986|       /* SSLv3 requires that the padding is minimal. */
#12987|->     good &= PORT_CT_GE(blockSize, paddingLength + 1);
#12988|       plaintext->len -= good & (paddingLength + 1);
#12989|       return (good & SECSuccess) | (~good & SECFailure);

Error: CPPCHECK_WARNING (CWE-758): [#def214]
nss-3.105.0-build/nss-3.105/nss/lib/ssl/ssl3con.c:13005: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#13003|   
#13004|       paddingLength = plaintext->buf[plaintext->len - 1];
#13005|->     good = PORT_CT_GE(plaintext->len, paddingLength + overhead);
#13006|   
#13007|       /* The padding consists of a length byte at the end of the record and then

Error: CPPCHECK_WARNING (CWE-758): [#def215]
nss-3.105.0-build/nss-3.105/nss/lib/ssl/ssl3con.c:13024: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#13022|           /* If i <= paddingLength then the MSB of t is zero and mask is
#13023|            * 0xff.  Otherwise, mask is 0. */
#13024|->         unsigned char mask = PORT_CT_LE(i, paddingLength);
#13025|           unsigned char b = plaintext->buf[plaintext->len - 1 - i];
#13026|           /* The final |paddingLength+1| bytes should all have the value

Error: CPPCHECK_WARNING (CWE-758): [#def216]
nss-3.105.0-build/nss-3.105/nss/lib/ssl/ssl3con.c:13039: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#13037|       good &= good >> 1;
#13038|       good <<= sizeof(good) * 8 - 1;
#13039|->     good = PORT_CT_DUPLICATE_MSB_TO_ALL(good);
#13040|   
#13041|       plaintext->len -= good & (paddingLength + 1);

Error: CPPCHECK_WARNING (CWE-457): [#def217]
nss-3.105.0-build/nss-3.105/nss/lib/ssl/ssl3con.c:14030: warning[uninitvar]: Uninitialized variable: schemes
#14028|           schemes[i] = (algorithms[i].hashAlg << 8) | algorithms[i].sigAlg;
#14029|       }
#14030|->     return SSL_SignatureSchemePrefSet(fd, schemes, count);
#14031|   }
#14032|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def218]
nss-3.105.0-build/nss-3.105/nss/lib/ssl/sslsock.c:14: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/ssl/sslsock.c: scope_hint: In function ‘SSL_ReconfigFD’
nss-3.105.0-build/nss-3.105/nss/lib/ssl/sslexp.h:23:13: warning[-Wanalyzer-jump-through-null]: jump through null pointer
nss-3.105.0-build/nss-3.105/nss/lib/ssl/sslexp.h:155:5: note: in expansion of macro ‘SSL_EXPERIMENTAL_API’
nss-3.105.0-build/nss-3.105/nss/lib/ssl/sslsock.c:2493:14: note: in expansion of macro ‘SSL_InstallExtensionHooks’
nss-3.105.0-build/nss-3.105/nss/lib/ssl/sslexp.h:155:5: note: in expansion of macro ‘SSL_EXPERIMENTAL_API’
nss-3.105.0-build/nss-3.105/nss/lib/ssl/sslsock.c:2493:14: note: in expansion of macro ‘SSL_InstallExtensionHooks’
nss-3.105.0-build/nss-3.105/nss/lib/ssl/sslexp.h:155:5: note: in expansion of macro ‘SSL_EXPERIMENTAL_API’
nss-3.105.0-build/nss-3.105/nss/lib/ssl/sslsock.c:2493:14: note: in expansion of macro ‘SSL_InstallExtensionHooks’
nss-3.105.0-build/nss-3.105/nss/lib/ssl/sslexp.h:155:5: note: in expansion of macro ‘SSL_EXPERIMENTAL_API’
nss-3.105.0-build/nss-3.105/nss/lib/ssl/sslsock.c:2493:14: note: in expansion of macro ‘SSL_InstallExtensionHooks’
nss-3.105.0-build/nss-3.105/nss/lib/ssl/sslexp.h:155:5: note: in expansion of macro ‘SSL_EXPERIMENTAL_API’
nss-3.105.0-build/nss-3.105/nss/lib/ssl/sslsock.c:2493:14: note: in expansion of macro ‘SSL_InstallExtensionHooks’
nss-3.105.0-build/nss-3.105/nss/lib/ssl/sslexp.h:155:5: note: in expansion of macro ‘SSL_EXPERIMENTAL_API’
nss-3.105.0-build/nss-3.105/nss/lib/ssl/sslsock.c:2493:14: note: in expansion of macro ‘SSL_InstallExtensionHooks’
nss-3.105.0-build/nss-3.105/nss/lib/ssl/sslexp.h:155:5: note: in expansion of macro ‘SSL_EXPERIMENTAL_API’
nss-3.105.0-build/nss-3.105/nss/lib/ssl/sslsock.c:2493:14: note: in expansion of macro ‘SSL_InstallExtensionHooks’
nss-3.105.0-build/nss-3.105/nss/lib/ssl/sslexp.h:155:5: note: in expansion of macro ‘SSL_EXPERIMENTAL_API’
nss-3.105.0-build/nss-3.105/nss/lib/ssl/sslsock.c:2493:14: note: in expansion of macro ‘SSL_InstallExtensionHooks’
nss-3.105.0-build/nss-3.105/nss/lib/ssl/sslexp.h:155:5: note: in expansion of macro ‘SSL_EXPERIMENTAL_API’
nss-3.105.0-build/nss-3.105/nss/lib/ssl/sslsock.c:2493:14: note: in expansion of macro ‘SSL_InstallExtensionHooks’
#   21|   #define SSL_EXPERIMENTAL_API(name, arglist, args)                   \
#   22|       (SSL_GetExperimentalAPI(name)                                   \
#   23|->          ? ((SECStatus(*) arglist)SSL_GetExperimentalAPI(name))args \
#   24|            : SECFailure)
#   25|   #define SSL_DEPRECATED_EXPERIMENTAL_API \

Error: GCC_ANALYZER_WARNING (CWE-457): [#def219]
nss-3.105.0-build/nss-3.105/nss/lib/ssl/sslinfo.c: scope_hint: In function ‘SSL_GetChannelInfo’
nss-3.105.0-build/nss-3.105/nss/lib/ssl/sslinfo.c:117:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘&inf’
#  115|       }
#  116|   
#  117|->     memcpy(info, &inf, inf.length);
#  118|   
#  119|       return SECSuccess;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def220]
nss-3.105.0-build/nss-3.105/nss/lib/ssl/sslinfo.c: scope_hint: In function ‘SSL_GetPreliminaryChannelInfo’
nss-3.105.0-build/nss-3.105/nss/lib/ssl/sslinfo.c:185:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘&inf’
#  183|       inf.echPublicName = (inf.echAccepted == PR_FALSE) ? ss->ssl3.hs.echPublicName : NULL;
#  184|   
#  185|->     memcpy(info, &inf, inf.length);
#  186|       return SECSuccess;
#  187|   }

Error: GCC_ANALYZER_WARNING (CWE-835): [#def221]
nss-3.105.0-build/nss-3.105/nss/lib/ssl/sslnonce.c: scope_hint: In function ‘SSL_ClearSessionCache’
nss-3.105.0-build/nss-3.105/nss/lib/ssl/sslnonce.c:1170:18: warning[-Wanalyzer-infinite-loop]: infinite loop
# 1168|   {
# 1169|       LOCK_CACHE;
# 1170|->     while (cache != NULL)
# 1171|           UncacheSID(cache);
# 1172|       UNLOCK_CACHE;

Error: CPPCHECK_WARNING (CWE-758): [#def222]
nss-3.105.0-build/nss-3.105/nss/lib/ssl/tls13con.c:6447: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 6445|   
# 6446|       /* Return "disallowed" if the message mask bit isn't set. */
# 6447|->     if (!(_M(message) & KnownExtensions[i].messages)) {
# 6448|           return tls13_extension_disallowed;
# 6449|       }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def223]
nss-3.105.0-build/nss-3.105/nss/lib/ssl/tls13ech.c: scope_hint: In function ‘tls13_MaybeHandleEch’
nss-3.105.0-build/nss-3.105/nss/lib/ssl/tls13ech.c:2326:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘tmpEchInner’
# 2324|   
# 2325|           /* Start over on ECHInner */
# 2326|->         b = tmpEchInner->data;
# 2327|           length = tmpEchInner->len;
# 2328|           rv = ssl3_HandleClientHelloPreamble(ss, &b, &length, &tmpSid,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def224]
nss-3.105.0-build/nss-3.105/nss/lib/util/secitem.c: scope_hint: In function ‘SECITEM_CopyItem_Util’
nss-3.105.0-build/nss-3.105/nss/lib/util/secitem.c:260:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘to’
nss-3.105.0-build/nss-3.105/nss/lib/util/seccomon.h:16: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/util/secitem.c:9: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/util/secitem.c:370:22: note: in expansion of macro ‘PORT_ZAlloc’
nss-3.105.0-build/nss-3.105/nss/lib/util/secitem.c:472:24: note: in expansion of macro ‘SECITEM_CopyItem’
nss-3.105.0-build/nss-3.105/nss/lib/util/secitem.c:472:24: note: in expansion of macro ‘SECITEM_CopyItem’
nss-3.105.0-build/nss-3.105/nss/lib/util/secitem.c:258:1: note: in expansion of macro ‘SECITEM_CopyItem’
#  258|   SECITEM_CopyItem(PLArenaPool *arena, SECItem *to, const SECItem *from)
#  259|   {
#  260|->     to->type = from->type;
#  261|       if (from->data && from->len) {
#  262|           if (arena) {

Error: GCC_ANALYZER_WARNING (CWE-688): [#def225]
nss-3.105.0-build/nss-3.105/nss/lib/util/seccomon.h:27: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/pk11wrap/pk11cxt.c:9: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/pk11wrap/pk11cxt.c: scope_hint: In function ‘PK11_CipherOp’
nss-3.105.0-build/nss-3.105/nss/lib/util/secport.h:177:21: warning[-Wanalyzer-null-argument]: use of NULL ‘allocOut’ where non-null expected
nss-3.105.0-build/nss-3.105/nss/lib/pk11wrap/pk11cxt.c:936:13: note: in expansion of macro ‘PORT_Memcpy’
nss-3.105.0-build/nss-3.105/nss/lib/util/seccomon.h:16: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/pk11wrap/pk11cxt.c:926:9: note: in expansion of macro ‘PORT_SetError’
nss-3.105.0-build/nss-3.105/nss/lib/pk11wrap/pk11cxt.c:936:13: note: in expansion of macro ‘PORT_Memcpy’
nss-3.105.0-build/nss-3.105/nss/lib/pk11wrap/pk11cxt.c:936:13: note: in expansion of macro ‘PORT_Memcpy’
<built-in>: note: argument 2 of ‘__builtin_memcpy’ must be non-null
#  175|   
#  176|   #define PORT_Memcmp memcmp
#  177|-> #define PORT_Memcpy memcpy
#  178|   #define PORT_Memmove memmove
#  179|   #define PORT_Memset memset

Error: GCC_ANALYZER_WARNING (CWE-688): [#def226]
nss-3.105.0-build/nss-3.105/nss/lib/util/seccomon.h:27: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/smime/cms.h:12: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/smime/cmslocal.h:17: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/smime/cmsdecode.c:9: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/smime/cmsdecode.c: scope_hint: In function ‘nss_cms_decoder_work_data’
nss-3.105.0-build/nss-3.105/nss/lib/util/secport.h:177:21: warning[-Wanalyzer-null-argument]: use of NULL ‘data’ where non-null expected
nss-3.105.0-build/nss-3.105/nss/lib/smime/cmsdecode.c:549:9: note: in expansion of macro ‘PORT_Memcpy’
nss-3.105.0-build/nss-3.105/nss/lib/smime/cmsdecode.c:549:9: note: in expansion of macro ‘PORT_Memcpy’
<built-in>: note: argument 2 of ‘__builtin_memcpy’ must be non-null
#  175|   
#  176|   #define PORT_Memcmp memcmp
#  177|-> #define PORT_Memcpy memcpy
#  178|   #define PORT_Memmove memmove
#  179|   #define PORT_Memset memset

Error: GCC_ANALYZER_WARNING (CWE-126): [#def227]
nss-3.105.0-build/nss-3.105/nss/lib/util/seccomon.h:27: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/freebl/blapit.h:11: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/freebl/blapi.h:11: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/freebl/rsapkcs.c:15: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/freebl/rsapkcs.c: scope_hint: In function ‘rsa_HMACPrf’
nss-3.105.0-build/nss-3.105/nss/lib/util/secport.h:177:21: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
nss-3.105.0-build/nss-3.105/nss/lib/freebl/rsapkcs.c:1045:9: note: in expansion of macro ‘PORT_Memcpy’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/rsapkcs.c:1045:9: note: in expansion of macro ‘PORT_Memcpy’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/rsapkcs.c:1045:9: note: in expansion of macro ‘PORT_Memcpy’
nss-3.105.0-build/nss-3.105/nss/lib/util/secport.h:177:21: note: read of 192 bytes from after the end of ‘hmacLast’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/rsapkcs.c:1045:9: note: in expansion of macro ‘PORT_Memcpy’
nss-3.105.0-build/nss-3.105/nss/lib/util/secport.h:177:21: note: valid subscripts for ‘hmacLast’ are ‘[0]’ to ‘[63]’
nss-3.105.0-build/nss-3.105/nss/lib/freebl/rsapkcs.c:1045:9: note: in expansion of macro ‘PORT_Memcpy’
#  175|   
#  176|   #define PORT_Memcmp memcmp
#  177|-> #define PORT_Memcpy memcpy
#  178|   #define PORT_Memmove memmove
#  179|   #define PORT_Memset memset

Error: GCC_ANALYZER_WARNING (CWE-457): [#def228]
nss-3.105.0-build/nss-3.105/nss/lib/util/seccomon.h:27: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/util/secoid.h:16: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/pk11wrap/secmodt.h:9: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/dev/devt.h:30: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/dev/dev.h:19: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/dev/devm.h:13: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/dev/devtoken.c:8: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/dev/devtoken.c: scope_hint: In function ‘find_objects’
nss-3.105.0-build/nss-3.105/nss/lib/util/secport.h:177:21: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘&staticObjects’
nss-3.105.0-build/nss-3.105/nss/lib/dev/devtoken.c:304:17: note: in expansion of macro ‘PORT_Memcpy’
nss-3.105.0-build/nss-3.105/nss/lib/dev/devm.h:9: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/dev/devtoken.c:302:29: note: in expansion of macro ‘nss_ZNEWARRAY’
nss-3.105.0-build/nss-3.105/nss/lib/dev/devtoken.c:304:17: note: in expansion of macro ‘PORT_Memcpy’
nss-3.105.0-build/nss-3.105/nss/lib/dev/devtoken.c:304:17: note: in expansion of macro ‘PORT_Memcpy’
#  175|   
#  176|   #define PORT_Memcmp memcmp
#  177|-> #define PORT_Memcpy memcpy
#  178|   #define PORT_Memmove memmove
#  179|   #define PORT_Memset memset

Error: GCC_ANALYZER_WARNING (CWE-457): [#def229]
nss-3.105.0-build/nss-3.105/nss/lib/util/seccomon.h:27: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/ssl/sslsock.c:10: included_from: Included from here.
nss-3.105.0-build/nss-3.105/nss/lib/ssl/sslsock.c: scope_hint: In function ‘SSLExp_GetResumptionTokenInfo’
nss-3.105.0-build/nss-3.105/nss/lib/util/secport.h:177:21: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘&token’
nss-3.105.0-build/nss-3.105/nss/lib/ssl/sslsock.c:4649:5: note: in expansion of macro ‘PORT_Memcpy’
nss-3.105.0-build/nss-3.105/nss/lib/ssl/sslsock.c:4649:5: note: in expansion of macro ‘PORT_Memcpy’
#  175|   
#  176|   #define PORT_Memcmp memcmp
#  177|-> #define PORT_Memcpy memcpy
#  178|   #define PORT_Memmove memmove
#  179|   #define PORT_Memset memset

Scan Properties

analyzer-version-clippy1.82.0
analyzer-version-cppcheck2.16.0
analyzer-version-gcc14.2.1
analyzer-version-gcc-analyzer15.0.0
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-134.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-namenss-3.105.0-1.fc42
store-results-to/tmp/tmpj_b8t54j/nss-3.105.0-1.fc42.tar.xz
time-created2024-11-13 02:24:41
time-finished2024-11-13 02:45:51
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpj_b8t54j/nss-3.105.0-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpj_b8t54j/nss-3.105.0-1.fc42.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9