nss-3.119.1-1.fc44

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: GCC_ANALYZER_WARNING (CWE-401): [#def3]
nss-3_119_1/nspr/config/nsinstall.c:404:16: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir("..")’
nss-3_119_1/nspr/config/nsinstall.c:399:8: acquire_memory: allocated here
nss-3_119_1/nspr/config/nsinstall.c:400:6: branch_false: following ‘false’ branch...
nss-3_119_1/nspr/config/nsinstall.c:400:6: branch_false: ...to here
nss-3_119_1/nspr/config/nsinstall.c:404:16: throw: if ‘readdir’ throws an exception...
nss-3_119_1/nspr/config/nsinstall.c:404:16: danger: ‘opendir("..")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
#  402|     }
#  403|     for (;;) {
#  404|->     if (!(ep = readdir(dp))) {
#  405|         fail("cannot find current directory");
#  406|       }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def4]
nss-3_119_1/nspr/config/nsinstall.c:424:47: warning[-Wanalyzer-malloc-leak]: leak of ‘xstrdup(&*<unknown>.d_name)’
nss-3_119_1/nspr/config/nsinstall.c:394:7: enter_function: entry to ‘ino2name’
nss-3_119_1/nspr/config/nsinstall.c:400:6: branch_false: following ‘false’ branch...
nss-3_119_1/nspr/config/nsinstall.c:400:6: branch_false: ...to here
nss-3_119_1/nspr/config/nsinstall.c:404:8: branch_false: following ‘false’ branch...
nss-3_119_1/nspr/config/nsinstall.c:407:9: branch_false: ...to here
nss-3_119_1/nspr/config/nsinstall.c:411:10: call_function: calling ‘xstrdup’ from ‘ino2name’
nss-3_119_1/nspr/config/nsinstall.c:411:10: return_function: returning to ‘ino2name’ from ‘xstrdup’
nss-3_119_1/nspr/config/nsinstall.c:412:3: throw: if ‘closedir’ throws an exception...
nss-3_119_1/nspr/config/nsinstall.c:424:47: danger: ‘xstrdup(&*<unknown>.d_name)’ leaks here; was allocated at [(10)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/9)
#  422|   }
#  423|   
#  424|-> char* xstrdup(char* s) { return strcpy((char*)xmalloc(strlen(s) + 1), s); }
#  425|   
#  426|   char* xbasename(char* path) {

Error: CPPCHECK_WARNING (CWE-457): [#def5]
nss-3_119_1/nspr/lib/ds/plhash.c:138: error[uninitvar]: Uninitialized variable: *hep
#  136|     h >>= ht->shift;
#  137|     hep = hep0 = &ht->buckets[h];
#  138|->   while ((he = *hep) != 0) {
#  139|       if (he->keyHash == keyHash && (*ht->keyCompare)(key, he->key)) {
#  140|         /* Move to front of chain if not already there */

Error: CPPCHECK_WARNING (CWE-457): [#def6]
nss-3_119_1/nspr/lib/ds/plhash.c:171: error[uninitvar]: Uninitialized variable: *hep
#  169|     h >>= ht->shift;
#  170|     hep = &ht->buckets[h];
#  171|->   while ((he = *hep) != 0) {
#  172|       if (he->keyHash == keyHash && (*ht->keyCompare)(key, he->key)) {
#  173|         break;

Error: COMPILER_WARNING: [#def7]
nss-3_119_1/nspr/lib/ds/plvrsion.c: scope_hint: In function ‘libVersionPoint’
nss-3_119_1/nspr/lib/ds/plvrsion.c:87:15: warning[-Wunused-but-set-variable=]: variable ‘dummy’ set but not used
#   87 |   const char* dummy;
#      |               ^~~~~
#   85|      * from being optimized away as unused variables.
#   86|      */
#   87|->   const char* dummy;
#   88|   
#   89|     dummy = rcsid;

Error: COMPILER_WARNING (CWE-704): [#def8]
nss-3_119_1/nspr/lib/libc/src/plgetopt.c: scope_hint: In function ‘PL_GetNextOpt’
nss-3_119_1/nspr/lib/libc/src/plgetopt.c:136:24: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
#  136 |     char* foundEqual = strchr(internal->xargv, '=');
#      |                        ^~~~~~
#  134|     */
#  135|     if (internal->minus == 2) {
#  136|->     char* foundEqual = strchr(internal->xargv, '=');
#  137|       PRIntn optNameLen =
#  138|           foundEqual ? (foundEqual - internal->xargv) : strlen(internal->xargv);

Error: COMPILER_WARNING (CWE-704): [#def9]
nss-3_119_1/nspr/lib/libc/src/plgetopt.c:136:24: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
#  134|     */
#  135|     if (internal->minus == 2) {
#  136|->     char* foundEqual = strchr(internal->xargv, '=');
#  137|       PRIntn optNameLen =
#  138|           foundEqual ? (foundEqual - internal->xargv) : strlen(internal->xargv);

Error: COMPILER_WARNING: [#def10]
nss-3_119_1/nspr/lib/libc/src/plvrsion.c: scope_hint: In function ‘libVersionPoint’
nss-3_119_1/nspr/lib/libc/src/plvrsion.c:87:15: warning[-Wunused-but-set-variable=]: variable ‘dummy’ set but not used
#   87 |   const char* dummy;
#      |               ^~~~~
#   85|      * from being optimized away as unused variables.
#   86|      */
#   87|->   const char* dummy;
#   88|   
#   89|     dummy = rcsid;

Error: COMPILER_WARNING (CWE-704): [#def11]
nss-3_119_1/nspr/lib/libc/src/strchr.c: scope_hint: In function ‘PL_strchr’
nss-3_119_1/nspr/lib/libc/src/strchr.c:15:10: warning[-Wdiscarded-qualifiers]: return discards ‘const’ qualifier from pointer target type
#   15 |   return strchr(s, c);
#      |          ^~~~~~
#   13|     }
#   14|   
#   15|->   return strchr(s, c);
#   16|   }
#   17|   

Error: COMPILER_WARNING (CWE-704): [#def12]
nss-3_119_1/nspr/lib/libc/src/strchr.c:15:10: warning[-Wdiscarded-qualifiers]: return discards ‘const’ qualifier from pointer target type
#   13|     }
#   14|   
#   15|->   return strchr(s, c);
#   16|   }
#   17|   

Error: COMPILER_WARNING (CWE-704): [#def13]
nss-3_119_1/nspr/lib/libc/src/strchr.c: scope_hint: In function ‘PL_strrchr’
nss-3_119_1/nspr/lib/libc/src/strchr.c:24:10: warning[-Wdiscarded-qualifiers]: return discards ‘const’ qualifier from pointer target type
#   24 |   return strrchr(s, c);
#      |          ^~~~~~~
#   22|     }
#   23|   
#   24|->   return strrchr(s, c);
#   25|   }
#   26|   

Error: COMPILER_WARNING (CWE-704): [#def14]
nss-3_119_1/nspr/lib/libc/src/strchr.c:24:10: warning[-Wdiscarded-qualifiers]: return discards ‘const’ qualifier from pointer target type
#   22|     }
#   23|   
#   24|->   return strrchr(s, c);
#   25|   }
#   26|   

Error: COMPILER_WARNING (CWE-704): [#def15]
nss-3_119_1/nspr/lib/libc/src/strpbrk.c: scope_hint: In function ‘PL_strpbrk’
nss-3_119_1/nspr/lib/libc/src/strpbrk.c:15:10: warning[-Wdiscarded-qualifiers]: return discards ‘const’ qualifier from pointer target type
#   15 |   return strpbrk(s, list);
#      |          ^~~~~~~
#   13|     }
#   14|   
#   15|->   return strpbrk(s, list);
#   16|   }
#   17|   

Error: COMPILER_WARNING (CWE-704): [#def16]
nss-3_119_1/nspr/lib/libc/src/strpbrk.c:15:10: warning[-Wdiscarded-qualifiers]: return discards ‘const’ qualifier from pointer target type
#   13|     }
#   14|   
#   15|->   return strpbrk(s, list);
#   16|   }
#   17|   

Error: COMPILER_WARNING (CWE-704): [#def17]
nss-3_119_1/nspr/lib/libc/src/strstr.c: scope_hint: In function ‘PL_strstr’
nss-3_119_1/nspr/lib/libc/src/strstr.c:18:10: warning[-Wdiscarded-qualifiers]: return discards ‘const’ qualifier from pointer target type
#   18 |   return strstr(big, little);
#      |          ^~~~~~
#   16|     }
#   17|   
#   18|->   return strstr(big, little);
#   19|   }
#   20|   

Error: COMPILER_WARNING (CWE-704): [#def18]
nss-3_119_1/nspr/lib/libc/src/strstr.c:18:10: warning[-Wdiscarded-qualifiers]: return discards ‘const’ qualifier from pointer target type
#   16|     }
#   17|   
#   18|->   return strstr(big, little);
#   19|   }
#   20|   

Error: COMPILER_WARNING: [#def19]
nss-3_119_1/nspr/pr/src/io/pripv6.c: scope_hint: In function ‘Ipv6ToIpv4SocketAccept’
nss-3_119_1/nspr/pr/src/io/pripv6.c:133:12: warning[-Wunused-but-set-variable=]: variable ‘rv’ set but not used
#  133 |   PRStatus rv;
#      |            ^~
#  131|                                                         PRNetAddr* addr,
#  132|                                                         PRIntervalTime timeout) {
#  133|->   PRStatus rv;
#  134|     PRFileDesc* newfd;
#  135|     PRFileDesc* newstack;

Error: COMPILER_WARNING: [#def20]
nss-3_119_1/nspr/pr/src/io/pripv6.c: scope_hint: In function ‘Ipv6ToIpv4SocketAcceptRead’
nss-3_119_1/nspr/pr/src/io/pripv6.c:172:12: warning[-Wunused-but-set-variable=]: variable ‘rv’ set but not used
#  172 |   PRStatus rv;
#      |            ^~
#  170|                                                         PRIntervalTime timeout) {
#  171|     PRInt32 nbytes;
#  172|->   PRStatus rv;
#  173|     PRNetAddr tmp_ipv4addr;
#  174|     PRFileDesc* newstack;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def21]
nss-3_119_1/nspr/pr/src/io/prlayer.c:62:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
nss-3_119_1/nspr/pr/src/io/prlayer.c:35:29: enter_function: entry to ‘pl_TopClose’
nss-3_119_1/nspr/pr/src/io/prlayer.c:44:6: branch_false: following ‘false’ branch...
nss-3_119_1/nspr/pr/src/io/prlayer.c:53:7: branch_false: ...to here
nss-3_119_1/nspr/pr/src/io/prlayer.c:53:6: branch_true: following ‘true’ branch...
nss-3_119_1/nspr/pr/src/io/prlayer.c:61:11: call_function: calling ‘PR_PopIOLayer’ from ‘pl_TopClose’
nss-3_119_1/nspr/pr/src/io/prlayer.c:61:11: return_function: returning to ‘pl_TopClose’ from ‘PR_PopIOLayer’
nss-3_119_1/nspr/pr/src/io/prlayer.c:62:5: danger: dereference of NULL ‘PR_PopIOLayer(*fd.higher, -2)’
#   60|        */
#   61|       top = PR_PopIOLayer(fd->higher, PR_TOP_IO_LAYER);
#   62|->     top->dtor(top);
#   63|       /*
#   64|        * then call lower layer

Error: COMPILER_WARNING: [#def22]
nss-3_119_1/nspr/pr/src/io/prlayer.c: scope_hint: In function ‘pl_TopAccept’
nss-3_119_1/nspr/pr/src/io/prlayer.c:169:12: warning[-Wunused-but-set-variable=]: variable ‘rv’ set but not used
#  169 |   PRStatus rv;
#      |            ^~
#  167|   static PRFileDesc* PR_CALLBACK pl_TopAccept(PRFileDesc* fd, PRNetAddr* addr,
#  168|                                               PRIntervalTime timeout) {
#  169|->   PRStatus rv;
#  170|     PRFileDesc *newfd, *layer = fd;
#  171|     PRFileDesc* newstack;

Error: COMPILER_WARNING: [#def23]
nss-3_119_1/nspr/pr/src/io/prlayer.c: scope_hint: In function ‘pl_DefAcceptread’
nss-3_119_1/nspr/pr/src/io/prlayer.c:278:12: warning[-Wunused-but-set-variable=]: variable ‘rv’ set but not used
#  278 |   PRStatus rv;
#      |            ^~
#  276|                                               PRInt32 amount, PRIntervalTime t) {
#  277|     PRInt32 nbytes;
#  278|->   PRStatus rv;
#  279|     PRFileDesc* newstack;
#  280|     PRFileDesc* layer = sd;

Error: GCC_ANALYZER_WARNING (CWE-404): [#def24]
nss-3_119_1/nspr/pr/src/io/prlog.c:467:17: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
nss-3_119_1/nspr/pr/src/io/prlog.c:446:6: branch_false: following ‘false’ branch...
nss-3_119_1/nspr/pr/src/io/prlog.c:450:7: branch_false: ...to here
nss-3_119_1/nspr/pr/src/io/prlog.c:466:3: acquire_resource: ‘va_start’ called here
nss-3_119_1/nspr/pr/src/io/prlog.c:467:17: throw: if ‘PR_vsnprintf’ throws an exception...
nss-3_119_1/nspr/pr/src/io/prlog.c:467:17: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
#  465|   
#  466|     va_start(ap, fmt);
#  467|->   nb = nb_tid + PR_vsnprintf(line + nb_tid, sizeof(line) - nb_tid - 1, fmt, ap);
#  468|     va_end(ap);
#  469|   

Error: GCC_ANALYZER_WARNING (CWE-404): [#def25]
nss-3_119_1/nspr/pr/src/io/prlog.c:476:17: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
nss-3_119_1/nspr/pr/src/io/prlog.c:446:6: branch_false: following ‘false’ branch...
nss-3_119_1/nspr/pr/src/io/prlog.c:450:7: branch_false: ...to here
nss-3_119_1/nspr/pr/src/io/prlog.c:474:6: branch_true: following ‘true’ branch (when ‘nb == 510’)...
nss-3_119_1/nspr/pr/src/io/prlog.c:475:5: branch_true: ...to here
nss-3_119_1/nspr/pr/src/io/prlog.c:475:5: acquire_resource: ‘va_start’ called here
nss-3_119_1/nspr/pr/src/io/prlog.c:476:17: throw: if ‘PR_vsmprintf’ throws an exception...
nss-3_119_1/nspr/pr/src/io/prlog.c:476:17: danger: missing call to ‘va_end’ to match ‘va_start’ at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
#  474|     if (nb == sizeof(line) - 2) {
#  475|       va_start(ap, fmt);
#  476|->     line_long = PR_vsmprintf(fmt, ap);
#  477|       va_end(ap);
#  478|       /* If this failed, we'll fall back to writing the truncated line. */

Error: GCC_ANALYZER_WARNING (CWE-404): [#def26]
nss-3_119_1/nspr/pr/src/io/prstdio.c:27:15: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
nss-3_119_1/nspr/pr/src/io/prstdio.c:13:24: enter_function: entry to ‘PR_fprintf’
nss-3_119_1/nspr/pr/src/io/prstdio.c:17:3: acquire_resource: ‘va_start’ called here
nss-3_119_1/nspr/pr/src/io/prstdio.c:18:8: call_function: calling ‘PR_vfprintf’ from ‘PR_fprintf’
#   25|     /* XXX this could be better */
#   26|     PRUint32 rv, len;
#   27|->   char* msg = PR_vsmprintf(fmt, ap);
#   28|     if (NULL == msg) {
#   29|       return -1;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def27]
nss-3_119_1/nspr/pr/src/linking/prlink.c:255:5: warning[-Wanalyzer-malloc-leak]: leak of ‘p’
nss-3_119_1/nspr/pr/src/linking/prlink.c:224:6: branch_false: following ‘false’ branch...
nss-3_119_1/nspr/pr/src/linking/prlink.c:244:10: branch_false: ...to here
nss-3_119_1/nspr/pr/src/linking/prlink.c:250:16: acquire_memory: allocated here
nss-3_119_1/nspr/pr/src/linking/prlink.c:251:8: branch_true: following ‘true’ branch (when ‘p’ is non-NULL)...
nss-3_119_1/nspr/pr/src/linking/prlink.c:252:7: branch_true: ...to here
nss-3_119_1/nspr/pr/src/linking/prlink.c:255:5: branch_true: following ‘true’ branch...
nss-3_119_1/nspr/pr/src/linking/prlink.c:255:5: branch_true: ...to here
nss-3_119_1/nspr/pr/src/linking/prlink.c:255:5: throw: if ‘PR_LogPrint’ throws an exception...
nss-3_119_1/nspr/pr/src/linking/prlink.c:255:5: danger: ‘p’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
#  253|       } /* if (p)  */
#  254|       ev = p;
#  255|->     PR_LOG(_pr_io_lm, PR_LOG_NOTICE, ("linker path '%s'", ev));
#  256|     }
#  257|   #  else

Error: GCC_ANALYZER_WARNING (CWE-401): [#def28]
nss-3_119_1/nspr/pr/src/linking/prlink.c:272:3: warning[-Wanalyzer-malloc-leak]: leak of ‘copy’
nss-3_119_1/nspr/pr/src/linking/prlink.c:269:6: branch_true: following ‘true’ branch...
nss-3_119_1/nspr/pr/src/linking/prlink.c:270:12: branch_true: ...to here
nss-3_119_1/nspr/pr/src/linking/prlink.c:270:12: acquire_memory: allocated here
nss-3_119_1/nspr/pr/src/linking/prlink.c:272:3: throw: if ‘PR_ExitMonitor’ throws an exception...
nss-3_119_1/nspr/pr/src/linking/prlink.c:272:3: danger: ‘copy’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
#  270|       copy = strdup(_pr_currentLibPath);
#  271|     }
#  272|->   PR_ExitMonitor(pr_linker_lock);
#  273|     if (!copy) {
#  274|       PR_SetError(PR_OUT_OF_MEMORY_ERROR, 0);

Error: COMPILER_WARNING: [#def29]
nss-3_119_1/nspr/pr/src/md/unix/unix.c: scope_hint: In function ‘_PR_UnixInit’
nss-3_119_1/nspr/pr/src/md/unix/unix.c:2587:7: warning[-Wunused-but-set-variable=]: variable ‘rv’ set but not used
# 2587 |   int rv;
#      |       ^~
# 2585|   void _PR_UnixInit(void) {
# 2586|     struct sigaction sigact;
# 2587|->   int rv;
# 2588|   
# 2589|     sigemptyset(&timer_set);

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

Error: GCC_ANALYZER_WARNING (CWE-775): [#def31]
nss-3_119_1/nspr/pr/src/md/unix/uxproces.c:259:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(*_26->secret.md.osfd, 0)’
nss-3_119_1/nspr/pr/src/md/unix/uxproces.c:139:6: branch_false: following ‘false’ branch...
nss-3_119_1/nspr/pr/src/md/unix/uxproces.c:145:6: branch_false: ...to here
nss-3_119_1/nspr/pr/src/md/unix/uxproces.c:236:6: branch_false: following ‘false’ branch...
nss-3_119_1/nspr/pr/src/md/unix/uxproces.c:244:6: branch_false: ...to here
nss-3_119_1/nspr/pr/src/md/unix/uxproces.c:244:6: branch_true: following ‘true’ branch...
nss-3_119_1/nspr/pr/src/md/unix/uxproces.c:253:8: branch_true: ...to here
nss-3_119_1/nspr/pr/src/md/unix/uxproces.c:253:8: branch_true: following ‘true’ branch (when ‘attr’ is non-NULL)...
nss-3_119_1/nspr/pr/src/md/unix/uxproces.c:257:11: branch_true: ...to here
nss-3_119_1/nspr/pr/src/md/unix/uxproces.c:257:10: branch_true: following ‘true’ branch...
nss-3_119_1/nspr/pr/src/md/unix/uxproces.c:259:13: acquire_resource: opened here
nss-3_119_1/nspr/pr/src/md/unix/uxproces.c:259:12: danger: ‘dup2(*_26->secret.md.osfd, 0)’ leaks here; was opened at [(11)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/10)
#  257|         if (attr->stdinFd && attr->stdinFd->secret->md.osfd != 0) {
#  258|           in_osfd = attr->stdinFd->secret->md.osfd;
#  259|->         if (dup2(in_osfd, 0) != 0) {
#  260|             _exit(1); /* failed */
#  261|           }

Error: GCC_ANALYZER_WARNING (CWE-775): [#def32]
nss-3_119_1/nspr/pr/src/md/unix/uxproces.c:269:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(*_32->secret.md.osfd, 1)’
nss-3_119_1/nspr/pr/src/md/unix/uxproces.c:139:6: branch_false: following ‘false’ branch...
nss-3_119_1/nspr/pr/src/md/unix/uxproces.c:145:6: branch_false: ...to here
nss-3_119_1/nspr/pr/src/md/unix/uxproces.c:236:6: branch_false: following ‘false’ branch...
nss-3_119_1/nspr/pr/src/md/unix/uxproces.c:244:6: branch_false: ...to here
nss-3_119_1/nspr/pr/src/md/unix/uxproces.c:244:6: branch_true: following ‘true’ branch...
nss-3_119_1/nspr/pr/src/md/unix/uxproces.c:253:8: branch_true: ...to here
nss-3_119_1/nspr/pr/src/md/unix/uxproces.c:253:8: branch_true: following ‘true’ branch (when ‘attr’ is non-NULL)...
nss-3_119_1/nspr/pr/src/md/unix/uxproces.c:257:11: branch_true: ...to here
nss-3_119_1/nspr/pr/src/md/unix/uxproces.c:267:10: branch_true: following ‘true’ branch...
nss-3_119_1/nspr/pr/src/md/unix/uxproces.c:269:13: acquire_resource: opened here
nss-3_119_1/nspr/pr/src/md/unix/uxproces.c:269:12: danger: ‘dup2(*_32->secret.md.osfd, 1)’ leaks here; was opened at [(11)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/10)
#  267|         if (attr->stdoutFd && attr->stdoutFd->secret->md.osfd != 1) {
#  268|           out_osfd = attr->stdoutFd->secret->md.osfd;
#  269|->         if (dup2(out_osfd, 1) != 1) {
#  270|             _exit(1); /* failed */
#  271|           }

Error: GCC_ANALYZER_WARNING (CWE-775): [#def33]
nss-3_119_1/nspr/pr/src/md/unix/uxproces.c:279:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(*_38->secret.md.osfd, 2)’
nss-3_119_1/nspr/pr/src/md/unix/uxproces.c:139:6: branch_false: following ‘false’ branch...
nss-3_119_1/nspr/pr/src/md/unix/uxproces.c:145:6: branch_false: ...to here
nss-3_119_1/nspr/pr/src/md/unix/uxproces.c:236:6: branch_false: following ‘false’ branch...
nss-3_119_1/nspr/pr/src/md/unix/uxproces.c:244:6: branch_false: ...to here
nss-3_119_1/nspr/pr/src/md/unix/uxproces.c:244:6: branch_true: following ‘true’ branch...
nss-3_119_1/nspr/pr/src/md/unix/uxproces.c:253:8: branch_true: ...to here
nss-3_119_1/nspr/pr/src/md/unix/uxproces.c:253:8: branch_true: following ‘true’ branch (when ‘attr’ is non-NULL)...
nss-3_119_1/nspr/pr/src/md/unix/uxproces.c:257:11: branch_true: ...to here
nss-3_119_1/nspr/pr/src/md/unix/uxproces.c:277:10: branch_true: following ‘true’ branch...
nss-3_119_1/nspr/pr/src/md/unix/uxproces.c:279:13: acquire_resource: opened here
nss-3_119_1/nspr/pr/src/md/unix/uxproces.c:279:12: danger: ‘dup2(*_38->secret.md.osfd, 2)’ leaks here; was opened at [(11)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/10)
#  277|         if (attr->stderrFd && attr->stderrFd->secret->md.osfd != 2) {
#  278|           err_osfd = attr->stderrFd->secret->md.osfd;
#  279|->         if (dup2(err_osfd, 2) != 2) {
#  280|             _exit(1); /* failed */
#  281|           }

Error: COMPILER_WARNING: [#def34]
nss-3_119_1/nspr/pr/src/md/unix/uxproces.c: scope_hint: In function ‘pr_InstallSigchldHandler’
nss-3_119_1/nspr/pr/src/md/unix/uxproces.c:655:7: warning[-Wunused-but-set-variable=]: variable ‘rv’ set but not used
#  655 |   int rv;
#      |       ^~
#  653|   static void pr_InstallSigchldHandler() {
#  654|     struct sigaction act, oact;
#  655|->   int rv;
#  656|   
#  657|     act.sa_handler = pr_SigchldHandler;

Error: COMPILER_WARNING: [#def35]
nss-3_119_1/nspr/pr/src/md/unix/uxproces.c: scope_hint: In function ‘_MD_InitProcesses’
nss-3_119_1/nspr/pr/src/md/unix/uxproces.c:672:7: warning[-Wunused-but-set-variable=]: variable ‘rv’ set but not used
#  672 |   int rv;
#      |       ^~
#  670|   static PRStatus _MD_InitProcesses(void) {
#  671|   #if !defined(_PR_NATIVE_THREADS)
#  672|->   int rv;
#  673|     int flags;
#  674|   #endif

Error: GCC_ANALYZER_WARNING (CWE-401): [#def36]
nss-3_119_1/nspr/pr/src/misc/prdtoa.c:554:3: warning[-Wanalyzer-malloc-leak]: leak of ‘Balloc(*b.k + 1)’
nss-3_119_1/nspr/pr/src/misc/prdtoa.c:3554:1: enter_function: entry to ‘PR_cnvtf’
nss-3_119_1/nspr/pr/src/misc/prdtoa.c:3564:6: branch_false: following ‘false’ branch...
nss-3_119_1/nspr/pr/src/misc/prdtoa.c:3569:7: branch_false: ...to here
nss-3_119_1/nspr/pr/src/misc/prdtoa.c:3569:7: call_function: calling ‘PR_dtoa’ from ‘PR_cnvtf’
#  552|   #endif
#  553|   
#  554|->   ACQUIRE_DTOA_LOCK(0);
#  555|     /* The k > Kmax case does not need ACQUIRE_DTOA_LOCK(0), */
#  556|     /* but this case seems very unlikely. */

Error: GCC_ANALYZER_WARNING (CWE-401): [#def37]
nss-3_119_1/nspr/pr/src/misc/prdtoa.c:554:3: warning[-Wanalyzer-malloc-leak]: leak of ‘Balloc(1)’
nss-3_119_1/nspr/pr/src/misc/prdtoa.c:3554:1: enter_function: entry to ‘PR_cnvtf’
nss-3_119_1/nspr/pr/src/misc/prdtoa.c:3564:6: branch_false: following ‘false’ branch...
nss-3_119_1/nspr/pr/src/misc/prdtoa.c:3569:7: branch_false: ...to here
nss-3_119_1/nspr/pr/src/misc/prdtoa.c:3569:7: call_function: calling ‘PR_dtoa’ from ‘PR_cnvtf’
#  552|   #endif
#  553|   
#  554|->   ACQUIRE_DTOA_LOCK(0);
#  555|     /* The k > Kmax case does not need ACQUIRE_DTOA_LOCK(0), */
#  556|     /* but this case seems very unlikely. */

Error: GCC_ANALYZER_WARNING (CWE-401): [#def38]
nss-3_119_1/nspr/pr/src/misc/prdtoa.c:554:3: warning[-Wanalyzer-malloc-leak]: leak of ‘b’
nss-3_119_1/nspr/pr/src/misc/prdtoa.c:3554:1: enter_function: entry to ‘PR_cnvtf’
nss-3_119_1/nspr/pr/src/misc/prdtoa.c:3564:6: branch_false: following ‘false’ branch...
nss-3_119_1/nspr/pr/src/misc/prdtoa.c:3569:7: branch_false: ...to here
nss-3_119_1/nspr/pr/src/misc/prdtoa.c:3569:7: call_function: calling ‘PR_dtoa’ from ‘PR_cnvtf’
#  552|   #endif
#  553|   
#  554|->   ACQUIRE_DTOA_LOCK(0);
#  555|     /* The k > Kmax case does not need ACQUIRE_DTOA_LOCK(0), */
#  556|     /* but this case seems very unlikely. */

Error: CPPCHECK_WARNING (CWE-476): [#def39]
nss-3_119_1/nspr/pr/src/misc/prdtoa.c:573: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: rv
#  571|       }
#  572|   #endif
#  573|->     rv->k = k;
#  574|       rv->maxwds = x;
#  575|     }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def40]
nss-3_119_1/nspr/pr/src/misc/prdtoa.c:573:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘rv’
nss-3_119_1/nspr/pr/src/misc/prdtoa.c:3554:1: enter_function: entry to ‘PR_cnvtf’
nss-3_119_1/nspr/pr/src/misc/prdtoa.c:3564:6: branch_false: following ‘false’ branch...
nss-3_119_1/nspr/pr/src/misc/prdtoa.c:3569:7: branch_false: ...to here
nss-3_119_1/nspr/pr/src/misc/prdtoa.c:3569:7: call_function: calling ‘PR_dtoa’ from ‘PR_cnvtf’
#  571|       }
#  572|   #endif
#  573|->     rv->k = k;
#  574|       rv->maxwds = x;
#  575|     }

Error: CPPCHECK_WARNING (CWE-476): [#def41]
nss-3_119_1/nspr/pr/src/misc/prdtoa.c:574: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: rv
#  572|   #endif
#  573|       rv->k = k;
#  574|->     rv->maxwds = x;
#  575|     }
#  576|     FREE_DTOA_LOCK(0);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def42]
nss-3_119_1/nspr/pr/src/misc/prdtoa.c:576:3: warning[-Wanalyzer-malloc-leak]: leak of ‘rv’
nss-3_119_1/nspr/pr/src/misc/prdtoa.c:3554:1: enter_function: entry to ‘PR_cnvtf’
nss-3_119_1/nspr/pr/src/misc/prdtoa.c:3564:6: branch_false: following ‘false’ branch...
nss-3_119_1/nspr/pr/src/misc/prdtoa.c:3569:7: branch_false: ...to here
nss-3_119_1/nspr/pr/src/misc/prdtoa.c:3569:7: call_function: calling ‘PR_dtoa’ from ‘PR_cnvtf’
#  574|       rv->maxwds = x;
#  575|     }
#  576|->   FREE_DTOA_LOCK(0);
#  577|     rv->sign = rv->wds = 0;
#  578|     return rv;

Error: CPPCHECK_WARNING (CWE-476): [#def43]
nss-3_119_1/nspr/pr/src/misc/prdtoa.c:577: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: rv
#  575|     }
#  576|     FREE_DTOA_LOCK(0);
#  577|->   rv->sign = rv->wds = 0;
#  578|     return rv;
#  579|   }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def44]
nss-3_119_1/nspr/pr/src/misc/prdtoa.c:839:7: warning[-Wanalyzer-malloc-leak]: leak of ‘mult(b,  p5)’
nss-3_119_1/nspr/pr/src/misc/prdtoa.c:3554:1: enter_function: entry to ‘PR_cnvtf’
nss-3_119_1/nspr/pr/src/misc/prdtoa.c:3564:6: branch_false: following ‘false’ branch...
nss-3_119_1/nspr/pr/src/misc/prdtoa.c:3569:7: branch_false: ...to here
nss-3_119_1/nspr/pr/src/misc/prdtoa.c:3569:7: call_function: calling ‘PR_dtoa’ from ‘PR_cnvtf’
#  837|   #endif
#  838|   
#  839|->   if (a->wds < b->wds) {
#  840|       c = a;
#  841|       a = b;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def45]
nss-3_119_1/nspr/pr/src/misc/prdtoa.c:972:7: warning[-Wanalyzer-malloc-leak]: leak of ‘b’
nss-3_119_1/nspr/pr/src/misc/prdtoa.c:3554:1: enter_function: entry to ‘PR_cnvtf’
nss-3_119_1/nspr/pr/src/misc/prdtoa.c:3564:6: branch_false: following ‘false’ branch...
nss-3_119_1/nspr/pr/src/misc/prdtoa.c:3569:7: branch_false: ...to here
nss-3_119_1/nspr/pr/src/misc/prdtoa.c:3569:7: call_function: calling ‘PR_dtoa’ from ‘PR_cnvtf’
#  970|       if (!(p51 = p5->next)) {
#  971|   #ifdef MULTIPLE_THREADS
#  972|->       ACQUIRE_DTOA_LOCK(1);
#  973|         if (!(p51 = p5->next)) {
#  974|           p51 = p5->next = mult(p5, p5);

Error: CPPCHECK_WARNING (CWE-476): [#def46]
nss-3_119_1/nspr/pr/src/misc/prtime.c:1765: warning[nullPointer]: Possible null pointer dereference: ap
# 1763|     }
# 1764|   
# 1765|->   rv = strftime(buf, buflen, fmt, ap);
# 1766|     if (!rv && buf && buflen > 0) {
# 1767|       /*

Error: GCC_ANALYZER_WARNING (CWE-476): [#def47]
nss-3_119_1/nspr/pr/src/misc/prtpool.c:327:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pollfds’
nss-3_119_1/nspr/pr/src/misc/prtpool.c:296:10: branch_true: following ‘true’ branch...
nss-3_119_1/nspr/pr/src/misc/prtpool.c:299:18: branch_true: ...to here
nss-3_119_1/nspr/pr/src/misc/prtpool.c:300:8: branch_false: following ‘false’ branch...
nss-3_119_1/nspr/pr/src/misc/prtpool.c:327:32: branch_false: ...to here
nss-3_119_1/nspr/pr/src/misc/prtpool.c:327:5: danger: dereference of NULL ‘pollfds’
#  325|        * add the notify fd; used for unblocking io thread(s)
#  326|        */
#  327|->     pollfds[pollfds_used].fd = tp->ioq.notify_fd;
#  328|       pollfds[pollfds_used].in_flags = PR_POLL_READ;
#  329|       pollfds[pollfds_used].out_flags = 0;

Error: COMPILER_WARNING: [#def48]
nss-3_119_1/nspr/pr/src/misc/prtpool.c: scope_hint: In function ‘io_wstart’
nss-3_119_1/nspr/pr/src/misc/prtpool.c:387:16: warning[-Wunused-but-set-variable=]: variable ‘rval_status’ set but not used
#  387 |       PRStatus rval_status;
#      |                ^~~~~~~~~~~
#  385|          * at least one io event is set
#  386|          */
#  387|->       PRStatus rval_status;
#  388|         PRInt32 index;
#  389|   

Error: COMPILER_WARNING: [#def49]
nss-3_119_1/nspr/pr/src/misc/prtpool.c: scope_hint: In function ‘notify_ioq’
nss-3_119_1/nspr/pr/src/misc/prtpool.c:958:12: warning[-Wunused-but-set-variable=]: variable ‘rval_status’ set but not used
#  958 |   PRStatus rval_status;
#      |            ^~~~~~~~~~~
#  956|   
#  957|   static void notify_ioq(PRThreadPool* tp) {
#  958|->   PRStatus rval_status;
#  959|   
#  960|     /*

Error: COMPILER_WARNING: [#def50]
nss-3_119_1/nspr/pr/src/misc/prtpool.c: scope_hint: In function ‘PR_JoinThreadPool’
nss-3_119_1/nspr/pr/src/misc/prtpool.c:1080:12: warning[-Wunused-but-set-variable=]: variable ‘rval_status’ set but not used
# 1080 |   PRStatus rval_status;
#      |            ^~~~~~~~~~~
# 1078|     PRStatus rval = PR_SUCCESS;
# 1079|     PRCList* head;
# 1080|->   PRStatus rval_status;
# 1081|   
# 1082|     PR_Lock(tpool->jobq.lock);

Error: COMPILER_WARNING: [#def51]
nss-3_119_1/nspr/pr/src/prvrsion.c: scope_hint: In function ‘libVersionPoint’
nss-3_119_1/nspr/pr/src/prvrsion.c:87:15: warning[-Wunused-but-set-variable=]: variable ‘dummy’ set but not used
#   87 |   const char* dummy;
#      |               ^~~~~
#   85|      * from being optimized away as unused variables.
#   86|      */
#   87|->   const char* dummy;
#   88|   
#   89|     dummy = rcsid;

Error: COMPILER_WARNING: [#def52]
nss-3_119_1/nspr/pr/src/pthreads/ptio.c: scope_hint: In function ‘pt_linux_sendfile_cont’
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:914:9: warning[-Wunused-but-set-variable=]: variable ‘oldoffset’ set but not used
#  914 |   off_t oldoffset;
#      |         ^~~~~~~~~
#  912|   static PRBool pt_linux_sendfile_cont(pt_Continuation* op, PRInt16 revents) {
#  913|     ssize_t rv;
#  914|->   off_t oldoffset;
#  915|   
#  916|     oldoffset = op->offset;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def53]
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3142:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘osfd’
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3274:1: enter_function: entry to ‘PR_Socket’
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3286:6: branch_false: following ‘false’ branch...
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3290:7: branch_false: ...to here
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3338:10: acquire_resource: socket created here
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3339:6: branch_false: following ‘false’ branch (when ‘osfd != -1’)...
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3348:10: branch_false: ...to here
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3348:10: call_function: calling ‘pt_SetMethods’ from ‘PR_Socket’
# 3140|   static PRFileDesc* pt_SetMethods(PRIntn osfd, PRDescType type,
# 3141|                                    PRBool isAcceptedSocket, PRBool imported) {
# 3142|->   PRFileDesc* fd = _PR_Getfd();
# 3143|   
# 3144|     if (fd == NULL) {

Error: GCC_ANALYZER_WARNING (CWE-775): [#def54]
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3142:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[0]’
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3915:1: enter_function: entry to ‘PR_CreatePipe’
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3918:6: branch_false: following ‘false’ branch...
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3922:7: branch_false: ...to here
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3922:6: branch_false: following ‘false’ branch...
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3927:29: branch_false: ...to here
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3927:15: call_function: calling ‘pt_SetMethods’ from ‘PR_CreatePipe’
# 3140|   static PRFileDesc* pt_SetMethods(PRIntn osfd, PRDescType type,
# 3141|                                    PRBool isAcceptedSocket, PRBool imported) {
# 3142|->   PRFileDesc* fd = _PR_Getfd();
# 3143|   
# 3144|     if (fd == NULL) {

Error: GCC_ANALYZER_WARNING (CWE-775): [#def55]
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3142:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[1]’
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3915:1: enter_function: entry to ‘PR_CreatePipe’
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3918:6: branch_false: following ‘false’ branch...
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3922:7: branch_false: ...to here
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3922:6: branch_false: following ‘false’ branch...
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3927:29: branch_false: ...to here
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3927:15: call_function: calling ‘pt_SetMethods’ from ‘PR_CreatePipe’
# 3140|   static PRFileDesc* pt_SetMethods(PRIntn osfd, PRDescType type,
# 3141|                                    PRBool isAcceptedSocket, PRBool imported) {
# 3142|->   PRFileDesc* fd = _PR_Getfd();
# 3143|   
# 3144|     if (fd == NULL) {

Error: GCC_ANALYZER_WARNING (CWE-775): [#def56]
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3145:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘osfd’
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3274:1: enter_function: entry to ‘PR_Socket’
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3286:6: branch_false: following ‘false’ branch...
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3290:7: branch_false: ...to here
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3338:10: acquire_resource: socket created here
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3339:6: branch_false: following ‘false’ branch (when ‘osfd != -1’)...
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3348:10: branch_false: ...to here
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3348:10: call_function: calling ‘pt_SetMethods’ from ‘PR_Socket’
# 3143|   
# 3144|     if (fd == NULL) {
# 3145|->     PR_SetError(PR_OUT_OF_MEMORY_ERROR, 0);
# 3146|     } else {
# 3147|       fd->secret->md.osfd = osfd;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def57]
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3145:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[0]’
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3915:1: enter_function: entry to ‘PR_CreatePipe’
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3918:6: branch_false: following ‘false’ branch...
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3922:7: branch_false: ...to here
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3922:6: branch_false: following ‘false’ branch...
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3927:29: branch_false: ...to here
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3927:15: call_function: calling ‘pt_SetMethods’ from ‘PR_CreatePipe’
# 3143|   
# 3144|     if (fd == NULL) {
# 3145|->     PR_SetError(PR_OUT_OF_MEMORY_ERROR, 0);
# 3146|     } else {
# 3147|       fd->secret->md.osfd = osfd;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def58]
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3145:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[1]’
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3915:1: enter_function: entry to ‘PR_CreatePipe’
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3918:6: branch_false: following ‘false’ branch...
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3922:7: branch_false: ...to here
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3922:6: branch_false: following ‘false’ branch...
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3927:29: branch_false: ...to here
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3927:15: call_function: calling ‘pt_SetMethods’ from ‘PR_CreatePipe’
# 3143|   
# 3144|     if (fd == NULL) {
# 3145|->     PR_SetError(PR_OUT_OF_MEMORY_ERROR, 0);
# 3146|     } else {
# 3147|       fd->secret->md.osfd = osfd;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def59]
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3265:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘osfd’
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3263:10: acquire_resource: stream socket created here
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3264:6: branch_true: following ‘true’ branch (when ‘osfd != -1’)...
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3265:5: branch_true: ...to here
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3265:5: throw: if ‘close’ throws an exception...
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3265:5: danger: ‘osfd’ leaks here
# 3263|     osfd = socket(AF_INET6, SOCK_STREAM, 0);
# 3264|     if (osfd != -1) {
# 3265|->     close(osfd);
# 3266|       return PR_TRUE;
# 3267|     }

Error: GCC_ANALYZER_WARNING (CWE-775): [#def60]
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3350:7: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘osfd’
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3883:27: enter_function: entry to ‘PR_OpenTCPSocket’
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3884:10: call_function: calling ‘PR_Socket’ from ‘PR_OpenTCPSocket’
# 3348|       fd = pt_SetMethods(osfd, ftype, PR_FALSE, PR_FALSE);
# 3349|       if (fd == NULL) {
# 3350|->       close(osfd);
# 3351|       }
# 3352|     }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def61]
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3618:11: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(name)’
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3610:6: branch_false: following ‘false’ branch...
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3614:11: branch_false: ...to here
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3614:11: acquire_memory: allocated here
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3615:6: branch_false: following ‘false’ branch...
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3618:11: branch_false: ...to here
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3618:11: throw: if ‘PR_Calloc’ throws an exception...
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3618:11: danger: ‘opendir(name)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/2)
# 3616|       pt_MapError(_PR_MD_MAP_OPENDIR_ERROR, errno);
# 3617|     } else {
# 3618|->     dir = PR_NEWZAP(PRDir);
# 3619|       if (dir) {
# 3620|         dir->md.d = osdir;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def62]
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3622:13: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(name)’
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3610:6: branch_false: following ‘false’ branch...
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3614:11: branch_false: ...to here
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3614:11: acquire_memory: allocated here
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3615:6: branch_false: following ‘false’ branch...
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3618:11: branch_false: ...to here
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3619:8: branch_false: following ‘false’ branch...
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3622:13: branch_false: ...to here
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3622:13: danger: ‘opendir(name)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/2)
# 3620|         dir->md.d = osdir;
# 3621|       } else {
# 3622|->       (void)closedir(osdir);
# 3623|       }
# 3624|     }

Error: GCC_ANALYZER_WARNING (CWE-775): [#def63]
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3929:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[0]’
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3915:1: enter_function: entry to ‘PR_CreatePipe’
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3918:6: branch_false: following ‘false’ branch...
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3922:7: branch_false: ...to here
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3922:6: branch_false: following ‘false’ branch...
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3927:29: branch_false: ...to here
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3927:15: call_function: calling ‘pt_SetMethods’ from ‘PR_CreatePipe’
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3927:15: return_function: returning to ‘PR_CreatePipe’ from ‘pt_SetMethods’
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3928:6: branch_true: following ‘true’ branch...
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3929:5: branch_true: ...to here
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3929:5: throw: if ‘close’ throws an exception...
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3929:5: danger: ‘pipefd[0]’ leaks here
# 3927|     *readPipe = pt_SetMethods(pipefd[0], PR_DESC_PIPE, PR_FALSE, PR_FALSE);
# 3928|     if (NULL == *readPipe) {
# 3929|->     close(pipefd[0]);
# 3930|       close(pipefd[1]);
# 3931|       return PR_FAILURE;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def64]
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3929:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[1]’
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3915:1: enter_function: entry to ‘PR_CreatePipe’
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3918:6: branch_false: following ‘false’ branch...
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3922:7: branch_false: ...to here
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3922:6: branch_false: following ‘false’ branch...
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3927:29: branch_false: ...to here
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3927:15: call_function: calling ‘pt_SetMethods’ from ‘PR_CreatePipe’
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3927:15: return_function: returning to ‘PR_CreatePipe’ from ‘pt_SetMethods’
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3928:6: branch_true: following ‘true’ branch...
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3929:5: branch_true: ...to here
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3929:5: throw: if ‘close’ throws an exception...
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3929:5: danger: ‘pipefd[1]’ leaks here
# 3927|     *readPipe = pt_SetMethods(pipefd[0], PR_DESC_PIPE, PR_FALSE, PR_FALSE);
# 3928|     if (NULL == *readPipe) {
# 3929|->     close(pipefd[0]);
# 3930|       close(pipefd[1]);
# 3931|       return PR_FAILURE;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def65]
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3930:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[1]’
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3915:1: enter_function: entry to ‘PR_CreatePipe’
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3918:6: branch_false: following ‘false’ branch...
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3922:7: branch_false: ...to here
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3922:6: branch_false: following ‘false’ branch...
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3927:29: branch_false: ...to here
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3927:15: call_function: calling ‘pt_SetMethods’ from ‘PR_CreatePipe’
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3927:15: return_function: returning to ‘PR_CreatePipe’ from ‘pt_SetMethods’
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3928:6: branch_true: following ‘true’ branch...
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3929:5: branch_true: ...to here
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3930:5: throw: if ‘close’ throws an exception...
nss-3_119_1/nspr/pr/src/pthreads/ptio.c:3930:5: danger: ‘pipefd[1]’ leaks here
# 3928|     if (NULL == *readPipe) {
# 3929|       close(pipefd[0]);
# 3930|->     close(pipefd[1]);
# 3931|       return PR_FAILURE;
# 3932|     }

Error: COMPILER_WARNING: [#def66]
nss-3_119_1/nspr/pr/src/pthreads/ptsynch.c: scope_hint: In function ‘_PR_InitLocks’
nss-3_119_1/nspr/pr/src/pthreads/ptsynch.c:46:7: warning[-Wunused-but-set-variable=]: variable ‘rv’ set but not used
#   46 |   int rv;
#      |       ^~
#   44|   
#   45|   void _PR_InitLocks(void) {
#   46|->   int rv;
#   47|     rv = _PT_PTHREAD_MUTEXATTR_INIT(&_pt_mattr);
#   48|     PR_ASSERT(0 == rv);

Error: COMPILER_WARNING: [#def67]
nss-3_119_1/nspr/pr/src/pthreads/ptsynch.c: scope_hint: In function ‘pt_PostNotifies’
nss-3_119_1/nspr/pr/src/pthreads/ptsynch.c:62:17: warning[-Wunused-but-set-variable=]: variable ‘rv’ set but not used
#   62 |   PRIntn index, rv;
#      |                 ^~
#   60|   
#   61|   static void pt_PostNotifies(PRLock* lock, PRBool unlock) {
#   62|->   PRIntn index, rv;
#   63|     _PT_Notified post;
#   64|     _PT_Notified *notified, *prev = NULL;

Error: COMPILER_WARNING: [#def68]
nss-3_119_1/nspr/pr/src/pthreads/ptsynch.c: scope_hint: In function ‘PR_NewLock’
nss-3_119_1/nspr/pr/src/pthreads/ptsynch.c:122:10: warning[-Wunused-but-set-variable=]: variable ‘rv’ set but not used
#  122 |   PRIntn rv;
#      |          ^~
#  120|   
#  121|   PR_IMPLEMENT(PRLock*) PR_NewLock(void) {
#  122|->   PRIntn rv;
#  123|     PRLock* lock;
#  124|   

Error: COMPILER_WARNING: [#def69]
nss-3_119_1/nspr/pr/src/pthreads/ptsynch.c: scope_hint: In function ‘PR_DestroyLock’
nss-3_119_1/nspr/pr/src/pthreads/ptsynch.c:141:10: warning[-Wunused-but-set-variable=]: variable ‘rv’ set but not used
#  141 |   PRIntn rv;
#      |          ^~
#  139|   
#  140|   PR_IMPLEMENT(void) PR_DestroyLock(PRLock* lock) {
#  141|->   PRIntn rv;
#  142|     PR_ASSERT(NULL != lock);
#  143|     PR_ASSERT(PR_FALSE == lock->locked);

Error: COMPILER_WARNING: [#def70]
nss-3_119_1/nspr/pr/src/pthreads/ptsynch.c: scope_hint: In function ‘PR_Lock’
nss-3_119_1/nspr/pr/src/pthreads/ptsynch.c:159:10: warning[-Wunused-but-set-variable=]: variable ‘rv’ set but not used
#  159 |   PRIntn rv;
#      |          ^~
#  157|      * |tid| field of the current thread's PRThread structure because
#  158|      * _pt_root calls PR_Lock before setting thred->id and thred->tid. */
#  159|->   PRIntn rv;
#  160|     PR_ASSERT(lock != NULL);
#  161|     rv = pthread_mutex_lock(&lock->mutex);

Error: COMPILER_WARNING: [#def71]
nss-3_119_1/nspr/pr/src/pthreads/ptsynch.c: scope_hint: In function ‘PR_Unlock’
nss-3_119_1/nspr/pr/src/pthreads/ptsynch.c:179:10: warning[-Wunused-but-set-variable=]: variable ‘rv’ set but not used
#  179 |   PRIntn rv;
#      |          ^~
#  177|   PR_IMPLEMENT(PRStatus) PR_Unlock(PRLock* lock) {
#  178|     pthread_t self = pthread_self();
#  179|->   PRIntn rv;
#  180|   
#  181|     PR_ASSERT(lock != NULL);

Error: COMPILER_WARNING: [#def72]
nss-3_119_1/nspr/pr/src/pthreads/ptsynch.c: scope_hint: In function ‘pt_PostNotifiesFromMonitor’
nss-3_119_1/nspr/pr/src/pthreads/ptsynch.c:433:10: warning[-Wunused-but-set-variable=]: variable ‘rv’ set but not used
#  433 |   PRIntn rv;
#      |          ^~
#  431|   
#  432|   static void pt_PostNotifiesFromMonitor(pthread_cond_t* cv, PRIntn times) {
#  433|->   PRIntn rv;
#  434|   
#  435|     /*

Error: COMPILER_WARNING: [#def73]
nss-3_119_1/nspr/pr/src/pthreads/ptsynch.c: scope_hint: In function ‘PR_DestroyMonitor’
nss-3_119_1/nspr/pr/src/pthreads/ptsynch.c:511:7: warning[-Wunused-but-set-variable=]: variable ‘rv’ set but not used
#  511 |   int rv;
#      |       ^~
#  509|   
#  510|   PR_IMPLEMENT(void) PR_DestroyMonitor(PRMonitor* mon) {
#  511|->   int rv;
#  512|   
#  513|     PR_ASSERT(mon != NULL);

Error: COMPILER_WARNING: [#def74]
nss-3_119_1/nspr/pr/src/pthreads/ptsynch.c: scope_hint: In function ‘PR_GetMonitorEntryCount’
nss-3_119_1/nspr/pr/src/pthreads/ptsynch.c:533:10: warning[-Wunused-but-set-variable=]: variable ‘rv’ set but not used
#  533 |   PRIntn rv;
#      |          ^~
#  531|   PR_IMPLEMENT(PRIntn) PR_GetMonitorEntryCount(PRMonitor* mon) {
#  532|     pthread_t self = pthread_self();
#  533|->   PRIntn rv;
#  534|     PRIntn count = 0;
#  535|   

Error: COMPILER_WARNING: [#def75]
nss-3_119_1/nspr/pr/src/pthreads/ptsynch.c: scope_hint: In function ‘PR_EnterMonitor’
nss-3_119_1/nspr/pr/src/pthreads/ptsynch.c:560:10: warning[-Wunused-but-set-variable=]: variable ‘rv’ set but not used
#  560 |   PRIntn rv;
#      |          ^~
#  558|   PR_IMPLEMENT(void) PR_EnterMonitor(PRMonitor* mon) {
#  559|     pthread_t self = pthread_self();
#  560|->   PRIntn rv;
#  561|   
#  562|     PR_ASSERT(mon != NULL);

Error: COMPILER_WARNING: [#def76]
nss-3_119_1/nspr/pr/src/pthreads/ptsynch.c: scope_hint: In function ‘PR_ExitMonitor’
nss-3_119_1/nspr/pr/src/pthreads/ptsynch.c:587:10: warning[-Wunused-but-set-variable=]: variable ‘rv’ set but not used
#  587 |   PRIntn rv;
#      |          ^~
#  585|   PR_IMPLEMENT(PRStatus) PR_ExitMonitor(PRMonitor* mon) {
#  586|     pthread_t self = pthread_self();
#  587|->   PRIntn rv;
#  588|     PRBool notifyEntryWaiter = PR_FALSE;
#  589|     PRIntn notifyTimes = 0;

Error: COMPILER_WARNING: [#def77]
nss-3_119_1/nspr/pr/src/pthreads/ptsynch.c: scope_hint: In function ‘PRP_DestroyNakedCondVar’
nss-3_119_1/nspr/pr/src/pthreads/ptsynch.c:1107:7: warning[-Wunused-but-set-variable=]: variable ‘rv’ set but not used
# 1107 |   int rv;
#      |       ^~
# 1105|   
# 1106|   PR_IMPLEMENT(void) PRP_DestroyNakedCondVar(PRCondVar* cvar) {
# 1107|->   int rv;
# 1108|     rv = pthread_cond_destroy(&cvar->cv);
# 1109|     PR_ASSERT(0 == rv);

Error: COMPILER_WARNING: [#def78]
nss-3_119_1/nspr/pr/src/pthreads/ptsynch.c: scope_hint: In function ‘PRP_NakedNotify’
nss-3_119_1/nspr/pr/src/pthreads/ptsynch.c:1135:7: warning[-Wunused-but-set-variable=]: variable ‘rv’ set but not used
# 1135 |   int rv;
#      |       ^~
# 1133|   
# 1134|   PR_IMPLEMENT(PRStatus) PRP_NakedNotify(PRCondVar* cvar) {
# 1135|->   int rv;
# 1136|     PR_ASSERT(cvar != NULL);
# 1137|     rv = pthread_cond_signal(&cvar->cv);

Error: COMPILER_WARNING: [#def79]
nss-3_119_1/nspr/pr/src/pthreads/ptsynch.c: scope_hint: In function ‘PRP_NakedBroadcast’
nss-3_119_1/nspr/pr/src/pthreads/ptsynch.c:1143:7: warning[-Wunused-but-set-variable=]: variable ‘rv’ set but not used
# 1143 |   int rv;
#      |       ^~
# 1141|   
# 1142|   PR_IMPLEMENT(PRStatus) PRP_NakedBroadcast(PRCondVar* cvar) {
# 1143|->   int rv;
# 1144|     PR_ASSERT(cvar != NULL);
# 1145|     rv = pthread_cond_broadcast(&cvar->cv);

Error: COMPILER_WARNING: [#def80]
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c: scope_hint: In function ‘pt_AttachThread’
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c:260:9: warning[-Wunused-but-set-variable=]: variable ‘rv’ set but not used
#  260 |     int rv;
#      |         ^~
#  258|     thred = PR_NEWZAP(PRThread);
#  259|     if (NULL != thred) {
#  260|->     int rv;
#  261|   
#  262|       thred->priority = PR_PRIORITY_NORMAL;

Error: COMPILER_WARNING: [#def81]
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c: scope_hint: In function ‘PR_DetachThread’
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c:570:7: warning[-Wunused-but-set-variable=]: variable ‘rv’ set but not used
#  570 |   int rv;
#      |       ^~
#  568|   PR_IMPLEMENT(void) PR_DetachThread(void) {
#  569|     void* thred;
#  570|->   int rv;
#  571|   
#  572|     _PT_PTHREAD_GETSPECIFIC(pt_book.key, thred);

Error: COMPILER_WARNING: [#def82]
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c: scope_hint: In function ‘PR_Interrupt’
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c:705:12: warning[-Wunused-but-set-variable=]: variable ‘rv’ set but not used
#  705 |     PRIntn rv;
#      |            ^~
#  703|     cv = thred->waiting;
#  704|     if ((NULL != cv) && !thred->interrupt_blocked) {
#  705|->     PRIntn rv;
#  706|       (void)PR_ATOMIC_INCREMENT(&cv->notify_pending);
#  707|       rv = pthread_cond_broadcast(&cv->cv);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def83]
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c:718:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c:716:20: enter_function: entry to ‘PR_ClearInterrupt’
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c:717:18: call_function: calling ‘PR_GetCurrentThread’ from ‘PR_ClearInterrupt’
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c:717:18: return_function: returning to ‘PR_ClearInterrupt’ from ‘PR_GetCurrentThread’
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c:718:3: danger: dereference of NULL ‘PR_GetCurrentThread()’
#  716|   PR_IMPLEMENT(void) PR_ClearInterrupt(void) {
#  717|     PRThread* me = PR_GetCurrentThread();
#  718|->   me->state &= ~PT_THREAD_ABORTED;
#  719|   } /* PR_ClearInterrupt */
#  720|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def84]
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c:723:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c:721:20: enter_function: entry to ‘PR_BlockInterrupt’
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c:722:18: call_function: calling ‘PR_GetCurrentThread’ from ‘PR_BlockInterrupt’
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c:722:18: return_function: returning to ‘PR_BlockInterrupt’ from ‘PR_GetCurrentThread’
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c:723:3: danger: dereference of NULL ‘PR_GetCurrentThread()’
#  721|   PR_IMPLEMENT(void) PR_BlockInterrupt(void) {
#  722|     PRThread* me = PR_GetCurrentThread();
#  723|->   _PT_THREAD_BLOCK_INTERRUPT(me);
#  724|   } /* PR_BlockInterrupt */
#  725|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def85]
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c:728:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c:726:20: enter_function: entry to ‘PR_UnblockInterrupt’
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c:727:18: call_function: calling ‘PR_GetCurrentThread’ from ‘PR_UnblockInterrupt’
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c:727:18: return_function: returning to ‘PR_UnblockInterrupt’ from ‘PR_GetCurrentThread’
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c:728:3: danger: dereference of NULL ‘PR_GetCurrentThread()’
#  726|   PR_IMPLEMENT(void) PR_UnblockInterrupt(void) {
#  727|     PRThread* me = PR_GetCurrentThread();
#  728|->   _PT_THREAD_UNBLOCK_INTERRUPT(me);
#  729|   } /* PR_UnblockInterrupt */
#  730|   

Error: COMPILER_WARNING: [#def86]
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c: scope_hint: In function ‘_pt_thread_death’
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c:771:7: warning[-Wunused-but-set-variable=]: variable ‘rv’ set but not used
#  771 |   int rv;
#      |       ^~
#  769|   static void _pt_thread_death(void* arg) {
#  770|     void* thred;
#  771|->   int rv;
#  772|   
#  773|     _PT_PTHREAD_GETSPECIFIC(pt_book.key, thred);

Error: COMPILER_WARNING: [#def87]
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c: scope_hint: In function ‘_PR_Fini’
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c:961:7: warning[-Wunused-but-set-variable=]: variable ‘rv’ set but not used
#  961 |   int rv;
#      |       ^~
#  959|   void _PR_Fini(void) {
#  960|     void* thred;
#  961|->   int rv;
#  962|   
#  963|     if (!_pr_initialized) {

Error: COMPILER_WARNING: [#def88]
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c: scope_hint: In function ‘PR_Cleanup’
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c:993:7: warning[-Wunused-but-set-variable=]: variable ‘rv’ set but not used
#  993 |   int rv;
#      |       ^~
#  991|   PR_IMPLEMENT(PRStatus) PR_Cleanup(void) {
#  992|     PRThread* me = PR_GetCurrentThread();
#  993|->   int rv;
#  994|     PR_LOG(_pr_thread_lm, PR_LOG_MIN, ("PR_Cleanup: shutting down NSPR"));
#  995|     PR_ASSERT(me->state & PT_THREAD_PRIMORD);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def89]
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c:996:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c:991:24: enter_function: entry to ‘PR_Cleanup’
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c:992:18: call_function: calling ‘PR_GetCurrentThread’ from ‘PR_Cleanup’
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c:992:18: return_function: returning to ‘PR_Cleanup’ from ‘PR_GetCurrentThread’
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c:996:7: danger: dereference of NULL ‘PR_GetCurrentThread()’
#  994|     PR_LOG(_pr_thread_lm, PR_LOG_MIN, ("PR_Cleanup: shutting down NSPR"));
#  995|     PR_ASSERT(me->state & PT_THREAD_PRIMORD);
#  996|->   if (me->state & PT_THREAD_PRIMORD) {
#  997|       PR_Lock(pt_book.ml);
#  998|       while (pt_book.user > pt_book.this_many) {

Error: COMPILER_WARNING: [#def90]
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c: scope_hint: In function ‘init_pthread_gc_support’
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c:1104:10: warning[-Wunused-but-set-variable=]: variable ‘rv’ set but not used
# 1104 |   PRIntn rv;
#      |          ^~
# 1102|    */
# 1103|   static void init_pthread_gc_support(void) {
# 1104|->   PRIntn rv;
# 1105|   
# 1106|     {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def91]
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c:1137:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c:1135:20: enter_function: entry to ‘PR_SetThreadGCAble’
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c:1137:3: call_function: calling ‘PR_GetCurrentThread’ from ‘PR_SetThreadGCAble’
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c:1137:3: return_function: returning to ‘PR_SetThreadGCAble’ from ‘PR_GetCurrentThread’
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c:1137:3: danger: dereference of NULL ‘PR_GetCurrentThread()’
# 1135|   PR_IMPLEMENT(void) PR_SetThreadGCAble(void) {
# 1136|     PR_Lock(pt_book.ml);
# 1137|->   PR_GetCurrentThread()->state |= PT_THREAD_GCABLE;
# 1138|     PR_Unlock(pt_book.ml);
# 1139|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def92]
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c:1143:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c:1141:20: enter_function: entry to ‘PR_ClearThreadGCAble’
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c:1143:3: call_function: calling ‘PR_GetCurrentThread’ from ‘PR_ClearThreadGCAble’
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c:1143:3: return_function: returning to ‘PR_ClearThreadGCAble’ from ‘PR_GetCurrentThread’
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c:1143:3: danger: dereference of NULL ‘PR_GetCurrentThread()’
# 1141|   PR_IMPLEMENT(void) PR_ClearThreadGCAble(void) {
# 1142|     PR_Lock(pt_book.ml);
# 1143|->   PR_GetCurrentThread()->state &= (~PT_THREAD_GCABLE);
# 1144|     PR_Unlock(pt_book.ml);
# 1145|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def93]
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c:1245:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘me’
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c:1238:13: enter_function: entry to ‘suspend_signal_handler’
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c:1239:18: call_function: calling ‘PR_GetCurrentThread’ from ‘suspend_signal_handler’
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c:1239:18: return_function: returning to ‘suspend_signal_handler’ from ‘PR_GetCurrentThread’
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c:1239:13: release_memory: ‘me’ is NULL
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c:1245:3: branch_true: following ‘true’ branch...
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c:1245:3: branch_true: ...to here
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c:1245:3: danger: dereference of NULL ‘PR_GetCurrentThread()’
# 1243|     PR_ASSERT((me->suspend & PT_THREAD_SUSPENDED) == 0);
# 1244|   
# 1245|->   PR_LOG(
# 1246|         _pr_gc_lm, PR_LOG_ALWAYS,
# 1247|         ("Begin suspend_signal_handler thred %p thread id = %X\n", me, me->id));

Error: GCC_ANALYZER_WARNING (CWE-476): [#def94]
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c:1252:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c:1238:13: enter_function: entry to ‘suspend_signal_handler’
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c:1239:18: call_function: calling ‘PR_GetCurrentThread’ from ‘suspend_signal_handler’
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c:1239:18: return_function: returning to ‘suspend_signal_handler’ from ‘PR_GetCurrentThread’
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c:1239:13: release_memory: ‘me’ is NULL
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c:1245:3: branch_false: following ‘false’ branch...
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c:1252:5: branch_false: ...to here
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c:1252:5: release_memory: ‘me’ is NULL
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c:1252:3: danger: dereference of NULL ‘me’
# 1250|      * save stack pointer
# 1251|      */
# 1252|->   me->sp = &me;
# 1253|   
# 1254|     /*

Error: COMPILER_WARNING: [#def95]
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c: scope_hint: In function ‘pt_SuspendSet’
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c:1296:10: warning[-Wunused-but-set-variable=]: variable ‘rv’ set but not used
# 1296 |   PRIntn rv;
#      |          ^~
# 1294|   
# 1295|   static void pt_SuspendSet(PRThread* thred) {
# 1296|->   PRIntn rv;
# 1297|   
# 1298|     PR_LOG(_pr_gc_lm, PR_LOG_ALWAYS,

Error: COMPILER_WARNING: [#def96]
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c: scope_hint: In function ‘PR_SuspendAll’
nss-3_119_1/nspr/pr/src/pthreads/ptthread.c:1397:7: warning[-Wunused-but-set-variable=]: variable ‘rv’ set but not used
# 1397 |   int rv;
#      |       ^~
# 1395|     PRThread* thred = pt_book.first;
# 1396|     PRThread* me = PR_GetCurrentThread();
# 1397|->   int rv;
# 1398|   
# 1399|     rv = pthread_once(&pt_gc_support_control, init_pthread_gc_support);

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

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

Error: GCC_ANALYZER_WARNING (CWE-401): [#def99]
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:111:13: warning[-Wanalyzer-malloc-leak]: leak of ‘nickname’
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:432:1: enter_function: entry to ‘main’
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:454:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:457:9: branch_false: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:457:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:481:9: branch_false: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:488:8: branch_false: following ‘false’ branch (when ‘mutuallyExclusiveOpts == 1’)...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:494:8: branch_false: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:494:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:509:10: branch_false: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:509:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:515:9: branch_false: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:552:16: acquire_memory: allocated here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:554:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:558:9: branch_false: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:564:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:567:16: branch_false: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:567:15: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:580:9: branch_false: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:580:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:589:5: branch_false: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:593:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:594:14: branch_true: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:594:14: call_function: calling ‘ConvertCRLEntry’ from ‘main’
#  109|   
#  110|       rv = SEC_ERROR_NO_MEMORY;
#  111|->     arena = PORT_NewArena(DER_DEFAULT_CHUNKSIZE);
#  112|       if (!arena)
#  113|           return rv;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def100]
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:115:14: warning[-Wanalyzer-malloc-leak]: leak of ‘nickname’
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:432:1: enter_function: entry to ‘main’
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:454:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:457:9: branch_false: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:457:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:481:9: branch_false: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:488:8: branch_false: following ‘false’ branch (when ‘mutuallyExclusiveOpts == 1’)...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:494:8: branch_false: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:494:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:509:10: branch_false: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:509:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:515:9: branch_false: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:552:16: acquire_memory: allocated here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:554:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:558:9: branch_false: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:564:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:567:16: branch_false: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:567:15: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:580:9: branch_false: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:580:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:589:5: branch_false: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:593:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:594:14: branch_true: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:594:14: call_function: calling ‘ConvertCRLEntry’ from ‘main’
#  113|           return rv;
#  114|   
#  115|->     newCrl = CERT_DecodeDERCrlWithFlags(arena, sdder, SEC_CRL_TYPE,
#  116|                                           CRL_DECODE_DEFAULT_OPTIONS);
#  117|       if (!newCrl)

Error: GCC_ANALYZER_WARNING (CWE-401): [#def101]
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:196:12: warning[-Wanalyzer-malloc-leak]: leak of ‘nickname’
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:432:1: enter_function: entry to ‘main’
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:454:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:457:9: branch_false: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:457:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:481:9: branch_false: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:488:8: branch_false: following ‘false’ branch (when ‘mutuallyExclusiveOpts == 1’)...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:494:8: branch_false: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:494:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:509:10: branch_false: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:509:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:515:9: branch_false: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:552:16: acquire_memory: allocated here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:554:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:558:9: branch_false: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:564:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:567:16: branch_false: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:567:15: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:580:9: branch_false: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:580:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:589:5: branch_false: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:593:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:596:14: branch_false: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:596:14: call_function: calling ‘ConvertCertificate’ from ‘main’
#  194|       const char *trust_info;
#  195|   
#  196|->     cert = CERT_DecodeDERCertificate(sdder, PR_FALSE, nickname);
#  197|       if (!cert) {
#  198|           return SECFailure;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def102]
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:554:9: warning[-Wanalyzer-malloc-leak]: leak of ‘nickname’
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:454:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:457:9: branch_false: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:457:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:481:9: branch_false: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:488:8: branch_false: following ‘false’ branch (when ‘mutuallyExclusiveOpts == 1’)...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:494:8: branch_false: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:494:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:509:10: branch_false: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:509:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:515:9: branch_false: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:552:16: acquire_memory: allocated here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:554:9: throw: if ‘NSS_NoDB_Init’ throws an exception...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:554:9: danger: ‘nickname’ leaks here; was allocated at [(11)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/10)
#  552|       nickname = strdup(addbuiltin.options[opt_Nickname].arg);
#  553|   
#  554|->     if (NSS_NoDB_Init(NULL) != SECSuccess) {
#  555|           exit(1);
#  556|       }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def103]
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:573:14: warning[-Wanalyzer-malloc-leak]: leak of ‘nickname’
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:454:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:457:9: branch_false: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:457:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:481:9: branch_false: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:488:8: branch_false: following ‘false’ branch (when ‘mutuallyExclusiveOpts == 1’)...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:494:8: branch_false: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:494:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:509:10: branch_false: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:509:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:515:9: branch_false: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:552:16: acquire_memory: allocated here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:554:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:558:9: branch_false: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:564:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:565:18: branch_true: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:573:14: throw: if ‘CERT_DecodeTrustString’ throws an exception...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:573:14: danger: ‘nickname’ leaks here; was allocated at [(11)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/10)
#  571|   
#  572|       if (decodeTrust) {
#  573|->         rv = CERT_DecodeTrustString(&trust, trusts);
#  574|           if (rv) {
#  575|               fprintf(stderr, "%s: incorrectly formatted trust string.\n", progName);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def104]
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:573:14: warning[-Wanalyzer-malloc-leak]: leak of ‘trusts’
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:454:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:457:9: branch_false: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:457:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:481:9: branch_false: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:488:8: branch_false: following ‘false’ branch (when ‘mutuallyExclusiveOpts == 1’)...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:494:8: branch_false: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:494:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:509:10: branch_false: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:509:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:515:9: branch_false: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:554:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:558:9: branch_false: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:564:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:565:18: branch_true: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:565:18: acquire_memory: allocated here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:573:14: throw: if ‘CERT_DecodeTrustString’ throws an exception...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:573:14: danger: ‘trusts’ leaks here; was allocated at [(15)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/14)
#  571|   
#  572|       if (decodeTrust) {
#  573|->         rv = CERT_DecodeTrustString(&trust, trusts);
#  574|           if (rv) {
#  575|               fprintf(stderr, "%s: incorrectly formatted trust string.\n", progName);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def105]
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:589:5: warning[-Wanalyzer-malloc-leak]: leak of ‘nickname’
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:454:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:457:9: branch_false: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:457:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:481:9: branch_false: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:488:8: branch_false: following ‘false’ branch (when ‘mutuallyExclusiveOpts == 1’)...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:494:8: branch_false: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:494:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:509:10: branch_false: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:509:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:515:9: branch_false: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:552:16: acquire_memory: allocated here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:554:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:558:9: branch_false: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:558:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:559:9: branch_false: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:558:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:564:8: branch_false: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:564:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:567:16: branch_false: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:567:15: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:580:9: branch_false: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:580:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:589:5: branch_false: ...to here
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:589:5: throw: if ‘SECU_FileToItem’ throws an exception...
nss-3_119_1/nss/cmd/addbuiltin/addbuiltin.c:589:5: danger: ‘nickname’ leaks here; was allocated at [(11)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/10)
#  587|       }
#  588|   
#  589|->     SECU_FileToItem(&derItem, infile);
#  590|   
#  591|       /*printheader();*/

Error: GCC_ANALYZER_WARNING (CWE-775): [#def106]
nss-3_119_1/nss/cmd/atob/atob.c:126:22: warning[-Wanalyzer-file-leak]: leak of FILE ‘inFile’
nss-3_119_1/nss/cmd/atob/atob.c:126:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/atob/atob.c:127:17: branch_true: ...to here
nss-3_119_1/nss/cmd/atob/atob.c:135:26: acquire_resource: opened here
nss-3_119_1/nss/cmd/atob/atob.c:136:20: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/atob/atob.c:136:20: branch_false: ...to here
nss-3_119_1/nss/cmd/atob/atob.c:126:22: throw: if ‘PL_GetNextOpt’ throws an exception...
nss-3_119_1/nss/cmd/atob/atob.c:126:22: danger: ‘inFile’ leaks here; was opened at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
#  124|       /* Parse command line arguments */
#  125|       optstate = PL_CreateOptState(argc, argv, "?hi:o:");
#  126|->     while ((status = PL_GetNextOpt(optstate)) == PL_OPT_OK) {
#  127|           switch (optstate->option) {
#  128|               case '?':

Error: GCC_ANALYZER_WARNING (CWE-775): [#def107]
nss-3_119_1/nss/cmd/atob/atob.c:126:22: warning[-Wanalyzer-file-leak]: leak of FILE ‘outFile’
nss-3_119_1/nss/cmd/atob/atob.c:126:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/atob/atob.c:127:17: branch_true: ...to here
nss-3_119_1/nss/cmd/atob/atob.c:144:27: acquire_resource: opened here
nss-3_119_1/nss/cmd/atob/atob.c:145:20: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/atob/atob.c:145:20: branch_false: ...to here
nss-3_119_1/nss/cmd/atob/atob.c:126:22: throw: if ‘PL_GetNextOpt’ throws an exception...
nss-3_119_1/nss/cmd/atob/atob.c:126:22: danger: ‘outFile’ leaks here; was opened at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
#  124|       /* Parse command line arguments */
#  125|       optstate = PL_CreateOptState(argc, argv, "?hi:o:");
#  126|->     while ((status = PL_GetNextOpt(optstate)) == PL_OPT_OK) {
#  127|           switch (optstate->option) {
#  128|               case '?':

Error: GCC_ANALYZER_WARNING (CWE-401): [#def108]
nss-3_119_1/nss/cmd/atob/atob.c:126:22: warning[-Wanalyzer-malloc-leak]: leak of ‘inFile’
nss-3_119_1/nss/cmd/atob/atob.c:126:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/atob/atob.c:127:17: branch_true: ...to here
nss-3_119_1/nss/cmd/atob/atob.c:135:26: acquire_memory: allocated here
nss-3_119_1/nss/cmd/atob/atob.c:136:20: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/atob/atob.c:136:20: branch_false: ...to here
nss-3_119_1/nss/cmd/atob/atob.c:126:22: throw: if ‘PL_GetNextOpt’ throws an exception...
nss-3_119_1/nss/cmd/atob/atob.c:126:22: danger: ‘inFile’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
#  124|       /* Parse command line arguments */
#  125|       optstate = PL_CreateOptState(argc, argv, "?hi:o:");
#  126|->     while ((status = PL_GetNextOpt(optstate)) == PL_OPT_OK) {
#  127|           switch (optstate->option) {
#  128|               case '?':

Error: GCC_ANALYZER_WARNING (CWE-401): [#def109]
nss-3_119_1/nss/cmd/atob/atob.c:126:22: warning[-Wanalyzer-malloc-leak]: leak of ‘outFile’
nss-3_119_1/nss/cmd/atob/atob.c:126:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/atob/atob.c:127:17: branch_true: ...to here
nss-3_119_1/nss/cmd/atob/atob.c:144:27: acquire_memory: allocated here
nss-3_119_1/nss/cmd/atob/atob.c:145:20: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/atob/atob.c:145:20: branch_false: ...to here
nss-3_119_1/nss/cmd/atob/atob.c:126:22: throw: if ‘PL_GetNextOpt’ throws an exception...
nss-3_119_1/nss/cmd/atob/atob.c:126:22: danger: ‘outFile’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
#  124|       /* Parse command line arguments */
#  125|       optstate = PL_CreateOptState(argc, argv, "?hi:o:");
#  126|->     while ((status = PL_GetNextOpt(optstate)) == PL_OPT_OK) {
#  127|           switch (optstate->option) {
#  128|               case '?':

Error: CPPCHECK_WARNING (CWE-475): [#def110]
nss-3_119_1/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-775): [#def111]
nss-3_119_1/nss/cmd/btoa/btoa.c:124:22: warning[-Wanalyzer-file-leak]: leak of FILE ‘inFile’
nss-3_119_1/nss/cmd/btoa/btoa.c:124:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/btoa/btoa.c:125:17: branch_true: ...to here
nss-3_119_1/nss/cmd/btoa/btoa.c:132:26: acquire_resource: opened here
nss-3_119_1/nss/cmd/btoa/btoa.c:133:20: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/btoa/btoa.c:133:20: branch_false: ...to here
nss-3_119_1/nss/cmd/btoa/btoa.c:124:22: throw: if ‘PL_GetNextOpt’ throws an exception...
nss-3_119_1/nss/cmd/btoa/btoa.c:124:22: danger: ‘inFile’ leaks here; was opened at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
#  122|       optstate = PL_CreateOptState(argc, argv, "i:o:w:");
#  123|       PORT_Assert(optstate);
#  124|->     while ((status = PL_GetNextOpt(optstate)) == PL_OPT_OK) {
#  125|           switch (optstate->option) {
#  126|               default:

Error: GCC_ANALYZER_WARNING (CWE-775): [#def112]
nss-3_119_1/nss/cmd/btoa/btoa.c:124:22: warning[-Wanalyzer-file-leak]: leak of FILE ‘outFile’
nss-3_119_1/nss/cmd/btoa/btoa.c:124:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/btoa/btoa.c:125:17: branch_true: ...to here
nss-3_119_1/nss/cmd/btoa/btoa.c:141:27: acquire_resource: opened here
nss-3_119_1/nss/cmd/btoa/btoa.c:142:20: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/btoa/btoa.c:142:20: branch_false: ...to here
nss-3_119_1/nss/cmd/btoa/btoa.c:124:22: throw: if ‘PL_GetNextOpt’ throws an exception...
nss-3_119_1/nss/cmd/btoa/btoa.c:124:22: danger: ‘outFile’ leaks here; was opened at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
#  122|       optstate = PL_CreateOptState(argc, argv, "i:o:w:");
#  123|       PORT_Assert(optstate);
#  124|->     while ((status = PL_GetNextOpt(optstate)) == PL_OPT_OK) {
#  125|           switch (optstate->option) {
#  126|               default:

Error: GCC_ANALYZER_WARNING (CWE-401): [#def113]
nss-3_119_1/nss/cmd/btoa/btoa.c:124:22: warning[-Wanalyzer-malloc-leak]: leak of ‘inFile’
nss-3_119_1/nss/cmd/btoa/btoa.c:124:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/btoa/btoa.c:125:17: branch_true: ...to here
nss-3_119_1/nss/cmd/btoa/btoa.c:132:26: acquire_memory: allocated here
nss-3_119_1/nss/cmd/btoa/btoa.c:133:20: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/btoa/btoa.c:133:20: branch_false: ...to here
nss-3_119_1/nss/cmd/btoa/btoa.c:124:22: throw: if ‘PL_GetNextOpt’ throws an exception...
nss-3_119_1/nss/cmd/btoa/btoa.c:124:22: danger: ‘inFile’ leaks here; was allocated at [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4)
#  122|       optstate = PL_CreateOptState(argc, argv, "i:o:w:");
#  123|       PORT_Assert(optstate);
#  124|->     while ((status = PL_GetNextOpt(optstate)) == PL_OPT_OK) {
#  125|           switch (optstate->option) {
#  126|               default:

Error: GCC_ANALYZER_WARNING (CWE-401): [#def114]
nss-3_119_1/nss/cmd/btoa/btoa.c:124:22: warning[-Wanalyzer-malloc-leak]: leak of ‘outFile’
nss-3_119_1/nss/cmd/btoa/btoa.c:124:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/btoa/btoa.c:125:17: branch_true: ...to here
nss-3_119_1/nss/cmd/btoa/btoa.c:141:27: acquire_memory: allocated here
nss-3_119_1/nss/cmd/btoa/btoa.c:142:20: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/btoa/btoa.c:142:20: branch_false: ...to here
nss-3_119_1/nss/cmd/btoa/btoa.c:124:22: throw: if ‘PL_GetNextOpt’ throws an exception...
nss-3_119_1/nss/cmd/btoa/btoa.c:124:22: danger: ‘outFile’ leaks here; was allocated at [(5)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/4)
#  122|       optstate = PL_CreateOptState(argc, argv, "i:o:w:");
#  123|       PORT_Assert(optstate);
#  124|->     while ((status = PL_GetNextOpt(optstate)) == PL_OPT_OK) {
#  125|           switch (optstate->option) {
#  126|               default:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def115]
nss-3_119_1/nss/cmd/crlutil/crlgen.c:816:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
nss-3_119_1/nss/cmd/crlutil/crlgen.c:789:1: enter_function: entry to ‘CRLGEN_ExtHandleInit’
nss-3_119_1/nss/cmd/crlutil/crlgen.c:796:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/crlutil/crlgen.c:808:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/crlutil/crlgen.c:808:8: branch_true: ...to here
nss-3_119_1/nss/cmd/crlutil/crlgen.c:810:16: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/crlutil/crlgen.c:811:42: branch_true: ...to here
nss-3_119_1/nss/cmd/crlutil/crlgen.c:813:17: call_function: calling ‘crlgen_PlaceAnEntry’ from ‘CRLGEN_ExtHandleInit’
nss-3_119_1/nss/cmd/crlutil/crlgen.c:813:17: return_function: returning to ‘CRLGEN_ExtHandleInit’ from ‘crlgen_PlaceAnEntry’
nss-3_119_1/nss/cmd/crlutil/crlgen.c:814:16: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/crlutil/crlgen.c:816:21: branch_true: ...to here
nss-3_119_1/nss/cmd/crlutil/crlgen.c:816:21: danger: dereference of NULL ‘crlgen_PlaceAnEntry(crlGenData, *entry, &**entry_20.serialNumber)’
#  814|               if ((*entry)->extensions) {
#  815|                   extData->extHandle =
#  816|->                     CERT_StartCRLEntryExtensions(&crlGenData->signCrl->crl,
#  817|                                                    (CERTCrlEntry *)extData->entry);
#  818|                   if (crlgen_InitExtensionHandle(extData->extHandle,

Error: GCC_ANALYZER_WARNING (CWE-401): [#def116]
nss-3_119_1/nss/cmd/crlutil/crlgen_lex_orig.l:649:5: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(56)’
nss-3_119_1/nss/cmd/crlutil/crlgen_lex_orig.l:162:1: enter_function: entry to ‘CRLGEN_StartCrlGen’
nss-3_119_1/nss/cmd/crlutil/crlgen_lex_orig.l:172:10: call_function: calling ‘yylex’ from ‘CRLGEN_StartCrlGen’

Error: CPPCHECK_WARNING (CWE-457): [#def117]
nss-3_119_1/nss/cmd/dbtool/dbtool.c:634: warning[uninitvar]: Uninitialized variable: template.pValue
#  632|               template.pValue = alloc;
#  633|           }
#  634|->         if (template.pValue == NULL) {
#  635|               PR_fprintf(PR_STDERR, "    "
#  636|                                     "Could allocate %d bytes for  Attribute %s (0x%08x)\n",

Error: GCC_ANALYZER_WARNING (CWE-775): [#def118]
nss-3_119_1/nss/cmd/digest/digest.c:50:15: warning[-Wanalyzer-file-leak]: leak of FILE ‘inFile’
nss-3_119_1/nss/cmd/digest/digest.c:120:1: enter_function: entry to ‘main’
nss-3_119_1/nss/cmd/digest/digest.c:138:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/digest/digest.c:147:16: branch_false: ...to here
nss-3_119_1/nss/cmd/digest/digest.c:148:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/digest/digest.c:149:17: branch_true: ...to here
nss-3_119_1/nss/cmd/digest/digest.c:155:26: acquire_resource: opened here
nss-3_119_1/nss/cmd/digest/digest.c:156:20: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/digest/digest.c:156:20: branch_false: ...to here
nss-3_119_1/nss/cmd/digest/digest.c:178:8: branch_true: following ‘true’ branch (when ‘hashName’ is NULL)...
nss-3_119_1/nss/cmd/digest/digest.c:179:9: branch_true: ...to here
nss-3_119_1/nss/cmd/digest/digest.c:179:9: call_function: calling ‘Usage’ from ‘main’
#   48|       fprintf(stderr, "%-20s ", "");
#   49|       for (htype = HASH_AlgNULL + 1; htype < HASH_AlgTOTAL; htype++) {
#   50|->         fputs(SECOID_FindOIDByTag(HASH_GetHashOidTagByHashType(htype))->desc,
#   51|                 stderr);
#   52|           if (htype == (HASH_AlgTOTAL - 2))

Error: GCC_ANALYZER_WARNING (CWE-401): [#def119]
nss-3_119_1/nss/cmd/digest/digest.c:50:15: warning[-Wanalyzer-malloc-leak]: leak of ‘inFile’
nss-3_119_1/nss/cmd/digest/digest.c:120:1: enter_function: entry to ‘main’
nss-3_119_1/nss/cmd/digest/digest.c:138:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/digest/digest.c:147:16: branch_false: ...to here
nss-3_119_1/nss/cmd/digest/digest.c:148:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/digest/digest.c:149:17: branch_true: ...to here
nss-3_119_1/nss/cmd/digest/digest.c:155:26: acquire_memory: allocated here
nss-3_119_1/nss/cmd/digest/digest.c:156:20: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/digest/digest.c:156:20: branch_false: ...to here
nss-3_119_1/nss/cmd/digest/digest.c:178:8: branch_true: following ‘true’ branch (when ‘hashName’ is NULL)...
nss-3_119_1/nss/cmd/digest/digest.c:179:9: branch_true: ...to here
nss-3_119_1/nss/cmd/digest/digest.c:179:9: call_function: calling ‘Usage’ from ‘main’
#   48|       fprintf(stderr, "%-20s ", "");
#   49|       for (htype = HASH_AlgNULL + 1; htype < HASH_AlgTOTAL; htype++) {
#   50|->         fputs(SECOID_FindOIDByTag(HASH_GetHashOidTagByHashType(htype))->desc,
#   51|                 stderr);
#   52|           if (htype == (HASH_AlgTOTAL - 2))

Error: GCC_ANALYZER_WARNING (CWE-775): [#def120]
nss-3_119_1/nss/cmd/digest/digest.c:148:22: warning[-Wanalyzer-file-leak]: leak of FILE ‘inFile’
nss-3_119_1/nss/cmd/digest/digest.c:138:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/digest/digest.c:147:16: branch_false: ...to here
nss-3_119_1/nss/cmd/digest/digest.c:148:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/digest/digest.c:149:17: branch_true: ...to here
nss-3_119_1/nss/cmd/digest/digest.c:155:26: acquire_resource: opened here
nss-3_119_1/nss/cmd/digest/digest.c:156:20: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/digest/digest.c:156:20: branch_false: ...to here
nss-3_119_1/nss/cmd/digest/digest.c:148:22: throw: if ‘PL_GetNextOpt’ throws an exception...
nss-3_119_1/nss/cmd/digest/digest.c:148:22: danger: ‘inFile’ leaks here; was opened at [(5)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/4)
#  146|        */
#  147|       optstate = PL_CreateOptState(argc, argv, "t:i:o:");
#  148|->     while ((status = PL_GetNextOpt(optstate)) == PL_OPT_OK) {
#  149|           switch (optstate->option) {
#  150|               case '?':

Error: GCC_ANALYZER_WARNING (CWE-775): [#def121]
nss-3_119_1/nss/cmd/digest/digest.c:148:22: warning[-Wanalyzer-file-leak]: leak of FILE ‘outFile’
nss-3_119_1/nss/cmd/digest/digest.c:138:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/digest/digest.c:147:16: branch_false: ...to here
nss-3_119_1/nss/cmd/digest/digest.c:148:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/digest/digest.c:149:17: branch_true: ...to here
nss-3_119_1/nss/cmd/digest/digest.c:164:27: acquire_resource: opened here
nss-3_119_1/nss/cmd/digest/digest.c:165:20: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/digest/digest.c:165:20: branch_false: ...to here
nss-3_119_1/nss/cmd/digest/digest.c:148:22: throw: if ‘PL_GetNextOpt’ throws an exception...
nss-3_119_1/nss/cmd/digest/digest.c:148:22: danger: ‘outFile’ leaks here; was opened at [(5)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/4)
#  146|        */
#  147|       optstate = PL_CreateOptState(argc, argv, "t:i:o:");
#  148|->     while ((status = PL_GetNextOpt(optstate)) == PL_OPT_OK) {
#  149|           switch (optstate->option) {
#  150|               case '?':

Error: GCC_ANALYZER_WARNING (CWE-401): [#def122]
nss-3_119_1/nss/cmd/digest/digest.c:148:22: warning[-Wanalyzer-malloc-leak]: leak of ‘inFile’
nss-3_119_1/nss/cmd/digest/digest.c:138:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/digest/digest.c:147:16: branch_false: ...to here
nss-3_119_1/nss/cmd/digest/digest.c:148:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/digest/digest.c:149:17: branch_true: ...to here
nss-3_119_1/nss/cmd/digest/digest.c:155:26: acquire_memory: allocated here
nss-3_119_1/nss/cmd/digest/digest.c:156:20: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/digest/digest.c:156:20: branch_false: ...to here
nss-3_119_1/nss/cmd/digest/digest.c:148:22: throw: if ‘PL_GetNextOpt’ throws an exception...
nss-3_119_1/nss/cmd/digest/digest.c:148:22: danger: ‘inFile’ leaks here; was allocated at [(5)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/4)
#  146|        */
#  147|       optstate = PL_CreateOptState(argc, argv, "t:i:o:");
#  148|->     while ((status = PL_GetNextOpt(optstate)) == PL_OPT_OK) {
#  149|           switch (optstate->option) {
#  150|               case '?':

Error: GCC_ANALYZER_WARNING (CWE-401): [#def123]
nss-3_119_1/nss/cmd/digest/digest.c:148:22: warning[-Wanalyzer-malloc-leak]: leak of ‘outFile’
nss-3_119_1/nss/cmd/digest/digest.c:138:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/digest/digest.c:147:16: branch_false: ...to here
nss-3_119_1/nss/cmd/digest/digest.c:148:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/digest/digest.c:149:17: branch_true: ...to here
nss-3_119_1/nss/cmd/digest/digest.c:164:27: acquire_memory: allocated here
nss-3_119_1/nss/cmd/digest/digest.c:165:20: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/digest/digest.c:165:20: branch_false: ...to here
nss-3_119_1/nss/cmd/digest/digest.c:148:22: throw: if ‘PL_GetNextOpt’ throws an exception...
nss-3_119_1/nss/cmd/digest/digest.c:148:22: danger: ‘outFile’ leaks here; was allocated at [(5)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/4)
#  146|        */
#  147|       optstate = PL_CreateOptState(argc, argv, "t:i:o:");
#  148|->     while ((status = PL_GetNextOpt(optstate)) == PL_OPT_OK) {
#  149|           switch (optstate->option) {
#  150|               case '?':

Error: CPPCHECK_WARNING (CWE-476): [#def124]
nss-3_119_1/nss/cmd/fipstest/fipstest.c:320: warning[nullPointerOutOfResources]: If resource allocation fails, then there is a possible null pointer dereference: req
#  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: CPPCHECK_WARNING (CWE-476): [#def125]
nss-3_119_1/nss/cmd/fipstest/fipstest.c:763: warning[nullPointerOutOfResources]: If resource allocation fails, then there is a possible null pointer dereference: req
#  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: CPPCHECK_WARNING (CWE-476): [#def126]
nss-3_119_1/nss/cmd/fipstest/fipstest.c:1035: warning[nullPointerOutOfResources]: If resource allocation fails, then there is a possible null pointer dereference: aesreq
# 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: CPPCHECK_WARNING (CWE-476): [#def127]
nss-3_119_1/nss/cmd/fipstest/fipstest.c:1252: warning[nullPointerOutOfResources]: If resource allocation fails, then there is a possible null pointer dereference: aesreq
# 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: CPPCHECK_WARNING (CWE-476): [#def128]
nss-3_119_1/nss/cmd/fipstest/fipstest.c:1460: warning[nullPointerOutOfResources]: If resource allocation fails, then there is a possible null pointer dereference: aesreq
# 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: CPPCHECK_WARNING (CWE-476): [#def129]
nss-3_119_1/nss/cmd/fipstest/fipstest.c:1744: warning[nullPointerOutOfResources]: If resource allocation fails, then there is a possible null pointer dereference: aesreq
# 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: CPPCHECK_WARNING (CWE-476): [#def130]
nss-3_119_1/nss/cmd/fipstest/fipstest.c:2396: warning[nullPointerOutOfResources]: If resource allocation fails, then there is a possible null pointer dereference: ecdsareq
# 2394|       ecdsaresp = stdout;
# 2395|       strcpy(curve, "nist");
# 2396|->     while (fgets(buf, sizeof buf, ecdsareq) != NULL) {
# 2397|           /* a comment or blank line */
# 2398|           if (buf[0] == '#' || buf[0] == '\n') {

Error: CPPCHECK_WARNING (CWE-476): [#def131]
nss-3_119_1/nss/cmd/fipstest/fipstest.c:2516: warning[nullPointerOutOfResources]: If resource allocation fails, then there is a possible null pointer dereference: ecdsareq
# 2514|       strcpy(curve, "nist");
# 2515|       pubkey.data = NULL;
# 2516|->     while (fgets(buf, sizeof buf, ecdsareq) != NULL) {
# 2517|           /* a comment or blank line */
# 2518|           if (buf[0] == '#' || buf[0] == '\n') {

Error: CPPCHECK_WARNING (CWE-476): [#def132]
nss-3_119_1/nss/cmd/fipstest/fipstest.c:2641: warning[nullPointerOutOfResources]: If resource allocation fails, then there is a possible null pointer dereference: ecdsareq
# 2639|       ecdsaresp = stdout;
# 2640|       strcpy(curve, "nist");
# 2641|->     while (fgets(buf, sizeof buf, ecdsareq) != NULL) {
# 2642|           /* a comment or blank line */
# 2643|           if (buf[0] == '#' || buf[0] == '\n') {

Error: CPPCHECK_WARNING (CWE-476): [#def133]
nss-3_119_1/nss/cmd/fipstest/fipstest.c:2801: warning[nullPointerOutOfResources]: If resource allocation fails, then there is a possible null pointer dereference: ecdsareq
# 2799|       ecpub.ecParams.arena = NULL;
# 2800|       strcpy(curve, "nist");
# 2801|->     while (fgets(buf, sizeof buf, ecdsareq) != NULL) {
# 2802|           /* a comment or blank line */
# 2803|           if (buf[0] == '#' || buf[0] == '\n') {

Error: CPPCHECK_WARNING (CWE-476): [#def134]
nss-3_119_1/nss/cmd/fipstest/fipstest.c:3007: warning[nullPointerOutOfResources]: If resource allocation fails, then there is a possible null pointer dereference: ecdhreq
# 3005|       strcpy(curve, "nist");
# 3006|       pubkey.data = NULL;
# 3007|->     while (fgets(buf, sizeof buf, ecdhreq) != NULL) {
# 3008|           /* a comment or blank line */
# 3009|           if (buf[0] == '#' || buf[0] == '\n' || buf[0] == '\r') {

Error: CPPCHECK_WARNING (CWE-476): [#def135]
nss-3_119_1/nss/cmd/fipstest/fipstest.c:3260: warning[nullPointerOutOfResources]: If resource allocation fails, then there is a possible null pointer dereference: ecdhreq
# 3258|       strcpy(curve, "nist");
# 3259|       pubkey.data = NULL;
# 3260|->     while (fgets(buf, sizeof buf, ecdhreq) != NULL) {
# 3261|           /* a comment or blank line */
# 3262|           if (buf[0] == '#' || buf[0] == '\n' || buf[0] == '\r') {

Error: CPPCHECK_WARNING (CWE-476): [#def136]
nss-3_119_1/nss/cmd/fipstest/fipstest.c:3526: warning[nullPointerOutOfResources]: If resource allocation fails, then there is a possible null pointer dereference: dhreq
# 3524|       dhreq = fopen(reqfn, "r");
# 3525|       dhresp = stdout;
# 3526|->     while (fgets(buf, sizeof buf, dhreq) != NULL) {
# 3527|           /* a comment or blank line */
# 3528|           if (buf[0] == '#' || buf[0] == '\n' || buf[0] == '\r') {

Error: CPPCHECK_WARNING (CWE-476): [#def137]
nss-3_119_1/nss/cmd/fipstest/fipstest.c:3720: warning[nullPointerOutOfResources]: If resource allocation fails, then there is a possible null pointer dereference: dhreq
# 3718|       dhreq = fopen(reqfn, "r");
# 3719|       dhresp = stdout;
# 3720|->     while (fgets(buf, sizeof buf, dhreq) != NULL) {
# 3721|           /* a comment or blank line */
# 3722|           if (buf[0] == '#' || buf[0] == '\n' || buf[0] == '\r') {

Error: CPPCHECK_WARNING (CWE-476): [#def138]
nss-3_119_1/nss/cmd/fipstest/fipstest.c:3963: warning[nullPointerOutOfResources]: If resource allocation fails, then there is a possible null pointer dereference: rngreq
# 3961|       rngreq = fopen(reqfn, "r");
# 3962|       rngresp = stdout;
# 3963|->     while (fgets(buf, sizeof buf, rngreq) != NULL) {
# 3964|           switch (command) {
# 3965|               case INSTANTIATE:

Error: CPPCHECK_WARNING (CWE-476): [#def139]
nss-3_119_1/nss/cmd/fipstest/fipstest.c:4385: warning[nullPointerOutOfResources]: If resource allocation fails, then there is a possible null pointer dereference: rngreq
# 4383|       rngreq = fopen(reqfn, "r");
# 4384|       rngresp = stdout;
# 4385|->     while (fgets(buf, sizeof buf, rngreq) != NULL) {
# 4386|           /* a comment or blank line */
# 4387|           if (buf[0] == '#' || buf[0] == '\n') {

Error: CPPCHECK_WARNING (CWE-476): [#def140]
nss-3_119_1/nss/cmd/fipstest/fipstest.c:4508: warning[nullPointerOutOfResources]: If resource allocation fails, then there is a possible null pointer dereference: rngreq
# 4506|       rngreq = fopen(reqfn, "r");
# 4507|       rngresp = stdout;
# 4508|->     while (fgets(buf, sizeof buf, rngreq) != NULL) {
# 4509|           /* a comment or blank line */
# 4510|           if (buf[0] == '#' || buf[0] == '\n') {

Error: CPPCHECK_WARNING (CWE-476): [#def141]
nss-3_119_1/nss/cmd/fipstest/fipstest.c:4710: warning[nullPointerOutOfResources]: If resource allocation fails, then there is a possible null pointer dereference: req
# 4708|       req = fopen(reqfn, "r");
# 4709|       resp = stdout;
# 4710|->     while (fgets(buf, bufSize, req) != NULL) {
# 4711|   
# 4712|           /* a comment or blank line */

Error: CPPCHECK_WARNING (CWE-476): [#def142]
nss-3_119_1/nss/cmd/fipstest/fipstest.c:4895: warning[nullPointerOutOfResources]: If resource allocation fails, then there is a possible null pointer dereference: req
# 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: CPPCHECK_WARNING (CWE-476): [#def143]
nss-3_119_1/nss/cmd/fipstest/fipstest.c:5045: warning[nullPointerOutOfResources]: If resource allocation fails, then there is a possible null pointer dereference: dsareq
# 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: CPPCHECK_WARNING (CWE-476): [#def144]
nss-3_119_1/nss/cmd/fipstest/fipstest.c:5182: warning[nullPointerOutOfResources]: If resource allocation fails, then there is a possible null pointer dereference: dsareq
# 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: CPPCHECK_WARNING (CWE-476): [#def145]
nss-3_119_1/nss/cmd/fipstest/fipstest.c:5510: warning[nullPointerOutOfResources]: If resource allocation fails, then there is a possible null pointer dereference: dsareq
# 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: CPPCHECK_WARNING (CWE-476): [#def146]
nss-3_119_1/nss/cmd/fipstest/fipstest.c:5686: warning[nullPointerOutOfResources]: If resource allocation fails, then there is a possible null pointer dereference: dsareq
# 5684|       dsaresp = stdout;
# 5685|   
# 5686|->     while (fgets(buf, sizeof buf, dsareq) != NULL) {
# 5687|           /* a comment or blank line */
# 5688|           if (buf[0] == '#' || buf[0] == '\n') {

Error: CPPCHECK_WARNING (CWE-476): [#def147]
nss-3_119_1/nss/cmd/fipstest/fipstest.c:5870: warning[nullPointerOutOfResources]: If resource allocation fails, then there is a possible null pointer dereference: dsareq
# 5868|       memset(&pubkey, 0, sizeof(pubkey));
# 5869|   
# 5870|->     while (fgets(buf, sizeof buf, dsareq) != NULL) {
# 5871|           /* a comment or blank line */
# 5872|           if (buf[0] == '#' || buf[0] == '\n') {

Error: CPPCHECK_WARNING (CWE-476): [#def148]
nss-3_119_1/nss/cmd/fipstest/fipstest.c:6120: warning[nullPointerOutOfResources]: If resource allocation fails, then there is a possible null pointer dereference: rsareq
# 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: CPPCHECK_WARNING (CWE-476): [#def149]
nss-3_119_1/nss/cmd/fipstest/fipstest.c:6233: warning[nullPointerOutOfResources]: If resource allocation fails, then there is a possible null pointer dereference: rsareq
# 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: CPPCHECK_WARNING (CWE-476): [#def150]
nss-3_119_1/nss/cmd/fipstest/fipstest.c:6420: warning[nullPointerOutOfResources]: If resource allocation fails, then there is a possible null pointer dereference: rsareq
# 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: CPPCHECK_WARNING (CWE-476): [#def151]
nss-3_119_1/nss/cmd/fipstest/fipstest.c:6715: warning[nullPointerOutOfResources]: If resource allocation fails, then there is a possible null pointer dereference: tlsreq
# 6713|       tlsreq = fopen(reqfn, "r");
# 6714|       tlsresp = stdout;
# 6715|->     while (fgets(buf, sizeof buf, tlsreq) != NULL) {
# 6716|           /* a comment or blank line */
# 6717|           if (buf[0] == '#' || buf[0] == '\n') {

Error: CPPCHECK_WARNING (CWE-476): [#def152]
nss-3_119_1/nss/cmd/fipstest/fipstest.c:7047: warning[nullPointerOutOfResources]: If resource allocation fails, then there is a possible null pointer dereference: ikereq
# 7045|       ikereq = fopen(reqfn, "r");
# 7046|       ikeresp = stdout;
# 7047|->     while (fgets(buf, sizeof buf, ikereq) != NULL) {
# 7048|           /* a comment or blank line */
# 7049|           if (buf[0] == '#' || buf[0] == '\n') {

Error: CPPCHECK_WARNING (CWE-476): [#def153]
nss-3_119_1/nss/cmd/fipstest/fipstest.c:7437: warning[nullPointerOutOfResources]: If resource allocation fails, then there is a possible null pointer dereference: ikereq
# 7435|       ikereq = fopen(reqfn, "r");
# 7436|       ikeresp = stdout;
# 7437|->     while (fgets(buf, sizeof buf, ikereq) != NULL) {
# 7438|           /* a comment or blank line */
# 7439|           if (buf[0] == '#' || buf[0] == '\n') {

Error: CPPCHECK_WARNING (CWE-476): [#def154]
nss-3_119_1/nss/cmd/fipstest/fipstest.c:7852: warning[nullPointerOutOfResources]: If resource allocation fails, then there is a possible null pointer dereference: ikereq
# 7850|       ikereq = fopen(reqfn, "r");
# 7851|       ikeresp = stdout;
# 7852|->     while (fgets(buf, sizeof buf, ikereq) != NULL) {
# 7853|           /* a comment or blank line */
# 7854|           if (buf[0] == '#' || buf[0] == '\n') {

Error: CPPCHECK_WARNING (CWE-476): [#def155]
nss-3_119_1/nss/cmd/fipstest/fipstest.c:7961: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: seed_data
# 7959|               memset(gir, 0, gir_len);
# 7960|               memset(gir_new, 0, gir_len);
# 7961|->             memset(seed_data, 0, seed_data_len);
# 7962|               fputs(buf, ikeresp);
# 7963|               continue;

Error: CPPCHECK_WARNING (CWE-476): [#def156]
nss-3_119_1/nss/cmd/fipstest/fipstest.c:8332: warning[nullPointerOutOfResources]: If resource allocation fails, then there is a possible null pointer dereference: kbkdf_req
# 8330|       kbkdf_resp = stdout;
# 8331|   
# 8332|->     while (fgets(buf, sizeof buf, kbkdf_req) != NULL) {
# 8333|           /* If we have a comment, check if it tells us the type of KDF to use.
# 8334|            * This differs per-file, so we have to parse it. */

Error: GCC_ANALYZER_WARNING (CWE-404): [#def157]
nss-3_119_1/nss/cmd/modutil/install.c:277:18: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
nss-3_119_1/nss/cmd/modutil/install.c:310:1: enter_function: entry to ‘Pk11Install_DoInstall’
nss-3_119_1/nss/cmd/modutil/install.c:340:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/modutil/install.c:341:9: branch_true: ...to here
nss-3_119_1/nss/cmd/modutil/install.c:341:9: call_function: calling ‘error’ from ‘Pk11Install_DoInstall’
#  275|       if (handler) {
#  276|           va_start(ap, errcode);
#  277|->         errstr = PR_vsmprintf(errorString[errcode], ap);
#  278|           handler(errstr);
#  279|           PR_smprintf_free(errstr);

Error: GCC_ANALYZER_WARNING (CWE-127): [#def158]
nss-3_119_1/nss/cmd/modutil/installparse.y:90:13: warning[-Wanalyzer-out-of-bounds]: buffer under-read
nss-3_119_1/nss/cmd/modutil/ytab.c:218:8: branch_true: following ‘true’ branch (when ‘yyn != 0’)...
nss-3_119_1/nss/cmd/modutil/ytab.c:219:9: branch_true: ...to here
nss-3_119_1/nss/cmd/modutil/installparse.y:90:13: danger: out-of-bounds read from byte -8 till byte -1 but ‘Pk11Install_yyvs’ starts at byte 0
#   88|   %%
#   89|   /*----------------------- Program Section --------------------------------*/
#   90|-> 
#   91|   /*************************************************************************/
#   92|   void

Error: GCC_ANALYZER_WARNING (CWE-127): [#def159]
nss-3_119_1/nss/cmd/modutil/installparse.y:109:26: warning[-Wanalyzer-out-of-bounds]: buffer under-read
nss-3_119_1/nss/cmd/modutil/ytab.c:218:8: branch_true: following ‘true’ branch (when ‘yyn != 0’)...
nss-3_119_1/nss/cmd/modutil/ytab.c:219:9: branch_true: ...to here
nss-3_119_1/nss/cmd/modutil/installparse.y:109:26: danger: out-of-bounds read from byte -8 till byte -1 but ‘Pk11Install_yyvs’ starts at byte 0

Error: GCC_ANALYZER_WARNING (CWE-457): [#def160]
nss-3_119_1/nss/cmd/modutil/lex.Pk11Install_yy.cpp:943:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘c’
nss-3_119_1/nss/cmd/modutil/lex.Pk11Install_yy.cpp:862:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/modutil/lex.Pk11Install_yy.cpp:866:9: branch_false: ...to here
nss-3_119_1/nss/cmd/modutil/lex.Pk11Install_yy.cpp:866:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/modutil/lex.Pk11Install_yy.cpp:885:27: branch_false: ...to here
nss-3_119_1/nss/cmd/modutil/lex.Pk11Install_yy.cpp:890:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/modutil/lex.Pk11Install_yy.cpp:898:13: branch_false: ...to here
nss-3_119_1/nss/cmd/modutil/lex.Pk11Install_yy.cpp:943:9: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/modutil/lex.Pk11Install_yy.cpp:943:9: branch_true: ...to here
nss-3_119_1/nss/cmd/modutil/lex.Pk11Install_yy.cpp:943:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/modutil/lex.Pk11Install_yy.cpp:943:9: branch_false: ...to here
nss-3_119_1/nss/cmd/modutil/lex.Pk11Install_yy.cpp:943:9: danger: use of uninitialized value ‘c’ here

Error: CPPCHECK_WARNING (CWE-758): [#def161]
nss-3_119_1/nss/cmd/nssdefaults/nssdefaults.c:130: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#  128|       }
#  129|       for (i = 0; i < sizeof(flags) * PR_BITS_PER_BYTE; i++) {
#  130|->         PRUint32 flag = (1 << i);
#  131|           const char *value;
#  132|           if ((flags & flag) == 0) {

Error: GCC_ANALYZER_WARNING (CWE-775): [#def162]
nss-3_119_1/nss/cmd/p7content/p7content.c:229:5: warning[-Wanalyzer-file-leak]: leak of FILE ‘outFile’
nss-3_119_1/nss/cmd/p7content/p7content.c:188:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:189:17: branch_true: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:205:27: acquire_resource: opened here
nss-3_119_1/nss/cmd/p7content/p7content.c:206:20: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:206:20: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:188:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:229:5: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:229:5: throw: if ‘PL_DestroyOptState’ throws an exception...
nss-3_119_1/nss/cmd/p7content/p7content.c:229:5: danger: ‘outFile’ leaks here; was opened at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
#  227|           }
#  228|       }
#  229|->     PL_DestroyOptState(optstate);
#  230|   
#  231|       if (status == PL_OPT_BAD)

Error: GCC_ANALYZER_WARNING (CWE-401): [#def163]
nss-3_119_1/nss/cmd/p7content/p7content.c:229:5: warning[-Wanalyzer-malloc-leak]: leak of ‘outFile’
nss-3_119_1/nss/cmd/p7content/p7content.c:188:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:189:17: branch_true: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:205:27: acquire_memory: allocated here
nss-3_119_1/nss/cmd/p7content/p7content.c:206:20: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:206:20: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:188:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:229:5: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:229:5: throw: if ‘PL_DestroyOptState’ throws an exception...
nss-3_119_1/nss/cmd/p7content/p7content.c:229:5: danger: ‘outFile’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
#  227|           }
#  228|       }
#  229|->     PL_DestroyOptState(optstate);
#  230|   
#  231|       if (status == PL_OPT_BAD)

Error: GCC_ANALYZER_WARNING (CWE-775): [#def164]
nss-3_119_1/nss/cmd/p7content/p7content.c:235:18: warning[-Wanalyzer-file-leak]: leak of FILE ‘outFile’
nss-3_119_1/nss/cmd/p7content/p7content.c:188:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:189:17: branch_true: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:205:27: acquire_resource: opened here
nss-3_119_1/nss/cmd/p7content/p7content.c:206:20: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:206:20: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:188:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:229:5: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:231:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:234:8: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:234:8: branch_true: following ‘true’ branch (when ‘inFile’ is NULL)...
nss-3_119_1/nss/cmd/p7content/p7content.c:235:18: branch_true: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:235:18: throw: if ‘PR_GetSpecialFD’ throws an exception...
nss-3_119_1/nss/cmd/p7content/p7content.c:235:18: danger: ‘outFile’ leaks here; was opened at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
#  233|   
#  234|       if (!inFile)
#  235|->         inFile = PR_STDIN;
#  236|       if (!outFile)
#  237|           outFile = stdout;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def165]
nss-3_119_1/nss/cmd/p7content/p7content.c:235:18: warning[-Wanalyzer-malloc-leak]: leak of ‘outFile’
nss-3_119_1/nss/cmd/p7content/p7content.c:188:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:189:17: branch_true: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:205:27: acquire_memory: allocated here
nss-3_119_1/nss/cmd/p7content/p7content.c:206:20: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:206:20: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:188:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:229:5: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:231:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:234:8: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:234:8: branch_true: following ‘true’ branch (when ‘inFile’ is NULL)...
nss-3_119_1/nss/cmd/p7content/p7content.c:235:18: branch_true: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:235:18: throw: if ‘PR_GetSpecialFD’ throws an exception...
nss-3_119_1/nss/cmd/p7content/p7content.c:235:18: danger: ‘outFile’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
#  233|   
#  234|       if (!inFile)
#  235|->         inFile = PR_STDIN;
#  236|       if (!outFile)
#  237|           outFile = stdout;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def166]
nss-3_119_1/nss/cmd/p7content/p7content.c:240:5: warning[-Wanalyzer-file-leak]: leak of FILE ‘outFile’
nss-3_119_1/nss/cmd/p7content/p7content.c:188:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:189:17: branch_true: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:205:27: acquire_resource: opened here
nss-3_119_1/nss/cmd/p7content/p7content.c:206:20: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:206:20: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:188:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:229:5: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:231:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:234:8: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:234:8: branch_true: following ‘true’ branch (when ‘inFile’ is NULL)...
nss-3_119_1/nss/cmd/p7content/p7content.c:235:18: branch_true: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:236:8: branch_false: following ‘false’ branch (when ‘outFile’ is non-NULL)...
nss-3_119_1/nss/cmd/p7content/p7content.c:240:5: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:240:5: throw: if ‘PR_Init’ throws an exception...
nss-3_119_1/nss/cmd/p7content/p7content.c:240:5: danger: ‘outFile’ leaks here; was opened at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
#  238|   
#  239|       /* Call the initialization routines */
#  240|->     PR_Init(PR_SYSTEM_THREAD, PR_PRIORITY_NORMAL, 1);
#  241|       rv = NSS_Init(SECU_ConfigDirectory(NULL));
#  242|       if (rv != SECSuccess) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def167]
nss-3_119_1/nss/cmd/p7content/p7content.c:240:5: warning[-Wanalyzer-malloc-leak]: leak of ‘outFile’
nss-3_119_1/nss/cmd/p7content/p7content.c:188:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:189:17: branch_true: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:205:27: acquire_memory: allocated here
nss-3_119_1/nss/cmd/p7content/p7content.c:206:20: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:206:20: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:188:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:229:5: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:231:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:234:8: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:234:8: branch_true: following ‘true’ branch (when ‘inFile’ is NULL)...
nss-3_119_1/nss/cmd/p7content/p7content.c:235:18: branch_true: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:236:8: branch_false: following ‘false’ branch (when ‘outFile’ is non-NULL)...
nss-3_119_1/nss/cmd/p7content/p7content.c:240:5: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:240:5: throw: if ‘PR_Init’ throws an exception...
nss-3_119_1/nss/cmd/p7content/p7content.c:240:5: danger: ‘outFile’ leaks here; was allocated at [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
#  238|   
#  239|       /* Call the initialization routines */
#  240|->     PR_Init(PR_SYSTEM_THREAD, PR_PRIORITY_NORMAL, 1);
#  241|       rv = NSS_Init(SECU_ConfigDirectory(NULL));
#  242|       if (rv != SECSuccess) {

Error: GCC_ANALYZER_WARNING (CWE-775): [#def168]
nss-3_119_1/nss/cmd/p7content/p7content.c:241:10: warning[-Wanalyzer-file-leak]: leak of FILE ‘outFile’
nss-3_119_1/nss/cmd/p7content/p7content.c:188:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:189:17: branch_true: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:205:27: acquire_resource: opened here
nss-3_119_1/nss/cmd/p7content/p7content.c:206:20: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:206:20: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:188:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:229:5: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:231:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:234:8: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:234:8: branch_true: following ‘true’ branch (when ‘inFile’ is NULL)...
nss-3_119_1/nss/cmd/p7content/p7content.c:235:18: branch_true: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:236:8: branch_false: following ‘false’ branch (when ‘outFile’ is non-NULL)...
nss-3_119_1/nss/cmd/p7content/p7content.c:240:5: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:241:10: throw: if ‘NSS_Init’ throws an exception...
nss-3_119_1/nss/cmd/p7content/p7content.c:241:10: danger: ‘outFile’ leaks here; was opened at [(3)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/2)
#  239|       /* Call the initialization routines */
#  240|       PR_Init(PR_SYSTEM_THREAD, PR_PRIORITY_NORMAL, 1);
#  241|->     rv = NSS_Init(SECU_ConfigDirectory(NULL));
#  242|       if (rv != SECSuccess) {
#  243|           SECU_PrintPRandOSError(progName);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def169]
nss-3_119_1/nss/cmd/p7content/p7content.c:241:10: warning[-Wanalyzer-malloc-leak]: leak of ‘outFile’
nss-3_119_1/nss/cmd/p7content/p7content.c:188:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:189:17: branch_true: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:205:27: acquire_memory: allocated here
nss-3_119_1/nss/cmd/p7content/p7content.c:206:20: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:206:20: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:188:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:229:5: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:231:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:234:8: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:234:8: branch_true: following ‘true’ branch (when ‘inFile’ is NULL)...
nss-3_119_1/nss/cmd/p7content/p7content.c:235:18: branch_true: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:236:8: branch_false: following ‘false’ branch (when ‘outFile’ is non-NULL)...
nss-3_119_1/nss/cmd/p7content/p7content.c:240:5: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:241:10: throw: if ‘NSS_Init’ throws an exception...
nss-3_119_1/nss/cmd/p7content/p7content.c:241:10: danger: ‘outFile’ leaks here; was allocated at [(3)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/2)
#  239|       /* Call the initialization routines */
#  240|       PR_Init(PR_SYSTEM_THREAD, PR_PRIORITY_NORMAL, 1);
#  241|->     rv = NSS_Init(SECU_ConfigDirectory(NULL));
#  242|       if (rv != SECSuccess) {
#  243|           SECU_PrintPRandOSError(progName);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def170]
nss-3_119_1/nss/cmd/p7content/p7content.c:241:19: warning[-Wanalyzer-file-leak]: leak of FILE ‘outFile’
nss-3_119_1/nss/cmd/p7content/p7content.c:188:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:189:17: branch_true: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:205:27: acquire_resource: opened here
nss-3_119_1/nss/cmd/p7content/p7content.c:206:20: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:206:20: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:188:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:229:5: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:231:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:234:8: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:234:8: branch_true: following ‘true’ branch (when ‘inFile’ is NULL)...
nss-3_119_1/nss/cmd/p7content/p7content.c:235:18: branch_true: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:236:8: branch_false: following ‘false’ branch (when ‘outFile’ is non-NULL)...
nss-3_119_1/nss/cmd/p7content/p7content.c:240:5: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:241:19: throw: if ‘SECU_ConfigDirectory’ throws an exception...
nss-3_119_1/nss/cmd/p7content/p7content.c:241:19: danger: ‘outFile’ leaks here; was opened at [(3)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/2)
#  239|       /* Call the initialization routines */
#  240|       PR_Init(PR_SYSTEM_THREAD, PR_PRIORITY_NORMAL, 1);
#  241|->     rv = NSS_Init(SECU_ConfigDirectory(NULL));
#  242|       if (rv != SECSuccess) {
#  243|           SECU_PrintPRandOSError(progName);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def171]
nss-3_119_1/nss/cmd/p7content/p7content.c:241:19: warning[-Wanalyzer-malloc-leak]: leak of ‘outFile’
nss-3_119_1/nss/cmd/p7content/p7content.c:188:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:189:17: branch_true: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:205:27: acquire_memory: allocated here
nss-3_119_1/nss/cmd/p7content/p7content.c:206:20: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:206:20: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:188:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:229:5: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:231:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:234:8: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:234:8: branch_true: following ‘true’ branch (when ‘inFile’ is NULL)...
nss-3_119_1/nss/cmd/p7content/p7content.c:235:18: branch_true: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:236:8: branch_false: following ‘false’ branch (when ‘outFile’ is non-NULL)...
nss-3_119_1/nss/cmd/p7content/p7content.c:240:5: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:241:19: throw: if ‘SECU_ConfigDirectory’ throws an exception...
nss-3_119_1/nss/cmd/p7content/p7content.c:241:19: danger: ‘outFile’ leaks here; was allocated at [(3)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/2)
#  239|       /* Call the initialization routines */
#  240|       PR_Init(PR_SYSTEM_THREAD, PR_PRIORITY_NORMAL, 1);
#  241|->     rv = NSS_Init(SECU_ConfigDirectory(NULL));
#  242|       if (rv != SECSuccess) {
#  243|           SECU_PrintPRandOSError(progName);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def172]
nss-3_119_1/nss/cmd/p7content/p7content.c:243:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘outFile’
nss-3_119_1/nss/cmd/p7content/p7content.c:188:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:189:17: branch_true: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:205:27: acquire_resource: opened here
nss-3_119_1/nss/cmd/p7content/p7content.c:206:20: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:206:20: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:188:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:229:5: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:231:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:234:8: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:234:8: branch_true: following ‘true’ branch (when ‘inFile’ is NULL)...
nss-3_119_1/nss/cmd/p7content/p7content.c:235:18: branch_true: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:236:8: branch_false: following ‘false’ branch (when ‘outFile’ is non-NULL)...
nss-3_119_1/nss/cmd/p7content/p7content.c:240:5: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:242:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:243:9: branch_true: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:243:9: throw: if ‘SECU_PrintPRandOSError’ throws an exception...
nss-3_119_1/nss/cmd/p7content/p7content.c:243:9: danger: ‘outFile’ leaks here; was opened at [(3)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/2)
#  241|       rv = NSS_Init(SECU_ConfigDirectory(NULL));
#  242|       if (rv != SECSuccess) {
#  243|->         SECU_PrintPRandOSError(progName);
#  244|           error = -1;
#  245|           goto done;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def173]
nss-3_119_1/nss/cmd/p7content/p7content.c:243:9: warning[-Wanalyzer-malloc-leak]: leak of ‘outFile’
nss-3_119_1/nss/cmd/p7content/p7content.c:188:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:189:17: branch_true: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:205:27: acquire_memory: allocated here
nss-3_119_1/nss/cmd/p7content/p7content.c:206:20: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:206:20: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:188:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:229:5: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:231:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:234:8: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:234:8: branch_true: following ‘true’ branch (when ‘inFile’ is NULL)...
nss-3_119_1/nss/cmd/p7content/p7content.c:235:18: branch_true: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:236:8: branch_false: following ‘false’ branch (when ‘outFile’ is non-NULL)...
nss-3_119_1/nss/cmd/p7content/p7content.c:240:5: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:242:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:243:9: branch_true: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:243:9: throw: if ‘SECU_PrintPRandOSError’ throws an exception...
nss-3_119_1/nss/cmd/p7content/p7content.c:243:9: danger: ‘outFile’ leaks here; was allocated at [(3)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/2)
#  241|       rv = NSS_Init(SECU_ConfigDirectory(NULL));
#  242|       if (rv != SECSuccess) {
#  243|->         SECU_PrintPRandOSError(progName);
#  244|           error = -1;
#  245|           goto done;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def174]
nss-3_119_1/nss/cmd/p7content/p7content.c:248:5: warning[-Wanalyzer-file-leak]: leak of FILE ‘outFile’
nss-3_119_1/nss/cmd/p7content/p7content.c:188:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:189:17: branch_true: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:205:27: acquire_resource: opened here
nss-3_119_1/nss/cmd/p7content/p7content.c:206:20: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:206:20: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:188:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:229:5: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:231:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:234:8: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:234:8: branch_true: following ‘true’ branch (when ‘inFile’ is NULL)...
nss-3_119_1/nss/cmd/p7content/p7content.c:235:18: branch_true: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:236:8: branch_false: following ‘false’ branch (when ‘outFile’ is non-NULL)...
nss-3_119_1/nss/cmd/p7content/p7content.c:240:5: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:242:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:248:5: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:248:5: throw: if ‘PK11_SetPasswordFunc’ throws an exception...
nss-3_119_1/nss/cmd/p7content/p7content.c:248:5: danger: ‘outFile’ leaks here; was opened at [(3)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/2)
#  246|       }
#  247|   
#  248|->     PK11_SetPasswordFunc(SECU_GetModulePassword);
#  249|   
#  250|       if (DecodeAndPrintFile(outFile, inFile, progName)) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def175]
nss-3_119_1/nss/cmd/p7content/p7content.c:248:5: warning[-Wanalyzer-malloc-leak]: leak of ‘outFile’
nss-3_119_1/nss/cmd/p7content/p7content.c:188:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:189:17: branch_true: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:205:27: acquire_memory: allocated here
nss-3_119_1/nss/cmd/p7content/p7content.c:206:20: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:206:20: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:188:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:229:5: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:231:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:234:8: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:234:8: branch_true: following ‘true’ branch (when ‘inFile’ is NULL)...
nss-3_119_1/nss/cmd/p7content/p7content.c:235:18: branch_true: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:236:8: branch_false: following ‘false’ branch (when ‘outFile’ is non-NULL)...
nss-3_119_1/nss/cmd/p7content/p7content.c:240:5: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:242:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:248:5: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:248:5: throw: if ‘PK11_SetPasswordFunc’ throws an exception...
nss-3_119_1/nss/cmd/p7content/p7content.c:248:5: danger: ‘outFile’ leaks here; was allocated at [(3)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/2)
#  246|       }
#  247|   
#  248|->     PK11_SetPasswordFunc(SECU_GetModulePassword);
#  249|   
#  250|       if (DecodeAndPrintFile(outFile, inFile, progName)) {

Error: GCC_ANALYZER_WARNING (CWE-775): [#def176]
nss-3_119_1/nss/cmd/p7content/p7content.c:257:29: warning[-Wanalyzer-file-leak]: leak of FILE ‘outFile’
nss-3_119_1/nss/cmd/p7content/p7content.c:188:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:189:17: branch_true: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:205:27: acquire_resource: opened here
nss-3_119_1/nss/cmd/p7content/p7content.c:206:20: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:206:20: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:188:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:229:5: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:231:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:234:8: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:234:8: branch_true: following ‘true’ branch (when ‘inFile’ is NULL)...
nss-3_119_1/nss/cmd/p7content/p7content.c:235:18: branch_true: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:236:8: branch_false: following ‘false’ branch (when ‘outFile’ is non-NULL)...
nss-3_119_1/nss/cmd/p7content/p7content.c:240:5: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:242:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:243:9: branch_true: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:257:8: branch_true: following ‘true’ branch (when ‘inFile’ is non-NULL)...
nss-3_119_1/nss/cmd/p7content/p7content.c:257:29: branch_true: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:257:29: throw: if ‘PR_GetSpecialFD’ throws an exception...
nss-3_119_1/nss/cmd/p7content/p7content.c:257:29: danger: ‘outFile’ leaks here; was opened at [(3)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/2)
#  255|   
#  256|   done:
#  257|->     if (inFile && inFile != PR_STDIN) {
#  258|           PR_Close(inFile);
#  259|       }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def177]
nss-3_119_1/nss/cmd/p7content/p7content.c:257:29: warning[-Wanalyzer-malloc-leak]: leak of ‘outFile’
nss-3_119_1/nss/cmd/p7content/p7content.c:188:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:189:17: branch_true: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:205:27: acquire_memory: allocated here
nss-3_119_1/nss/cmd/p7content/p7content.c:206:20: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:206:20: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:188:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:229:5: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:231:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:234:8: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:234:8: branch_true: following ‘true’ branch (when ‘inFile’ is NULL)...
nss-3_119_1/nss/cmd/p7content/p7content.c:235:18: branch_true: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:236:8: branch_false: following ‘false’ branch (when ‘outFile’ is non-NULL)...
nss-3_119_1/nss/cmd/p7content/p7content.c:240:5: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:242:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:243:9: branch_true: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:257:8: branch_true: following ‘true’ branch (when ‘inFile’ is non-NULL)...
nss-3_119_1/nss/cmd/p7content/p7content.c:257:29: branch_true: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:257:29: throw: if ‘PR_GetSpecialFD’ throws an exception...
nss-3_119_1/nss/cmd/p7content/p7content.c:257:29: danger: ‘outFile’ leaks here; was allocated at [(3)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/2)
#  255|   
#  256|   done:
#  257|->     if (inFile && inFile != PR_STDIN) {
#  258|           PR_Close(inFile);
#  259|       }

Error: GCC_ANALYZER_WARNING (CWE-775): [#def178]
nss-3_119_1/nss/cmd/p7content/p7content.c:258:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘outFile’
nss-3_119_1/nss/cmd/p7content/p7content.c:188:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:189:17: branch_true: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:205:27: acquire_resource: opened here
nss-3_119_1/nss/cmd/p7content/p7content.c:206:20: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:206:20: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:188:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:229:5: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:231:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:234:8: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:234:8: branch_true: following ‘true’ branch (when ‘inFile’ is NULL)...
nss-3_119_1/nss/cmd/p7content/p7content.c:235:18: branch_true: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:236:8: branch_false: following ‘false’ branch (when ‘outFile’ is non-NULL)...
nss-3_119_1/nss/cmd/p7content/p7content.c:240:5: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:242:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:243:9: branch_true: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:257:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:258:9: throw: if ‘PR_Close’ throws an exception...
nss-3_119_1/nss/cmd/p7content/p7content.c:258:9: danger: ‘outFile’ leaks here; was opened at [(3)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/2)
#  256|   done:
#  257|       if (inFile && inFile != PR_STDIN) {
#  258|->         PR_Close(inFile);
#  259|       }
#  260|       if (outFile && outFile != stdout) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def179]
nss-3_119_1/nss/cmd/p7content/p7content.c:258:9: warning[-Wanalyzer-malloc-leak]: leak of ‘outFile’
nss-3_119_1/nss/cmd/p7content/p7content.c:188:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:189:17: branch_true: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:205:27: acquire_memory: allocated here
nss-3_119_1/nss/cmd/p7content/p7content.c:206:20: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:206:20: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:188:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:229:5: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:231:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:234:8: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:234:8: branch_true: following ‘true’ branch (when ‘inFile’ is NULL)...
nss-3_119_1/nss/cmd/p7content/p7content.c:235:18: branch_true: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:236:8: branch_false: following ‘false’ branch (when ‘outFile’ is non-NULL)...
nss-3_119_1/nss/cmd/p7content/p7content.c:240:5: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:242:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:243:9: branch_true: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:257:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:258:9: throw: if ‘PR_Close’ throws an exception...
nss-3_119_1/nss/cmd/p7content/p7content.c:258:9: danger: ‘outFile’ leaks here; was allocated at [(3)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/2)
#  256|   done:
#  257|       if (inFile && inFile != PR_STDIN) {
#  258|->         PR_Close(inFile);
#  259|       }
#  260|       if (outFile && outFile != stdout) {

Error: GCC_ANALYZER_WARNING (CWE-775): [#def180]
nss-3_119_1/nss/cmd/p7content/p7content.c:264:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘outFile’
nss-3_119_1/nss/cmd/p7content/p7content.c:188:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:189:17: branch_true: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:205:27: acquire_resource: opened here
nss-3_119_1/nss/cmd/p7content/p7content.c:206:20: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:206:20: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:188:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:229:5: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:231:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:234:8: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:234:8: branch_true: following ‘true’ branch (when ‘inFile’ is NULL)...
nss-3_119_1/nss/cmd/p7content/p7content.c:235:18: branch_true: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:236:8: branch_false: following ‘false’ branch (when ‘outFile’ is non-NULL)...
nss-3_119_1/nss/cmd/p7content/p7content.c:240:5: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:242:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:243:9: branch_true: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:260:8: branch_true: following ‘true’ branch (when ‘outFile’ is non-NULL)...
nss-3_119_1/nss/cmd/p7content/p7content.c:260:20: branch_true: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:260:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:264:9: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:264:9: throw: if ‘NSS_Shutdown’ throws an exception...
nss-3_119_1/nss/cmd/p7content/p7content.c:264:9: danger: ‘outFile’ leaks here; was opened at [(3)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/2)
#  262|       }
#  263|   
#  264|->     if (NSS_Shutdown() != SECSuccess) {
#  265|           error = -1;
#  266|       }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def181]
nss-3_119_1/nss/cmd/p7content/p7content.c:264:9: warning[-Wanalyzer-malloc-leak]: leak of ‘outFile’
nss-3_119_1/nss/cmd/p7content/p7content.c:188:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:189:17: branch_true: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:205:27: acquire_memory: allocated here
nss-3_119_1/nss/cmd/p7content/p7content.c:206:20: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:206:20: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:188:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:229:5: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:231:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:234:8: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:234:8: branch_true: following ‘true’ branch (when ‘inFile’ is NULL)...
nss-3_119_1/nss/cmd/p7content/p7content.c:235:18: branch_true: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:236:8: branch_false: following ‘false’ branch (when ‘outFile’ is non-NULL)...
nss-3_119_1/nss/cmd/p7content/p7content.c:240:5: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:242:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:243:9: branch_true: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:260:8: branch_true: following ‘true’ branch (when ‘outFile’ is non-NULL)...
nss-3_119_1/nss/cmd/p7content/p7content.c:260:20: branch_true: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:260:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7content/p7content.c:264:9: branch_false: ...to here
nss-3_119_1/nss/cmd/p7content/p7content.c:264:9: throw: if ‘NSS_Shutdown’ throws an exception...
nss-3_119_1/nss/cmd/p7content/p7content.c:264:9: danger: ‘outFile’ leaks here; was allocated at [(3)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/2)
#  262|       }
#  263|   
#  264|->     if (NSS_Shutdown() != SECSuccess) {
#  265|           error = -1;
#  266|       }

Error: GCC_ANALYZER_WARNING (CWE-775): [#def182]
nss-3_119_1/nss/cmd/p7env/p7env.c:153:22: warning[-Wanalyzer-file-leak]: leak of FILE ‘inFile’
nss-3_119_1/nss/cmd/p7env/p7env.c:153:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/p7env/p7env.c:154:17: branch_true: ...to here
nss-3_119_1/nss/cmd/p7env/p7env.c:164:26: acquire_resource: opened here
nss-3_119_1/nss/cmd/p7env/p7env.c:165:20: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7env/p7env.c:165:20: branch_false: ...to here
nss-3_119_1/nss/cmd/p7env/p7env.c:153:22: throw: if ‘PL_GetNextOpt’ throws an exception...
nss-3_119_1/nss/cmd/p7env/p7env.c:153:22: danger: ‘inFile’ leaks here; was opened at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
#  151|        */
#  152|       optstate = PL_CreateOptState(argc, argv, "d:i:o:r:");
#  153|->     while ((status = PL_GetNextOpt(optstate)) == PL_OPT_OK) {
#  154|           switch (optstate->option) {
#  155|               case '?':

Error: GCC_ANALYZER_WARNING (CWE-401): [#def183]
nss-3_119_1/nss/cmd/p7env/p7env.c:153:22: warning[-Wanalyzer-malloc-leak]: leak of ‘inFile’
nss-3_119_1/nss/cmd/p7env/p7env.c:153:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/p7env/p7env.c:154:17: branch_true: ...to here
nss-3_119_1/nss/cmd/p7env/p7env.c:164:26: acquire_memory: allocated here
nss-3_119_1/nss/cmd/p7env/p7env.c:165:20: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7env/p7env.c:165:20: branch_false: ...to here
nss-3_119_1/nss/cmd/p7env/p7env.c:153:22: throw: if ‘PL_GetNextOpt’ throws an exception...
nss-3_119_1/nss/cmd/p7env/p7env.c:153:22: danger: ‘inFile’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
#  151|        */
#  152|       optstate = PL_CreateOptState(argc, argv, "d:i:o:r:");
#  153|->     while ((status = PL_GetNextOpt(optstate)) == PL_OPT_OK) {
#  154|           switch (optstate->option) {
#  155|               case '?':

Error: GCC_ANALYZER_WARNING (CWE-775): [#def184]
nss-3_119_1/nss/cmd/p7env/p7env.c:199:5: warning[-Wanalyzer-file-leak]: leak of FILE ‘inFile’
nss-3_119_1/nss/cmd/p7env/p7env.c:153:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/p7env/p7env.c:154:17: branch_true: ...to here
nss-3_119_1/nss/cmd/p7env/p7env.c:164:26: acquire_resource: opened here
nss-3_119_1/nss/cmd/p7env/p7env.c:165:20: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7env/p7env.c:165:20: branch_false: ...to here
nss-3_119_1/nss/cmd/p7env/p7env.c:199:5: throw: if ‘PL_DestroyOptState’ throws an exception...
nss-3_119_1/nss/cmd/p7env/p7env.c:199:5: danger: ‘inFile’ leaks here; was opened at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
#  197|           }
#  198|       }
#  199|->     PL_DestroyOptState(optstate);
#  200|   
#  201|       if (!recipients)

Error: GCC_ANALYZER_WARNING (CWE-775): [#def185]
nss-3_119_1/nss/cmd/p7env/p7env.c:199:5: warning[-Wanalyzer-file-leak]: leak of FILE ‘outFile’
nss-3_119_1/nss/cmd/p7env/p7env.c:153:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/p7env/p7env.c:154:17: branch_true: ...to here
nss-3_119_1/nss/cmd/p7env/p7env.c:173:27: acquire_resource: opened here
nss-3_119_1/nss/cmd/p7env/p7env.c:174:20: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7env/p7env.c:174:20: branch_false: ...to here
nss-3_119_1/nss/cmd/p7env/p7env.c:199:5: throw: if ‘PL_DestroyOptState’ throws an exception...
nss-3_119_1/nss/cmd/p7env/p7env.c:199:5: danger: ‘outFile’ leaks here; was opened at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
#  197|           }
#  198|       }
#  199|->     PL_DestroyOptState(optstate);
#  200|   
#  201|       if (!recipients)

Error: GCC_ANALYZER_WARNING (CWE-401): [#def186]
nss-3_119_1/nss/cmd/p7env/p7env.c:199:5: warning[-Wanalyzer-malloc-leak]: leak of ‘inFile’
nss-3_119_1/nss/cmd/p7env/p7env.c:153:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/p7env/p7env.c:154:17: branch_true: ...to here
nss-3_119_1/nss/cmd/p7env/p7env.c:164:26: acquire_memory: allocated here
nss-3_119_1/nss/cmd/p7env/p7env.c:165:20: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7env/p7env.c:165:20: branch_false: ...to here
nss-3_119_1/nss/cmd/p7env/p7env.c:199:5: throw: if ‘PL_DestroyOptState’ throws an exception...
nss-3_119_1/nss/cmd/p7env/p7env.c:199:5: danger: ‘inFile’ leaks here; was allocated at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
#  197|           }
#  198|       }
#  199|->     PL_DestroyOptState(optstate);
#  200|   
#  201|       if (!recipients)

Error: GCC_ANALYZER_WARNING (CWE-401): [#def187]
nss-3_119_1/nss/cmd/p7env/p7env.c:199:5: warning[-Wanalyzer-malloc-leak]: leak of ‘outFile’
nss-3_119_1/nss/cmd/p7env/p7env.c:153:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/p7env/p7env.c:154:17: branch_true: ...to here
nss-3_119_1/nss/cmd/p7env/p7env.c:173:27: acquire_memory: allocated here
nss-3_119_1/nss/cmd/p7env/p7env.c:174:20: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7env/p7env.c:174:20: branch_false: ...to here
nss-3_119_1/nss/cmd/p7env/p7env.c:199:5: throw: if ‘PL_DestroyOptState’ throws an exception...
nss-3_119_1/nss/cmd/p7env/p7env.c:199:5: danger: ‘outFile’ leaks here; was allocated at [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
#  197|           }
#  198|       }
#  199|->     PL_DestroyOptState(optstate);
#  200|   
#  201|       if (!recipients)

Error: GCC_ANALYZER_WARNING (CWE-775): [#def188]
nss-3_119_1/nss/cmd/p7verify/p7verify.c:182:22: warning[-Wanalyzer-file-leak]: leak of FILE ‘contentFile’
nss-3_119_1/nss/cmd/p7verify/p7verify.c:182:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/p7verify/p7verify.c:183:17: branch_true: ...to here
nss-3_119_1/nss/cmd/p7verify/p7verify.c:189:31: acquire_resource: opened here
nss-3_119_1/nss/cmd/p7verify/p7verify.c:190:20: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7verify/p7verify.c:190:20: branch_false: ...to here
nss-3_119_1/nss/cmd/p7verify/p7verify.c:182:22: throw: if ‘PL_GetNextOpt’ throws an exception...
nss-3_119_1/nss/cmd/p7verify/p7verify.c:182:22: danger: ‘contentFile’ leaks here; was opened at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
#  180|        */
#  181|       optstate = PL_CreateOptState(argc, argv, "c:d:o:s:u:");
#  182|->     while ((status = PL_GetNextOpt(optstate)) == PL_OPT_OK) {
#  183|           switch (optstate->option) {
#  184|               case '?':

Error: GCC_ANALYZER_WARNING (CWE-401): [#def189]
nss-3_119_1/nss/cmd/p7verify/p7verify.c:182:22: warning[-Wanalyzer-malloc-leak]: leak of ‘contentFile’
nss-3_119_1/nss/cmd/p7verify/p7verify.c:182:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/p7verify/p7verify.c:183:17: branch_true: ...to here
nss-3_119_1/nss/cmd/p7verify/p7verify.c:189:31: acquire_memory: allocated here
nss-3_119_1/nss/cmd/p7verify/p7verify.c:190:20: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7verify/p7verify.c:190:20: branch_false: ...to here
nss-3_119_1/nss/cmd/p7verify/p7verify.c:182:22: throw: if ‘PL_GetNextOpt’ throws an exception...
nss-3_119_1/nss/cmd/p7verify/p7verify.c:182:22: danger: ‘contentFile’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
#  180|        */
#  181|       optstate = PL_CreateOptState(argc, argv, "c:d:o:s:u:");
#  182|->     while ((status = PL_GetNextOpt(optstate)) == PL_OPT_OK) {
#  183|           switch (optstate->option) {
#  184|               case '?':

Error: GCC_ANALYZER_WARNING (CWE-775): [#def190]
nss-3_119_1/nss/cmd/p7verify/p7verify.c:230:5: warning[-Wanalyzer-file-leak]: leak of FILE ‘contentFile’
nss-3_119_1/nss/cmd/p7verify/p7verify.c:182:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/p7verify/p7verify.c:183:17: branch_true: ...to here
nss-3_119_1/nss/cmd/p7verify/p7verify.c:189:31: acquire_resource: opened here
nss-3_119_1/nss/cmd/p7verify/p7verify.c:190:20: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7verify/p7verify.c:190:20: branch_false: ...to here
nss-3_119_1/nss/cmd/p7verify/p7verify.c:230:5: throw: if ‘PL_DestroyOptState’ throws an exception...
nss-3_119_1/nss/cmd/p7verify/p7verify.c:230:5: danger: ‘contentFile’ leaks here; was opened at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
#  228|           }
#  229|       }
#  230|->     PL_DestroyOptState(optstate);
#  231|   
#  232|       if (!contentFile)

Error: GCC_ANALYZER_WARNING (CWE-401): [#def191]
nss-3_119_1/nss/cmd/p7verify/p7verify.c:230:5: warning[-Wanalyzer-malloc-leak]: leak of ‘contentFile’
nss-3_119_1/nss/cmd/p7verify/p7verify.c:182:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/p7verify/p7verify.c:183:17: branch_true: ...to here
nss-3_119_1/nss/cmd/p7verify/p7verify.c:189:31: acquire_memory: allocated here
nss-3_119_1/nss/cmd/p7verify/p7verify.c:190:20: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/p7verify/p7verify.c:190:20: branch_false: ...to here
nss-3_119_1/nss/cmd/p7verify/p7verify.c:230:5: throw: if ‘PL_DestroyOptState’ throws an exception...
nss-3_119_1/nss/cmd/p7verify/p7verify.c:230:5: danger: ‘contentFile’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
#  228|           }
#  229|       }
#  230|->     PL_DestroyOptState(optstate);
#  231|   
#  232|       if (!contentFile)

Error: GCC_ANALYZER_WARNING (CWE-457): [#def192]
nss-3_119_1/nss/cmd/pk11gcmtest/pk11gcmtest.c:113:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘tag’
nss-3_119_1/nss/cmd/pk11gcmtest/pk11gcmtest.c:440:1: enter_function: entry to ‘main’
nss-3_119_1/nss/cmd/pk11gcmtest/pk11gcmtest.c:442:8: branch_false: following ‘false’ branch (when ‘argc > 1’)...
nss-3_119_1/nss/cmd/pk11gcmtest/pk11gcmtest.c:446:9: branch_false: ...to here
nss-3_119_1/nss/cmd/pk11gcmtest/pk11gcmtest.c:446:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pk11gcmtest/pk11gcmtest.c:453:9: branch_false: ...to here
nss-3_119_1/nss/cmd/pk11gcmtest/pk11gcmtest.c:453:8: branch_true: following ‘true’ branch (when the strings are equal)...
nss-3_119_1/nss/cmd/pk11gcmtest/pk11gcmtest.c:455:13: branch_true: ...to here
nss-3_119_1/nss/cmd/pk11gcmtest/pk11gcmtest.c:455:12: branch_true: following ‘true’ branch (when the strings are equal)...
nss-3_119_1/nss/cmd/pk11gcmtest/pk11gcmtest.c:457:13: branch_true: ...to here
nss-3_119_1/nss/cmd/pk11gcmtest/pk11gcmtest.c:457:13: call_function: calling ‘aes_gcm_kat’ from ‘main’
#  111|       }
#  112|       memcpy(concatenated, input, inputlen);
#  113|->     memcpy(concatenated + inputlen, tag, tagsize);
#  114|   
#  115|       /* Import key into NSS. */

Error: GCC_ANALYZER_WARNING (CWE-775): [#def193]
nss-3_119_1/nss/cmd/pk11gcmtest/pk11gcmtest.c:208:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(respfn, "r")’
nss-3_119_1/nss/cmd/pk11gcmtest/pk11gcmtest.c:440:1: enter_function: entry to ‘main’
nss-3_119_1/nss/cmd/pk11gcmtest/pk11gcmtest.c:442:8: branch_false: following ‘false’ branch (when ‘argc > 1’)...
nss-3_119_1/nss/cmd/pk11gcmtest/pk11gcmtest.c:446:9: branch_false: ...to here
nss-3_119_1/nss/cmd/pk11gcmtest/pk11gcmtest.c:446:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pk11gcmtest/pk11gcmtest.c:453:9: branch_false: ...to here
nss-3_119_1/nss/cmd/pk11gcmtest/pk11gcmtest.c:453:8: branch_true: following ‘true’ branch (when the strings are equal)...
nss-3_119_1/nss/cmd/pk11gcmtest/pk11gcmtest.c:455:13: branch_true: ...to here
nss-3_119_1/nss/cmd/pk11gcmtest/pk11gcmtest.c:455:12: branch_true: following ‘true’ branch (when the strings are equal)...
nss-3_119_1/nss/cmd/pk11gcmtest/pk11gcmtest.c:457:13: branch_true: ...to here
nss-3_119_1/nss/cmd/pk11gcmtest/pk11gcmtest.c:457:13: call_function: calling ‘aes_gcm_kat’ from ‘main’
#  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): [#def194]
nss-3_119_1/nss/cmd/pk11gcmtest/pk11gcmtest.c:208:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(respfn, "r")’
nss-3_119_1/nss/cmd/pk11gcmtest/pk11gcmtest.c:440:1: enter_function: entry to ‘main’
nss-3_119_1/nss/cmd/pk11gcmtest/pk11gcmtest.c:442:8: branch_false: following ‘false’ branch (when ‘argc > 1’)...
nss-3_119_1/nss/cmd/pk11gcmtest/pk11gcmtest.c:446:9: branch_false: ...to here
nss-3_119_1/nss/cmd/pk11gcmtest/pk11gcmtest.c:446:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pk11gcmtest/pk11gcmtest.c:453:9: branch_false: ...to here
nss-3_119_1/nss/cmd/pk11gcmtest/pk11gcmtest.c:453:8: branch_true: following ‘true’ branch (when the strings are equal)...
nss-3_119_1/nss/cmd/pk11gcmtest/pk11gcmtest.c:455:13: branch_true: ...to here
nss-3_119_1/nss/cmd/pk11gcmtest/pk11gcmtest.c:455:12: branch_true: following ‘true’ branch (when the strings are equal)...
nss-3_119_1/nss/cmd/pk11gcmtest/pk11gcmtest.c:457:13: branch_true: ...to here
nss-3_119_1/nss/cmd/pk11gcmtest/pk11gcmtest.c:457:13: call_function: calling ‘aes_gcm_kat’ from ‘main’
#  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): [#def195]
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:1611:11: warning[-Wanalyzer-malloc-leak]: leak of ‘pSlotList’
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:1600:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:1605:5: branch_false: ...to here
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:1606:31: acquire_memory: allocated here
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:1607:8: branch_false: following ‘false’ branch (when ‘pSlotList’ is non-NULL)...
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:1611:11: branch_false: ...to here
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:1611:11: throw: if the called function throws an exception...
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:1611:11: danger: ‘pSlotList’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
# 1609|           return NULL;
# 1610|       }
# 1611|->     crv = pFunctionList->C_GetSlotList(CK_FALSE /* all slots */,
# 1612|                                          pSlotList, &slotCount);
# 1613|       if (crv != CKR_OK) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def196]
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:2082:11: warning[-Wanalyzer-malloc-leak]: leak of ‘pMechanismList’
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:2069:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:2074:5: branch_false: ...to here
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:2077:9: acquire_memory: allocated here
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:2078:8: branch_false: following ‘false’ branch (when ‘pMechanismList’ is non-NULL)...
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:2082:11: branch_false: ...to here
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:2082:11: throw: if the called function throws an exception...
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:2082:11: danger: ‘pMechanismList’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
# 2080|           return crv;
# 2081|       }
# 2082|->     crv = pFunctionList->C_GetMechanismList(pSlotList[slotID],
# 2083|                                               pMechanismList, &mechanismCount);
# 2084|       if (crv != CKR_OK) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def197]
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:4173:11: warning[-Wanalyzer-malloc-leak]: leak of ‘pstate’
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:4097:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:4103:11: branch_false: ...to here
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:4104:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:4105:9: branch_true: ...to here
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:4119:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:4120:9: branch_true: ...to here
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:4128:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:4134:5: branch_false: ...to here
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:4137:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:4143:11: branch_false: ...to here
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:4144:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:4150:5: branch_false: ...to here
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:4152:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:4157:11: branch_false: ...to here
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:4159:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:4165:11: branch_false: ...to here
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:4166:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:4172:27: branch_false: ...to here
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:4172:27: acquire_memory: allocated here
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:4173:11: throw: if the called function throws an exception...
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:4173:11: danger: ‘pstate’ leaks here; was allocated at [(19)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/18)
# 4171|   
# 4172|       pstate = (CK_BYTE_PTR)malloc(statelen * sizeof(CK_BYTE_PTR));
# 4173|->     crv = pFunctionList->C_GetOperationState(hSession, pstate, &statelen);
# 4174|       if (crv != CKR_OK) {
# 4175|           PKM_Error("C_GetOperationState failed returned 0x%08X, %-26s\n", crv,

Error: GCC_ANALYZER_WARNING (CWE-401): [#def198]
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:4429:11: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:4405:8: branch_false: following ‘false’ branch (when ‘tmp_attrs’ is non-NULL)...
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:4405:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:4410:17: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:4411:43: branch_true: ...to here
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:4415:31: acquire_memory: allocated here
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:4417:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:4410:43: branch_false: ...to here
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:4410:17: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:4429:11: branch_false: ...to here
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:4429:11: throw: if the called function throws an exception...
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:4429:11: danger: ‘<unknown>’ leaks here; was allocated at [(5)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/4)
# 4427|   
# 4428|       /* then get the attributes from the object */
# 4429|->     crv = pFunctionList->C_GetAttributeValue(hSession, obj, tmp_attrs,
# 4430|                                                expected_attrs_count);
# 4431|       if (crv != CKR_OK) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def199]
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:4429:11: warning[-Wanalyzer-malloc-leak]: leak of ‘tmp_attrs’
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:4403:17: acquire_memory: allocated here
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:4405:8: branch_false: following ‘false’ branch (when ‘tmp_attrs’ is non-NULL)...
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:4405:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:4410:17: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:4429:11: branch_false: ...to here
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:4429:11: throw: if the called function throws an exception...
nss-3_119_1/nss/cmd/pk11mode/pk11mode.c:4429:11: danger: ‘tmp_attrs’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
# 4427|   
# 4428|       /* then get the attributes from the object */
# 4429|->     crv = pFunctionList->C_GetAttributeValue(hSession, obj, tmp_attrs,
# 4430|                                                expected_attrs_count);
# 4431|       if (crv != CKR_OK) {

Error: GCC_ANALYZER_WARNING (CWE-775): [#def200]
nss-3_119_1/nss/cmd/pp/pp.c:116:5: warning[-Wanalyzer-file-leak]: leak of FILE ‘outFile’
nss-3_119_1/nss/cmd/pp/pp.c:71:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/pp/pp.c:72:17: branch_true: ...to here
nss-3_119_1/nss/cmd/pp/pp.c:93:27: acquire_resource: opened here
nss-3_119_1/nss/cmd/pp/pp.c:94:20: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pp/pp.c:94:20: branch_false: ...to here
nss-3_119_1/nss/cmd/pp/pp.c:71:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pp/pp.c:116:5: branch_false: ...to here
nss-3_119_1/nss/cmd/pp/pp.c:116:5: throw: if ‘PL_DestroyOptState’ throws an exception...
nss-3_119_1/nss/cmd/pp/pp.c:116:5: danger: ‘outFile’ leaks here; was opened at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
#  114|           }
#  115|       }
#  116|->     PL_DestroyOptState(optstate);
#  117|       if (!typeTag)
#  118|           Usage(progName);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def201]
nss-3_119_1/nss/cmd/pp/pp.c:116:5: warning[-Wanalyzer-malloc-leak]: leak of ‘outFile’
nss-3_119_1/nss/cmd/pp/pp.c:71:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/pp/pp.c:72:17: branch_true: ...to here
nss-3_119_1/nss/cmd/pp/pp.c:93:27: acquire_memory: allocated here
nss-3_119_1/nss/cmd/pp/pp.c:94:20: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pp/pp.c:94:20: branch_false: ...to here
nss-3_119_1/nss/cmd/pp/pp.c:71:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pp/pp.c:116:5: branch_false: ...to here
nss-3_119_1/nss/cmd/pp/pp.c:116:5: throw: if ‘PL_DestroyOptState’ throws an exception...
nss-3_119_1/nss/cmd/pp/pp.c:116:5: danger: ‘outFile’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
#  114|           }
#  115|       }
#  116|->     PL_DestroyOptState(optstate);
#  117|       if (!typeTag)
#  118|           Usage(progName);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def202]
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:266:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(input_file, "r")’
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:212:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:212:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:217:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:218:17: branch_true: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:255:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:260:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:260:8: branch_true: following ‘true’ branch (when ‘input_file’ is non-NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:261:18: branch_true: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:261:18: acquire_resource: opened here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:262:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:266:9: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:266:9: throw: if ‘PR_Free’ throws an exception...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:266:9: danger: ‘fopen(input_file, "r")’ leaks here; was opened at [(9)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/8)
#  264|               return 1;
#  265|           }
#  266|->         PR_Free(input_file);
#  267|       }
#  268|       if (output_file) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def203]
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:266:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(input_file, "r")’
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:212:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:212:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:217:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:218:17: branch_true: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:255:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:260:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:260:8: branch_true: following ‘true’ branch (when ‘input_file’ is non-NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:261:18: branch_true: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:261:18: acquire_memory: allocated here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:262:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:266:9: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:266:9: throw: if ‘PR_Free’ throws an exception...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:266:9: danger: ‘fopen(input_file, "r")’ leaks here; was allocated at [(9)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/8)
#  264|               return 1;
#  265|           }
#  266|->         PR_Free(input_file);
#  267|       }
#  268|       if (output_file) {

Error: GCC_ANALYZER_WARNING (CWE-775): [#def204]
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:274:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(output_file, "w+")’
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:212:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:212:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:217:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:218:17: branch_true: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:255:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:260:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:260:8: branch_false: following ‘false’ branch (when ‘input_file’ is NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:268:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:268:8: branch_true: following ‘true’ branch (when ‘output_file’ is non-NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:269:19: branch_true: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:269:19: acquire_resource: opened here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:270:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:274:9: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:274:9: throw: if ‘PR_Free’ throws an exception...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:274:9: danger: ‘fopen(output_file, "w+")’ leaks here; was opened at [(11)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/10)
#  272|               return 1;
#  273|           }
#  274|->         PR_Free(output_file);
#  275|       }
#  276|       if (log_file) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def205]
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:274:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(output_file, "w+")’
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:212:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:212:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:217:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:218:17: branch_true: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:255:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:260:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:260:8: branch_false: following ‘false’ branch (when ‘input_file’ is NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:268:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:268:8: branch_true: following ‘true’ branch (when ‘output_file’ is non-NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:269:19: branch_true: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:269:19: acquire_memory: allocated here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:270:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:274:9: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:274:9: throw: if ‘PR_Free’ throws an exception...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:274:9: danger: ‘fopen(output_file, "w+")’ leaks here; was allocated at [(11)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/10)
#  272|               return 1;
#  273|           }
#  274|->         PR_Free(output_file);
#  275|       }
#  276|       if (log_file) {

Error: GCC_ANALYZER_WARNING (CWE-775): [#def206]
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:285:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘logFile’
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:212:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:212:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:217:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:218:17: branch_true: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:255:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:260:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:260:8: branch_false: following ‘false’ branch (when ‘input_file’ is NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:268:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:268:8: branch_false: following ‘false’ branch (when ‘output_file’ is NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:276:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:276:8: branch_true: following ‘true’ branch (when ‘log_file’ is non-NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:277:13: branch_true: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:277:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:280:23: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:280:23: acquire_resource: opened here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:281:12: branch_false: following ‘false’ branch (when ‘logFile’ is non-NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:285:9: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:285:9: throw: if ‘PR_Free’ throws an exception...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:285:9: danger: ‘logFile’ leaks here; was opened at [(15)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/14)
#  283|               return 1;
#  284|           }
#  285|->         PR_Free(log_file);
#  286|       }
#  287|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def207]
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:285:9: warning[-Wanalyzer-malloc-leak]: leak of ‘logFile’
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:212:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:212:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:217:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:218:17: branch_true: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:255:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:260:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:260:8: branch_false: following ‘false’ branch (when ‘input_file’ is NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:268:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:268:8: branch_false: following ‘false’ branch (when ‘output_file’ is NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:276:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:276:8: branch_true: following ‘true’ branch (when ‘log_file’ is non-NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:277:13: branch_true: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:277:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:280:23: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:280:23: acquire_memory: allocated here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:281:12: branch_false: following ‘false’ branch (when ‘logFile’ is non-NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:285:9: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:285:9: throw: if ‘PR_Free’ throws an exception...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:285:9: danger: ‘logFile’ leaks here; was allocated at [(15)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/14)
#  283|               return 1;
#  284|           }
#  285|->         PR_Free(log_file);
#  286|       }
#  287|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def208]
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:291:5: warning[-Wanalyzer-file-leak]: leak of FILE ‘inFile’
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:212:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:212:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:217:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:218:17: branch_true: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:255:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:260:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:260:8: branch_true: following ‘true’ branch (when ‘input_file’ is non-NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:261:18: branch_true: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:261:18: acquire_resource: opened here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:262:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:266:9: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:268:8: branch_false: following ‘false’ branch (when ‘output_file’ is NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:276:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:276:8: branch_false: following ‘false’ branch (when ‘log_file’ is NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:291:5: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:291:5: throw: if ‘PK11_SetPasswordFunc’ throws an exception...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:291:5: danger: ‘inFile’ leaks here; was opened at [(9)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/8)
#  289|        * Initialize the Security libraries.
#  290|        */
#  291|->     PK11_SetPasswordFunc(SECU_GetModulePassword);
#  292|       rv = NSS_Init(SECU_ConfigDirectory(NULL));
#  293|       if (rv != SECSuccess) {

Error: GCC_ANALYZER_WARNING (CWE-775): [#def209]
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:291:5: warning[-Wanalyzer-file-leak]: leak of FILE ‘outFile’
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:212:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:212:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:217:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:218:17: branch_true: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:255:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:260:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:260:8: branch_false: following ‘false’ branch (when ‘input_file’ is NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:268:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:268:8: branch_true: following ‘true’ branch (when ‘output_file’ is non-NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:269:19: branch_true: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:269:19: acquire_resource: opened here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:270:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:274:9: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:276:8: branch_false: following ‘false’ branch (when ‘log_file’ is NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:291:5: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:291:5: throw: if ‘PK11_SetPasswordFunc’ throws an exception...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:291:5: danger: ‘outFile’ leaks here; was opened at [(11)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/10)
#  289|        * Initialize the Security libraries.
#  290|        */
#  291|->     PK11_SetPasswordFunc(SECU_GetModulePassword);
#  292|       rv = NSS_Init(SECU_ConfigDirectory(NULL));
#  293|       if (rv != SECSuccess) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def210]
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:291:5: warning[-Wanalyzer-malloc-leak]: leak of ‘inFile’
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:212:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:212:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:217:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:218:17: branch_true: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:255:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:260:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:260:8: branch_true: following ‘true’ branch (when ‘input_file’ is non-NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:261:18: branch_true: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:261:18: acquire_memory: allocated here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:262:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:266:9: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:268:8: branch_false: following ‘false’ branch (when ‘output_file’ is NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:276:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:276:8: branch_false: following ‘false’ branch (when ‘log_file’ is NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:291:5: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:291:5: throw: if ‘PK11_SetPasswordFunc’ throws an exception...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:291:5: danger: ‘inFile’ leaks here; was allocated at [(9)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/8)
#  289|        * Initialize the Security libraries.
#  290|        */
#  291|->     PK11_SetPasswordFunc(SECU_GetModulePassword);
#  292|       rv = NSS_Init(SECU_ConfigDirectory(NULL));
#  293|       if (rv != SECSuccess) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def211]
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:291:5: warning[-Wanalyzer-malloc-leak]: leak of ‘outFile’
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:212:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:212:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:217:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:218:17: branch_true: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:255:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:260:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:260:8: branch_false: following ‘false’ branch (when ‘input_file’ is NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:268:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:268:8: branch_true: following ‘true’ branch (when ‘output_file’ is non-NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:269:19: branch_true: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:269:19: acquire_memory: allocated here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:270:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:274:9: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:276:8: branch_false: following ‘false’ branch (when ‘log_file’ is NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:291:5: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:291:5: throw: if ‘PK11_SetPasswordFunc’ throws an exception...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:291:5: danger: ‘outFile’ leaks here; was allocated at [(11)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/10)
#  289|        * Initialize the Security libraries.
#  290|        */
#  291|->     PK11_SetPasswordFunc(SECU_GetModulePassword);
#  292|       rv = NSS_Init(SECU_ConfigDirectory(NULL));
#  293|       if (rv != SECSuccess) {

Error: GCC_ANALYZER_WARNING (CWE-775): [#def212]
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:292:10: warning[-Wanalyzer-file-leak]: leak of FILE ‘inFile’
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:212:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:212:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:217:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:218:17: branch_true: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:255:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:260:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:260:8: branch_true: following ‘true’ branch (when ‘input_file’ is non-NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:261:18: branch_true: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:261:18: acquire_resource: opened here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:262:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:266:9: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:268:8: branch_false: following ‘false’ branch (when ‘output_file’ is NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:276:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:276:8: branch_false: following ‘false’ branch (when ‘log_file’ is NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:291:5: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:292:10: throw: if ‘NSS_Init’ throws an exception...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:292:10: danger: ‘inFile’ leaks here; was opened at [(9)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/8)
#  290|        */
#  291|       PK11_SetPasswordFunc(SECU_GetModulePassword);
#  292|->     rv = NSS_Init(SECU_ConfigDirectory(NULL));
#  293|       if (rv != SECSuccess) {
#  294|           SECU_PrintError(program_name, "NSS_Init failed");

Error: GCC_ANALYZER_WARNING (CWE-775): [#def213]
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:292:10: warning[-Wanalyzer-file-leak]: leak of FILE ‘outFile’
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:212:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:212:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:217:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:218:17: branch_true: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:255:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:260:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:260:8: branch_false: following ‘false’ branch (when ‘input_file’ is NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:268:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:268:8: branch_true: following ‘true’ branch (when ‘output_file’ is non-NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:269:19: branch_true: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:269:19: acquire_resource: opened here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:270:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:274:9: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:276:8: branch_false: following ‘false’ branch (when ‘log_file’ is NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:291:5: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:292:10: throw: if ‘NSS_Init’ throws an exception...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:292:10: danger: ‘outFile’ leaks here; was opened at [(11)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/10)
#  290|        */
#  291|       PK11_SetPasswordFunc(SECU_GetModulePassword);
#  292|->     rv = NSS_Init(SECU_ConfigDirectory(NULL));
#  293|       if (rv != SECSuccess) {
#  294|           SECU_PrintError(program_name, "NSS_Init failed");

Error: GCC_ANALYZER_WARNING (CWE-401): [#def214]
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:292:10: warning[-Wanalyzer-malloc-leak]: leak of ‘inFile’
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:212:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:212:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:217:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:218:17: branch_true: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:255:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:260:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:260:8: branch_true: following ‘true’ branch (when ‘input_file’ is non-NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:261:18: branch_true: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:261:18: acquire_memory: allocated here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:262:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:266:9: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:268:8: branch_false: following ‘false’ branch (when ‘output_file’ is NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:276:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:276:8: branch_false: following ‘false’ branch (when ‘log_file’ is NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:291:5: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:292:10: throw: if ‘NSS_Init’ throws an exception...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:292:10: danger: ‘inFile’ leaks here; was allocated at [(9)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/8)
#  290|        */
#  291|       PK11_SetPasswordFunc(SECU_GetModulePassword);
#  292|->     rv = NSS_Init(SECU_ConfigDirectory(NULL));
#  293|       if (rv != SECSuccess) {
#  294|           SECU_PrintError(program_name, "NSS_Init failed");

Error: GCC_ANALYZER_WARNING (CWE-401): [#def215]
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:292:10: warning[-Wanalyzer-malloc-leak]: leak of ‘outFile’
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:212:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:212:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:217:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:218:17: branch_true: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:255:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:260:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:260:8: branch_false: following ‘false’ branch (when ‘input_file’ is NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:268:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:268:8: branch_true: following ‘true’ branch (when ‘output_file’ is non-NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:269:19: branch_true: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:269:19: acquire_memory: allocated here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:270:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:274:9: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:276:8: branch_false: following ‘false’ branch (when ‘log_file’ is NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:291:5: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:292:10: throw: if ‘NSS_Init’ throws an exception...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:292:10: danger: ‘outFile’ leaks here; was allocated at [(11)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/10)
#  290|        */
#  291|       PK11_SetPasswordFunc(SECU_GetModulePassword);
#  292|->     rv = NSS_Init(SECU_ConfigDirectory(NULL));
#  293|       if (rv != SECSuccess) {
#  294|           SECU_PrintError(program_name, "NSS_Init failed");

Error: GCC_ANALYZER_WARNING (CWE-775): [#def216]
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:292:19: warning[-Wanalyzer-file-leak]: leak of FILE ‘inFile’
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:212:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:212:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:217:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:218:17: branch_true: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:255:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:260:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:260:8: branch_true: following ‘true’ branch (when ‘input_file’ is non-NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:261:18: branch_true: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:261:18: acquire_resource: opened here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:262:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:266:9: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:268:8: branch_false: following ‘false’ branch (when ‘output_file’ is NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:276:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:276:8: branch_false: following ‘false’ branch (when ‘log_file’ is NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:291:5: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:292:19: throw: if ‘SECU_ConfigDirectory’ throws an exception...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:292:19: danger: ‘inFile’ leaks here; was opened at [(9)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/8)
#  290|        */
#  291|       PK11_SetPasswordFunc(SECU_GetModulePassword);
#  292|->     rv = NSS_Init(SECU_ConfigDirectory(NULL));
#  293|       if (rv != SECSuccess) {
#  294|           SECU_PrintError(program_name, "NSS_Init failed");

Error: GCC_ANALYZER_WARNING (CWE-775): [#def217]
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:292:19: warning[-Wanalyzer-file-leak]: leak of FILE ‘outFile’
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:212:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:212:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:217:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:218:17: branch_true: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:255:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:260:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:260:8: branch_false: following ‘false’ branch (when ‘input_file’ is NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:268:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:268:8: branch_true: following ‘true’ branch (when ‘output_file’ is non-NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:269:19: branch_true: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:269:19: acquire_resource: opened here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:270:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:274:9: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:276:8: branch_false: following ‘false’ branch (when ‘log_file’ is NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:291:5: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:292:19: throw: if ‘SECU_ConfigDirectory’ throws an exception...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:292:19: danger: ‘outFile’ leaks here; was opened at [(11)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/10)
#  290|        */
#  291|       PK11_SetPasswordFunc(SECU_GetModulePassword);
#  292|->     rv = NSS_Init(SECU_ConfigDirectory(NULL));
#  293|       if (rv != SECSuccess) {
#  294|           SECU_PrintError(program_name, "NSS_Init failed");

Error: GCC_ANALYZER_WARNING (CWE-401): [#def218]
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:292:19: warning[-Wanalyzer-malloc-leak]: leak of ‘inFile’
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:212:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:212:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:217:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:218:17: branch_true: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:255:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:260:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:260:8: branch_true: following ‘true’ branch (when ‘input_file’ is non-NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:261:18: branch_true: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:261:18: acquire_memory: allocated here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:262:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:266:9: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:268:8: branch_false: following ‘false’ branch (when ‘output_file’ is NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:276:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:276:8: branch_false: following ‘false’ branch (when ‘log_file’ is NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:291:5: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:292:19: throw: if ‘SECU_ConfigDirectory’ throws an exception...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:292:19: danger: ‘inFile’ leaks here; was allocated at [(9)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/8)
#  290|        */
#  291|       PK11_SetPasswordFunc(SECU_GetModulePassword);
#  292|->     rv = NSS_Init(SECU_ConfigDirectory(NULL));
#  293|       if (rv != SECSuccess) {
#  294|           SECU_PrintError(program_name, "NSS_Init failed");

Error: GCC_ANALYZER_WARNING (CWE-401): [#def219]
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:292:19: warning[-Wanalyzer-malloc-leak]: leak of ‘outFile’
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:212:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:212:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:217:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:218:17: branch_true: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:255:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:260:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:260:8: branch_false: following ‘false’ branch (when ‘input_file’ is NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:268:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:268:8: branch_true: following ‘true’ branch (when ‘output_file’ is non-NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:269:19: branch_true: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:269:19: acquire_memory: allocated here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:270:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:274:9: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:276:8: branch_false: following ‘false’ branch (when ‘log_file’ is NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:291:5: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:292:19: throw: if ‘SECU_ConfigDirectory’ throws an exception...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:292:19: danger: ‘outFile’ leaks here; was allocated at [(11)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/10)
#  290|        */
#  291|       PK11_SetPasswordFunc(SECU_GetModulePassword);
#  292|->     rv = NSS_Init(SECU_ConfigDirectory(NULL));
#  293|       if (rv != SECSuccess) {
#  294|           SECU_PrintError(program_name, "NSS_Init failed");

Error: GCC_ANALYZER_WARNING (CWE-775): [#def220]
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:294:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘inFile’
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:212:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:212:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:217:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:218:17: branch_true: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:255:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:260:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:260:8: branch_true: following ‘true’ branch (when ‘input_file’ is non-NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:261:18: branch_true: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:261:18: acquire_resource: opened here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:262:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:266:9: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:268:8: branch_false: following ‘false’ branch (when ‘output_file’ is NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:276:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:276:8: branch_false: following ‘false’ branch (when ‘log_file’ is NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:291:5: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:293:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:294:9: branch_true: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:294:9: throw: if ‘SECU_PrintError’ throws an exception...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:294:9: danger: ‘inFile’ leaks here; was opened at [(9)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/8)
#  292|       rv = NSS_Init(SECU_ConfigDirectory(NULL));
#  293|       if (rv != SECSuccess) {
#  294|->         SECU_PrintError(program_name, "NSS_Init failed");
#  295|           retval = 1;
#  296|           goto prdone;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def221]
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:294:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘outFile’
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:212:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:212:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:217:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:218:17: branch_true: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:255:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:260:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:260:8: branch_false: following ‘false’ branch (when ‘input_file’ is NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:268:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:268:8: branch_true: following ‘true’ branch (when ‘output_file’ is non-NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:269:19: branch_true: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:269:19: acquire_resource: opened here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:270:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:274:9: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:276:8: branch_false: following ‘false’ branch (when ‘log_file’ is NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:291:5: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:293:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:294:9: branch_true: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:294:9: throw: if ‘SECU_PrintError’ throws an exception...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:294:9: danger: ‘outFile’ leaks here; was opened at [(11)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/10)
#  292|       rv = NSS_Init(SECU_ConfigDirectory(NULL));
#  293|       if (rv != SECSuccess) {
#  294|->         SECU_PrintError(program_name, "NSS_Init failed");
#  295|           retval = 1;
#  296|           goto prdone;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def222]
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:294:9: warning[-Wanalyzer-malloc-leak]: leak of ‘inFile’
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:212:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:212:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:217:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:218:17: branch_true: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:255:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:260:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:260:8: branch_true: following ‘true’ branch (when ‘input_file’ is non-NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:261:18: branch_true: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:261:18: acquire_memory: allocated here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:262:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:266:9: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:268:8: branch_false: following ‘false’ branch (when ‘output_file’ is NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:276:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:276:8: branch_false: following ‘false’ branch (when ‘log_file’ is NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:291:5: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:293:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:294:9: branch_true: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:294:9: throw: if ‘SECU_PrintError’ throws an exception...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:294:9: danger: ‘inFile’ leaks here; was allocated at [(9)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/8)
#  292|       rv = NSS_Init(SECU_ConfigDirectory(NULL));
#  293|       if (rv != SECSuccess) {
#  294|->         SECU_PrintError(program_name, "NSS_Init failed");
#  295|           retval = 1;
#  296|           goto prdone;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def223]
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:294:9: warning[-Wanalyzer-malloc-leak]: leak of ‘outFile’
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:212:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:212:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:217:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:218:17: branch_true: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:255:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:260:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:260:8: branch_false: following ‘false’ branch (when ‘input_file’ is NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:268:8: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:268:8: branch_true: following ‘true’ branch (when ‘output_file’ is non-NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:269:19: branch_true: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:269:19: acquire_memory: allocated here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:270:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:274:9: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:276:8: branch_false: following ‘false’ branch (when ‘log_file’ is NULL)...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:291:5: branch_false: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:293:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:294:9: branch_true: ...to here
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:294:9: throw: if ‘SECU_PrintError’ throws an exception...
nss-3_119_1/nss/cmd/pwdecrypt/pwdecrypt.c:294:9: danger: ‘outFile’ leaks here; was allocated at [(11)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/10)
#  292|       rv = NSS_Init(SECU_ConfigDirectory(NULL));
#  293|       if (rv != SECSuccess) {
#  294|->         SECU_PrintError(program_name, "NSS_Init failed");
#  295|           retval = 1;
#  296|           goto prdone;

Error: CPPCHECK_WARNING (CWE-369): [#def224]
nss-3_119_1/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-688): [#def225]
nss-3_119_1/nss/cmd/sdrtest/sdrtest.c:345:14: warning[-Wanalyzer-null-argument]: use of NULL ‘output_file’ where non-null expected
nss-3_119_1/nss/cmd/sdrtest/sdrtest.c:176:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/sdrtest/sdrtest.c:176:8: branch_false: ...to here
nss-3_119_1/nss/cmd/sdrtest/sdrtest.c:246:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/sdrtest/sdrtest.c:250:9: branch_false: ...to here
nss-3_119_1/nss/cmd/sdrtest/sdrtest.c:250:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/sdrtest/sdrtest.c:250:9: branch_true: ...to here
nss-3_119_1/nss/cmd/sdrtest/sdrtest.c:250:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/sdrtest/sdrtest.c:259:5: branch_false: ...to here
nss-3_119_1/nss/cmd/sdrtest/sdrtest.c:261:8: branch_false: following ‘false’ branch (when ‘output_file’ is NULL)...
nss-3_119_1/nss/cmd/sdrtest/sdrtest.c:264:23: branch_false: ...to here
nss-3_119_1/nss/cmd/sdrtest/sdrtest.c:266:8: branch_false: following ‘false’ branch (when ‘rv == 0’)...
nss-3_119_1/nss/cmd/sdrtest/sdrtest.c:273:5: branch_false: ...to here
nss-3_119_1/nss/cmd/sdrtest/sdrtest.c:279:8: branch_false: following ‘false’ branch (when ‘input_file’ is NULL)...
nss-3_119_1/nss/cmd/sdrtest/sdrtest.c:305:17: branch_false: ...to here
nss-3_119_1/nss/cmd/sdrtest/sdrtest.c:331:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/sdrtest/sdrtest.c:338:12: branch_false: ...to here
nss-3_119_1/nss/cmd/sdrtest/sdrtest.c:345:14: danger: argument 1 (‘output_file’) NULL where non-null expected
#  343|               printf("Encrypted result is %d bytes long\n", result.len);
#  344|   
#  345|->         if (!strcmp(output_file, "-")) {
#  346|               ascii = PR_TRUE;
#  347|           }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def226]
nss-3_119_1/nss/cmd/shlibsign/shlibsign.c:1384:59: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘hash’
nss-3_119_1/nss/cmd/shlibsign/shlibsign.c:1364:8: branch_true: following ‘true’ branch (when ‘hash’ is NULL)...
nss-3_119_1/nss/cmd/shlibsign/shlibsign.c:1365:16: branch_true: ...to here
nss-3_119_1/nss/cmd/shlibsign/shlibsign.c:1367:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/shlibsign/shlibsign.c:1368:20: branch_true: ...to here
nss-3_119_1/nss/cmd/shlibsign/shlibsign.c:1372:8: branch_true: following ‘true’ branch (when ‘key’ is NULL)...
nss-3_119_1/nss/cmd/shlibsign/shlibsign.c:1374:22: branch_true: ...to here
nss-3_119_1/nss/cmd/shlibsign/shlibsign.c:1384:59: danger: dereference of NULL ‘hash’
# 1382|           crv = generateAndExtractHMACKey(pFunctionList, hRwSession,
# 1383|                                           &hmacKeyGenMech,
# 1384|->                                         hash->hashLength, hash->keyType,
# 1385|                                           &hmacKeyValue, &hHMACKey);
# 1386|           if (crv != CKR_OK) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def227]
nss-3_119_1/nss/cmd/shlibsign/shlibsign.c:1399:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘hash’
nss-3_119_1/nss/cmd/shlibsign/shlibsign.c:1364:8: branch_true: following ‘true’ branch (when ‘hash’ is NULL)...
nss-3_119_1/nss/cmd/shlibsign/shlibsign.c:1365:16: branch_true: ...to here
nss-3_119_1/nss/cmd/shlibsign/shlibsign.c:1367:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/shlibsign/shlibsign.c:1368:20: branch_true: ...to here
nss-3_119_1/nss/cmd/shlibsign/shlibsign.c:1372:8: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
nss-3_119_1/nss/cmd/shlibsign/shlibsign.c:1392:17: branch_false: ...to here
nss-3_119_1/nss/cmd/shlibsign/shlibsign.c:1393:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/shlibsign/shlibsign.c:1399:13: branch_false: ...to here
nss-3_119_1/nss/cmd/shlibsign/shlibsign.c:1399:28: danger: dereference of NULL ‘hash’
# 1397|           }
# 1398|   
# 1399|->         if (keyItem.len != hash->hashLength) {
# 1400|               print_error("Supplied HMAC key does not match the HMAC hash length.");
# 1401|               SECITEM_FreeItem(&keyItem, PR_FALSE);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def228]
nss-3_119_1/nss/cmd/signtool/certgen.c:668:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(PORT_ZAlloc_Util(12), "wb")’
nss-3_119_1/nss/cmd/signtool/certgen.c:661:16: acquire_resource: opened here
nss-3_119_1/nss/cmd/signtool/certgen.c:661:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/certgen.c:668:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/certgen.c:668:17: throw: if ‘SEC_PKCS7CreateCertsOnly’ throws an exception...
nss-3_119_1/nss/cmd/signtool/certgen.c:668:17: danger: ‘fopen(PORT_ZAlloc_Util(12), "wb")’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
#  666|       }
#  667|   
#  668|->     certChain = SEC_PKCS7CreateCertsOnly(cert, PR_TRUE, db);
#  669|       encodedCertChain =
#  670|           SEC_PKCS7EncodeItem(NULL, NULL, certChain, NULL, NULL, NULL);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def229]
nss-3_119_1/nss/cmd/signtool/certgen.c:668:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(PORT_ZAlloc_Util(12), "wb")’
nss-3_119_1/nss/cmd/signtool/certgen.c:661:16: acquire_memory: allocated here
nss-3_119_1/nss/cmd/signtool/certgen.c:661:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/certgen.c:668:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/certgen.c:668:17: throw: if ‘SEC_PKCS7CreateCertsOnly’ throws an exception...
nss-3_119_1/nss/cmd/signtool/certgen.c:668:17: danger: ‘fopen(PORT_ZAlloc_Util(12), "wb")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
#  666|       }
#  667|   
#  668|->     certChain = SEC_PKCS7CreateCertsOnly(cert, PR_TRUE, db);
#  669|       encodedCertChain =
#  670|           SEC_PKCS7EncodeItem(NULL, NULL, certChain, NULL, NULL, NULL);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def230]
nss-3_119_1/nss/cmd/signtool/certgen.c:670:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(PORT_ZAlloc_Util(12), "wb")’
nss-3_119_1/nss/cmd/signtool/certgen.c:661:16: acquire_resource: opened here
nss-3_119_1/nss/cmd/signtool/certgen.c:661:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/certgen.c:668:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/certgen.c:670:9: throw: if ‘SEC_PKCS7EncodeItem’ throws an exception...
nss-3_119_1/nss/cmd/signtool/certgen.c:670:9: danger: ‘fopen(PORT_ZAlloc_Util(12), "wb")’ leaks here; was opened at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
#  668|       certChain = SEC_PKCS7CreateCertsOnly(cert, PR_TRUE, db);
#  669|       encodedCertChain =
#  670|->         SEC_PKCS7EncodeItem(NULL, NULL, certChain, NULL, NULL, NULL);
#  671|       SEC_PKCS7DestroyContentInfo(certChain);
#  672|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def231]
nss-3_119_1/nss/cmd/signtool/certgen.c:670:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(PORT_ZAlloc_Util(12), "wb")’
nss-3_119_1/nss/cmd/signtool/certgen.c:661:16: acquire_memory: allocated here
nss-3_119_1/nss/cmd/signtool/certgen.c:661:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/certgen.c:668:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/certgen.c:670:9: throw: if ‘SEC_PKCS7EncodeItem’ throws an exception...
nss-3_119_1/nss/cmd/signtool/certgen.c:670:9: danger: ‘fopen(PORT_ZAlloc_Util(12), "wb")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
#  668|       certChain = SEC_PKCS7CreateCertsOnly(cert, PR_TRUE, db);
#  669|       encodedCertChain =
#  670|->         SEC_PKCS7EncodeItem(NULL, NULL, certChain, NULL, NULL, NULL);
#  671|       SEC_PKCS7DestroyContentInfo(certChain);
#  672|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def232]
nss-3_119_1/nss/cmd/signtool/certgen.c:671:5: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(PORT_ZAlloc_Util(12), "wb")’
nss-3_119_1/nss/cmd/signtool/certgen.c:661:16: acquire_resource: opened here
nss-3_119_1/nss/cmd/signtool/certgen.c:661:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/certgen.c:668:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/certgen.c:671:5: throw: if ‘SEC_PKCS7DestroyContentInfo’ throws an exception...
nss-3_119_1/nss/cmd/signtool/certgen.c:671:5: danger: ‘fopen(PORT_ZAlloc_Util(12), "wb")’ leaks here; was opened at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
#  669|       encodedCertChain =
#  670|           SEC_PKCS7EncodeItem(NULL, NULL, certChain, NULL, NULL, NULL);
#  671|->     SEC_PKCS7DestroyContentInfo(certChain);
#  672|   
#  673|       if (encodedCertChain) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def233]
nss-3_119_1/nss/cmd/signtool/certgen.c:671:5: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(PORT_ZAlloc_Util(12), "wb")’
nss-3_119_1/nss/cmd/signtool/certgen.c:661:16: acquire_memory: allocated here
nss-3_119_1/nss/cmd/signtool/certgen.c:661:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/certgen.c:668:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/certgen.c:671:5: throw: if ‘SEC_PKCS7DestroyContentInfo’ throws an exception...
nss-3_119_1/nss/cmd/signtool/certgen.c:671:5: danger: ‘fopen(PORT_ZAlloc_Util(12), "wb")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
#  669|       encodedCertChain =
#  670|           SEC_PKCS7EncodeItem(NULL, NULL, certChain, NULL, NULL, NULL);
#  671|->     SEC_PKCS7DestroyContentInfo(certChain);
#  672|   
#  673|       if (encodedCertChain) {

Error: GCC_ANALYZER_WARNING (CWE-775): [#def234]
nss-3_119_1/nss/cmd/signtool/certgen.c:673:8: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(PORT_ZAlloc_Util(12), "wb")’
nss-3_119_1/nss/cmd/signtool/certgen.c:661:16: acquire_resource: opened here
nss-3_119_1/nss/cmd/signtool/certgen.c:661:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/certgen.c:668:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/certgen.c:673:8: danger: ‘fopen(PORT_ZAlloc_Util(12), "wb")’ leaks here; was opened at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
#  671|       SEC_PKCS7DestroyContentInfo(certChain);
#  672|   
#  673|->     if (encodedCertChain) {
#  674|           fprintf(out, "Content-type: application/x-x509-ca-cert\n\n");
#  675|           fwrite(encodedCertChain->data, 1, encodedCertChain->len,

Error: GCC_ANALYZER_WARNING (CWE-401): [#def235]
nss-3_119_1/nss/cmd/signtool/certgen.c:673:8: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(PORT_ZAlloc_Util(12), "wb")’
nss-3_119_1/nss/cmd/signtool/certgen.c:661:16: acquire_memory: allocated here
nss-3_119_1/nss/cmd/signtool/certgen.c:661:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/certgen.c:668:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/certgen.c:673:8: danger: ‘fopen(PORT_ZAlloc_Util(12), "wb")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
#  671|       SEC_PKCS7DestroyContentInfo(certChain);
#  672|   
#  673|->     if (encodedCertChain) {
#  674|           fprintf(out, "Content-type: application/x-x509-ca-cert\n\n");
#  675|           fwrite(encodedCertChain->data, 1, encodedCertChain->len,

Error: GCC_ANALYZER_WARNING (CWE-775): [#def236]
nss-3_119_1/nss/cmd/signtool/certgen.c:675:43: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(PORT_ZAlloc_Util(12), "wb")’
nss-3_119_1/nss/cmd/signtool/certgen.c:661:16: acquire_resource: opened here
nss-3_119_1/nss/cmd/signtool/certgen.c:661:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/certgen.c:668:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/certgen.c:673:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signtool/certgen.c:674:9: branch_true: ...to here
nss-3_119_1/nss/cmd/signtool/certgen.c:677:9: throw: if ‘SECITEM_FreeItem_Util’ throws an exception...
nss-3_119_1/nss/cmd/signtool/certgen.c:675:43: danger: ‘fopen(PORT_ZAlloc_Util(12), "wb")’ leaks here; was opened at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
#  673|       if (encodedCertChain) {
#  674|           fprintf(out, "Content-type: application/x-x509-ca-cert\n\n");
#  675|->         fwrite(encodedCertChain->data, 1, encodedCertChain->len,
#  676|                  out);
#  677|           SECITEM_FreeItem(encodedCertChain, PR_TRUE);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def237]
nss-3_119_1/nss/cmd/signtool/certgen.c:675:43: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(PORT_ZAlloc_Util(12), "wb")’
nss-3_119_1/nss/cmd/signtool/certgen.c:661:16: acquire_memory: allocated here
nss-3_119_1/nss/cmd/signtool/certgen.c:661:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/certgen.c:668:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/certgen.c:673:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signtool/certgen.c:674:9: branch_true: ...to here
nss-3_119_1/nss/cmd/signtool/certgen.c:677:9: throw: if ‘SECITEM_FreeItem_Util’ throws an exception...
nss-3_119_1/nss/cmd/signtool/certgen.c:675:43: danger: ‘fopen(PORT_ZAlloc_Util(12), "wb")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
#  673|       if (encodedCertChain) {
#  674|           fprintf(out, "Content-type: application/x-x509-ca-cert\n\n");
#  675|->         fwrite(encodedCertChain->data, 1, encodedCertChain->len,
#  676|                  out);
#  677|           SECITEM_FreeItem(encodedCertChain, PR_TRUE);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def238]
nss-3_119_1/nss/cmd/signtool/certgen.c:697:16: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(PORT_ZAlloc_Util(12), "wb")’
nss-3_119_1/nss/cmd/signtool/certgen.c:661:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/certgen.c:668:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/certgen.c:673:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signtool/certgen.c:674:9: branch_true: ...to here
nss-3_119_1/nss/cmd/signtool/certgen.c:690:16: acquire_resource: opened here
nss-3_119_1/nss/cmd/signtool/certgen.c:690:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/certgen.c:697:16: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/certgen.c:697:16: throw: if ‘BTOA_DataToAscii_Util’ throws an exception...
nss-3_119_1/nss/cmd/signtool/certgen.c:697:16: danger: ‘fopen(PORT_ZAlloc_Util(12), "wb")’ leaks here; was opened at [(5)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/4)
#  695|       }
#  696|   
#  697|->     certData = BTOA_DataToAscii(cert->derCert.data, cert->derCert.len);
#  698|       fprintf(out, "%s\n%s\n%s\n", NS_CERT_HEADER, certData, NS_CERT_TRAILER);
#  699|       PORT_Free(certData);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def239]
nss-3_119_1/nss/cmd/signtool/certgen.c:697:16: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(PORT_ZAlloc_Util(12), "wb")’
nss-3_119_1/nss/cmd/signtool/certgen.c:661:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/certgen.c:668:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/certgen.c:673:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signtool/certgen.c:674:9: branch_true: ...to here
nss-3_119_1/nss/cmd/signtool/certgen.c:690:16: acquire_memory: allocated here
nss-3_119_1/nss/cmd/signtool/certgen.c:690:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/certgen.c:697:16: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/certgen.c:697:16: throw: if ‘BTOA_DataToAscii_Util’ throws an exception...
nss-3_119_1/nss/cmd/signtool/certgen.c:697:16: danger: ‘fopen(PORT_ZAlloc_Util(12), "wb")’ leaks here; was allocated at [(5)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/4)
#  695|       }
#  696|   
#  697|->     certData = BTOA_DataToAscii(cert->derCert.data, cert->derCert.len);
#  698|       fprintf(out, "%s\n%s\n%s\n", NS_CERT_HEADER, certData, NS_CERT_TRAILER);
#  699|       PORT_Free(certData);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def240]
nss-3_119_1/nss/cmd/signtool/javascript.c:718:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
nss-3_119_1/nss/cmd/signtool/javascript.c:1054:1: enter_function: entry to ‘extract_js’
nss-3_119_1/nss/cmd/signtool/javascript.c:1086:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/javascript.c:1096:19: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/javascript.c:1099:16: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/javascript.c:1106:14: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/javascript.c:1107:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/javascript.c:1114:10: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/javascript.c:1114:10: call_function: calling ‘FB_Create’ from ‘extract_js’
nss-3_119_1/nss/cmd/signtool/javascript.c:1114:10: return_function: returning to ‘extract_js’ from ‘FB_Create’
nss-3_119_1/nss/cmd/signtool/javascript.c:1118:22: call_function: inlined call to ‘FB_GetLineNum’ from ‘extract_js’
#  716|   FB_GetLineNum(FileBuffer *fb)
#  717|   {
#  718|->     return fb->lineNum;
#  719|   }
#  720|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def241]
nss-3_119_1/nss/cmd/signtool/sign.c:294:8: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&sf_file, "rb")’
nss-3_119_1/nss/cmd/signtool/sign.c:266:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:271:12: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:273:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:281:16: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:287:15: acquire_resource: opened here
nss-3_119_1/nss/cmd/signtool/sign.c:287:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:294:16: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:294:8: danger: ‘fopen(&sf_file, "rb")’ leaks here; was opened at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
#  292|       }
#  293|   
#  294|->     if ((out = fopen(pk7_file, "wb")) == NULL) {
#  295|           PR_fprintf(errorFD, "%s: Can't open %s for writing\n", PROGRAM_NAME,
#  296|                      sf_file);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def242]
nss-3_119_1/nss/cmd/signtool/sign.c:294:8: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&sf_file, "rb")’
nss-3_119_1/nss/cmd/signtool/sign.c:266:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:271:12: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:273:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:281:16: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:287:15: acquire_memory: allocated here
nss-3_119_1/nss/cmd/signtool/sign.c:287:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:294:16: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:294:8: danger: ‘fopen(&sf_file, "rb")’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
#  292|       }
#  293|   
#  294|->     if ((out = fopen(pk7_file, "wb")) == NULL) {
#  295|           PR_fprintf(errorFD, "%s: Can't open %s for writing\n", PROGRAM_NAME,
#  296|                      sf_file);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def243]
nss-3_119_1/nss/cmd/signtool/sign.c:573:27: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(metafile, "r")’
nss-3_119_1/nss/cmd/signtool/sign.c:569:16: acquire_resource: opened here
nss-3_119_1/nss/cmd/signtool/sign.c:569:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:569:8: branch_true: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:570:16: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:570:16: branch_true: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:599:16: branch_true: following ‘true’ branch (when the strings are equal)...
nss-3_119_1/nss/cmd/signtool/sign.c:603:17: branch_true: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:604:20: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:605:21: branch_true: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:605:21: throw: if ‘PR_fprintf’ throws an exception...
nss-3_119_1/nss/cmd/signtool/sign.c:573:27: danger: ‘fopen(metafile, "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
#  571|               char *s;
#  572|   
#  573|->             for (s = buf; *s && *s != '\n' && *s != '\r'; s++)
#  574|                   ;
#  575|               *s = 0;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def244]
nss-3_119_1/nss/cmd/signtool/sign.c:573:27: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(metafile, "r")’
nss-3_119_1/nss/cmd/signtool/sign.c:569:16: acquire_memory: allocated here
nss-3_119_1/nss/cmd/signtool/sign.c:569:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:569:8: branch_true: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:570:16: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:570:16: branch_true: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:599:16: branch_true: following ‘true’ branch (when the strings are equal)...
nss-3_119_1/nss/cmd/signtool/sign.c:603:17: branch_true: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:604:20: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:605:21: branch_true: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:605:21: throw: if ‘PR_fprintf’ throws an exception...
nss-3_119_1/nss/cmd/signtool/sign.c:573:27: danger: ‘fopen(metafile, "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
#  571|               char *s;
#  572|   
#  573|->             for (s = buf; *s && *s != '\n' && *s != '\r'; s++)
#  574|                   ;
#  575|               *s = 0;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def245]
nss-3_119_1/nss/cmd/signtool/sign.c:638:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&pk7_file, "wb")’
nss-3_119_1/nss/cmd/signtool/sign.c:250:1: enter_function: entry to ‘create_pk7’
nss-3_119_1/nss/cmd/signtool/sign.c:266:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:271:12: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:273:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:281:16: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:287:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:294:16: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:294:16: acquire_resource: opened here
nss-3_119_1/nss/cmd/signtool/sign.c:294:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:301:14: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:301:14: call_function: calling ‘SignFile’ from ‘create_pk7’
#  636|       SECStatus rv;
#  637|   
#  638|->     if (outFile == NULL || inFile == NULL || cert == NULL)
#  639|           return -1;
#  640|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def246]
nss-3_119_1/nss/cmd/signtool/sign.c:638:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&sf_file, "rb")’
nss-3_119_1/nss/cmd/signtool/sign.c:250:1: enter_function: entry to ‘create_pk7’
nss-3_119_1/nss/cmd/signtool/sign.c:266:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:271:12: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:273:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:281:16: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:287:15: acquire_resource: opened here
nss-3_119_1/nss/cmd/signtool/sign.c:287:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:294:16: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:294:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:301:14: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:301:14: call_function: calling ‘SignFile’ from ‘create_pk7’
#  636|       SECStatus rv;
#  637|   
#  638|->     if (outFile == NULL || inFile == NULL || cert == NULL)
#  639|           return -1;
#  640|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def247]
nss-3_119_1/nss/cmd/signtool/sign.c:638:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&pk7_file, "wb")’
nss-3_119_1/nss/cmd/signtool/sign.c:250:1: enter_function: entry to ‘create_pk7’
nss-3_119_1/nss/cmd/signtool/sign.c:266:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:271:12: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:273:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:281:16: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:287:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:294:16: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:294:16: acquire_memory: allocated here
nss-3_119_1/nss/cmd/signtool/sign.c:294:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:301:14: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:301:14: call_function: calling ‘SignFile’ from ‘create_pk7’
#  636|       SECStatus rv;
#  637|   
#  638|->     if (outFile == NULL || inFile == NULL || cert == NULL)
#  639|           return -1;
#  640|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def248]
nss-3_119_1/nss/cmd/signtool/sign.c:638:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&sf_file, "rb")’
nss-3_119_1/nss/cmd/signtool/sign.c:250:1: enter_function: entry to ‘create_pk7’
nss-3_119_1/nss/cmd/signtool/sign.c:266:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:271:12: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:273:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:281:16: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:287:15: acquire_memory: allocated here
nss-3_119_1/nss/cmd/signtool/sign.c:287:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:294:16: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:294:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:301:14: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:301:14: call_function: calling ‘SignFile’ from ‘create_pk7’
#  636|       SECStatus rv;
#  637|   
#  638|->     if (outFile == NULL || inFile == NULL || cert == NULL)
#  639|           return -1;
#  640|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def249]
nss-3_119_1/nss/cmd/signtool/sign.c:728:8: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(manifile, "rb")’
nss-3_119_1/nss/cmd/signtool/sign.c:723:19: acquire_resource: opened here
nss-3_119_1/nss/cmd/signtool/sign.c:723:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:728:19: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:728:8: danger: ‘fopen(manifile, "rb")’ leaks here; was opened at [(1)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/0)
#  726|       }
#  727|   
#  728|->     if ((sfFile = fopen(whofile, "wb")) == NULL) {
#  729|           perror(who);
#  730|           exit(ERRX);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def250]
nss-3_119_1/nss/cmd/signtool/sign.c:728:8: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(manifile, "rb")’
nss-3_119_1/nss/cmd/signtool/sign.c:723:19: acquire_memory: allocated here
nss-3_119_1/nss/cmd/signtool/sign.c:723:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:728:19: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:728:8: danger: ‘fopen(manifile, "rb")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/33/codeFlows/0/threadFlows/0/locations/0)
#  726|       }
#  727|   
#  728|->     if ((sfFile = fopen(whofile, "wb")) == NULL) {
#  729|           perror(who);
#  730|           exit(ERRX);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def251]
nss-3_119_1/nss/cmd/signtool/sign.c:733:19: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&whofile, "wb")’
nss-3_119_1/nss/cmd/signtool/sign.c:723:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:728:19: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:728:19: acquire_resource: opened here
nss-3_119_1/nss/cmd/signtool/sign.c:728:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:733:19: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:733:19: throw: if ‘PORT_ZAlloc_Util’ throws an exception...
nss-3_119_1/nss/cmd/signtool/sign.c:733:19: danger: ‘fopen(&whofile, "wb")’ leaks here; was opened at [(3)](sarif:/runs/0/results/35/codeFlows/0/threadFlows/0/locations/2)
#  731|       }
#  732|   
#  733|->     buf = (char *)PORT_ZAlloc(BUFSIZ);
#  734|   
#  735|       if (buf)

Error: GCC_ANALYZER_WARNING (CWE-775): [#def252]
nss-3_119_1/nss/cmd/signtool/sign.c:733:19: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(manifile, "rb")’
nss-3_119_1/nss/cmd/signtool/sign.c:723:19: acquire_resource: opened here
nss-3_119_1/nss/cmd/signtool/sign.c:723:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:728:19: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:728:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:733:19: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:733:19: throw: if ‘PORT_ZAlloc_Util’ throws an exception...
nss-3_119_1/nss/cmd/signtool/sign.c:733:19: danger: ‘fopen(manifile, "rb")’ leaks here; was opened at [(1)](sarif:/runs/0/results/34/codeFlows/0/threadFlows/0/locations/0)
#  731|       }
#  732|   
#  733|->     buf = (char *)PORT_ZAlloc(BUFSIZ);
#  734|   
#  735|       if (buf)

Error: GCC_ANALYZER_WARNING (CWE-401): [#def253]
nss-3_119_1/nss/cmd/signtool/sign.c:733:19: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&whofile, "wb")’
nss-3_119_1/nss/cmd/signtool/sign.c:723:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:728:19: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:728:19: acquire_memory: allocated here
nss-3_119_1/nss/cmd/signtool/sign.c:728:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:733:19: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:733:19: throw: if ‘PORT_ZAlloc_Util’ throws an exception...
nss-3_119_1/nss/cmd/signtool/sign.c:733:19: danger: ‘fopen(&whofile, "wb")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/37/codeFlows/0/threadFlows/0/locations/2)
#  731|       }
#  732|   
#  733|->     buf = (char *)PORT_ZAlloc(BUFSIZ);
#  734|   
#  735|       if (buf)

Error: GCC_ANALYZER_WARNING (CWE-401): [#def254]
nss-3_119_1/nss/cmd/signtool/sign.c:733:19: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(manifile, "rb")’
nss-3_119_1/nss/cmd/signtool/sign.c:723:19: acquire_memory: allocated here
nss-3_119_1/nss/cmd/signtool/sign.c:723:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:728:19: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:728:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:733:19: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:733:19: throw: if ‘PORT_ZAlloc_Util’ throws an exception...
nss-3_119_1/nss/cmd/signtool/sign.c:733:19: danger: ‘fopen(manifile, "rb")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/36/codeFlows/0/threadFlows/0/locations/0)
#  731|       }
#  732|   
#  733|->     buf = (char *)PORT_ZAlloc(BUFSIZ);
#  734|   
#  735|       if (buf)

Error: GCC_ANALYZER_WARNING (CWE-775): [#def255]
nss-3_119_1/nss/cmd/signtool/sign.c:736:24: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&whofile, "wb")’
nss-3_119_1/nss/cmd/signtool/sign.c:723:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:728:19: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:728:19: acquire_resource: opened here
nss-3_119_1/nss/cmd/signtool/sign.c:728:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:733:19: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:735:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:736:24: branch_true: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:736:24: throw: if ‘PORT_ZAlloc_Util’ throws an exception...
nss-3_119_1/nss/cmd/signtool/sign.c:736:24: danger: ‘fopen(&whofile, "wb")’ leaks here; was opened at [(3)](sarif:/runs/0/results/39/codeFlows/0/threadFlows/0/locations/2)
#  734|   
#  735|       if (buf)
#  736|->         name = (char *)PORT_ZAlloc(BUFSIZ);
#  737|   
#  738|       if (buf == NULL || name == NULL)

Error: GCC_ANALYZER_WARNING (CWE-775): [#def256]
nss-3_119_1/nss/cmd/signtool/sign.c:736:24: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(manifile, "rb")’
nss-3_119_1/nss/cmd/signtool/sign.c:723:19: acquire_resource: opened here
nss-3_119_1/nss/cmd/signtool/sign.c:723:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:728:19: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:728:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:733:19: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:735:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:736:24: branch_true: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:736:24: throw: if ‘PORT_ZAlloc_Util’ throws an exception...
nss-3_119_1/nss/cmd/signtool/sign.c:736:24: danger: ‘fopen(manifile, "rb")’ leaks here; was opened at [(1)](sarif:/runs/0/results/38/codeFlows/0/threadFlows/0/locations/0)
#  734|   
#  735|       if (buf)
#  736|->         name = (char *)PORT_ZAlloc(BUFSIZ);
#  737|   
#  738|       if (buf == NULL || name == NULL)

Error: GCC_ANALYZER_WARNING (CWE-401): [#def257]
nss-3_119_1/nss/cmd/signtool/sign.c:736:24: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&whofile, "wb")’
nss-3_119_1/nss/cmd/signtool/sign.c:723:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:728:19: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:728:19: acquire_memory: allocated here
nss-3_119_1/nss/cmd/signtool/sign.c:728:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:733:19: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:735:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:736:24: branch_true: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:736:24: throw: if ‘PORT_ZAlloc_Util’ throws an exception...
nss-3_119_1/nss/cmd/signtool/sign.c:736:24: danger: ‘fopen(&whofile, "wb")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/41/codeFlows/0/threadFlows/0/locations/2)
#  734|   
#  735|       if (buf)
#  736|->         name = (char *)PORT_ZAlloc(BUFSIZ);
#  737|   
#  738|       if (buf == NULL || name == NULL)

Error: GCC_ANALYZER_WARNING (CWE-401): [#def258]
nss-3_119_1/nss/cmd/signtool/sign.c:736:24: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(manifile, "rb")’
nss-3_119_1/nss/cmd/signtool/sign.c:723:19: acquire_memory: allocated here
nss-3_119_1/nss/cmd/signtool/sign.c:723:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:728:19: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:728:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:733:19: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:735:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:736:24: branch_true: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:736:24: throw: if ‘PORT_ZAlloc_Util’ throws an exception...
nss-3_119_1/nss/cmd/signtool/sign.c:736:24: danger: ‘fopen(manifile, "rb")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/40/codeFlows/0/threadFlows/0/locations/0)
#  734|   
#  735|       if (buf)
#  736|->         name = (char *)PORT_ZAlloc(BUFSIZ);
#  737|   
#  738|       if (buf == NULL || name == NULL)

Error: GCC_ANALYZER_WARNING (CWE-775): [#def259]
nss-3_119_1/nss/cmd/signtool/sign.c:738:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&whofile, "wb")’
nss-3_119_1/nss/cmd/signtool/sign.c:723:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:728:19: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:728:19: acquire_resource: opened here
nss-3_119_1/nss/cmd/signtool/sign.c:728:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:733:19: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:735:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:738:9: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:738:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:739:9: branch_true: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:739:9: throw: if ‘out_of_memory’ throws an exception...
nss-3_119_1/nss/cmd/signtool/sign.c:738:9: danger: ‘fopen(&whofile, "wb")’ leaks here; was opened at [(3)](sarif:/runs/0/results/43/codeFlows/0/threadFlows/0/locations/2)
#  736|           name = (char *)PORT_ZAlloc(BUFSIZ);
#  737|   
#  738|->     if (buf == NULL || name == NULL)
#  739|           out_of_memory();
#  740|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def260]
nss-3_119_1/nss/cmd/signtool/sign.c:738:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(manifile, "rb")’
nss-3_119_1/nss/cmd/signtool/sign.c:723:19: acquire_resource: opened here
nss-3_119_1/nss/cmd/signtool/sign.c:723:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:728:19: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:728:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:733:19: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:735:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:738:9: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:738:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:739:9: branch_true: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:739:9: throw: if ‘out_of_memory’ throws an exception...
nss-3_119_1/nss/cmd/signtool/sign.c:738:9: danger: ‘fopen(manifile, "rb")’ leaks here; was opened at [(1)](sarif:/runs/0/results/42/codeFlows/0/threadFlows/0/locations/0)
#  736|           name = (char *)PORT_ZAlloc(BUFSIZ);
#  737|   
#  738|->     if (buf == NULL || name == NULL)
#  739|           out_of_memory();
#  740|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def261]
nss-3_119_1/nss/cmd/signtool/sign.c:738:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&whofile, "wb")’
nss-3_119_1/nss/cmd/signtool/sign.c:723:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:728:19: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:728:19: acquire_memory: allocated here
nss-3_119_1/nss/cmd/signtool/sign.c:728:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:733:19: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:735:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:738:9: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:738:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:739:9: branch_true: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:739:9: throw: if ‘out_of_memory’ throws an exception...
nss-3_119_1/nss/cmd/signtool/sign.c:738:9: danger: ‘fopen(&whofile, "wb")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/45/codeFlows/0/threadFlows/0/locations/2)
#  736|           name = (char *)PORT_ZAlloc(BUFSIZ);
#  737|   
#  738|->     if (buf == NULL || name == NULL)
#  739|           out_of_memory();
#  740|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def262]
nss-3_119_1/nss/cmd/signtool/sign.c:738:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(manifile, "rb")’
nss-3_119_1/nss/cmd/signtool/sign.c:723:19: acquire_memory: allocated here
nss-3_119_1/nss/cmd/signtool/sign.c:723:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:728:19: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:728:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:733:19: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:735:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:738:9: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:738:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:739:9: branch_true: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:739:9: throw: if ‘out_of_memory’ throws an exception...
nss-3_119_1/nss/cmd/signtool/sign.c:738:9: danger: ‘fopen(manifile, "rb")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/44/codeFlows/0/threadFlows/0/locations/0)
#  736|           name = (char *)PORT_ZAlloc(BUFSIZ);
#  737|   
#  738|->     if (buf == NULL || name == NULL)
#  739|           out_of_memory();
#  740|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def263]
nss-3_119_1/nss/cmd/signtool/sign.c:770:24: warning[-Wanalyzer-null-argument]: use of NULL ‘name’ where non-null expected
nss-3_119_1/nss/cmd/signtool/sign.c:723:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:728:19: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:728:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:733:19: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:735:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:738:9: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:738:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:739:9: branch_true: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:745:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:751:9: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:751:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:757:5: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:765:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:768:9: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:770:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signtool/sign.c:770:24: branch_true: ...to here
nss-3_119_1/nss/cmd/signtool/sign.c:770:24: danger: argument 1 (‘name’) NULL where non-null expected
#  768|           line++;
#  769|   
#  770|->         if (r1 != 0 && strncmp(name, "Name:", 5)) {
#  771|               PR_fprintf(errorFD,
#  772|                          "warning: unexpected input in manifest file \"%s\" at line %d:\n",

Error: GCC_ANALYZER_WARNING (CWE-775): [#def264]
nss-3_119_1/nss/cmd/signtool/verify.c:188:29: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen("signtool.tmp", "rb")’
nss-3_119_1/nss/cmd/signtool/verify.c:140:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signtool/verify.c:141:29: branch_true: ...to here
nss-3_119_1/nss/cmd/signtool/verify.c:144:20: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/verify.c:147:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/verify.c:184:27: acquire_resource: opened here
nss-3_119_1/nss/cmd/signtool/verify.c:185:28: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signtool/verify.c:188:29: branch_true: ...to here
nss-3_119_1/nss/cmd/signtool/verify.c:191:39: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signtool/verify.c:191:39: branch_true: ...to here
nss-3_119_1/nss/cmd/signtool/verify.c:191:39: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/verify.c:193:25: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/verify.c:195:28: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signtool/verify.c:197:33: branch_true: ...to here
nss-3_119_1/nss/cmd/signtool/verify.c:197:33: throw: if ‘ATOB_AsciiToData_Util’ throws an exception...
nss-3_119_1/nss/cmd/signtool/verify.c:188:29: danger: ‘fopen("signtool.tmp", "rb")’ leaks here; was opened at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
#  186|                           char *s;
#  187|   
#  188|->                         if (*buf == 0 || *buf == '\n' || *buf == '\r')
#  189|                               break;
#  190|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def265]
nss-3_119_1/nss/cmd/signtool/verify.c:188:29: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen("signtool.tmp", "rb")’
nss-3_119_1/nss/cmd/signtool/verify.c:140:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signtool/verify.c:141:29: branch_true: ...to here
nss-3_119_1/nss/cmd/signtool/verify.c:144:20: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/verify.c:147:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/verify.c:184:27: acquire_memory: allocated here
nss-3_119_1/nss/cmd/signtool/verify.c:185:28: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signtool/verify.c:188:29: branch_true: ...to here
nss-3_119_1/nss/cmd/signtool/verify.c:191:39: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signtool/verify.c:191:39: branch_true: ...to here
nss-3_119_1/nss/cmd/signtool/verify.c:191:39: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/verify.c:193:25: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/verify.c:195:28: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signtool/verify.c:197:33: branch_true: ...to here
nss-3_119_1/nss/cmd/signtool/verify.c:197:33: throw: if ‘ATOB_AsciiToData_Util’ throws an exception...
nss-3_119_1/nss/cmd/signtool/verify.c:188:29: danger: ‘fopen("signtool.tmp", "rb")’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
#  186|                           char *s;
#  187|   
#  188|->                         if (*buf == 0 || *buf == '\n' || *buf == '\r')
#  189|                               break;
#  190|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def266]
nss-3_119_1/nss/cmd/signtool/verify.c:211:25: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen("signtool.tmp", "rb")’
nss-3_119_1/nss/cmd/signtool/verify.c:140:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signtool/verify.c:141:29: branch_true: ...to here
nss-3_119_1/nss/cmd/signtool/verify.c:144:20: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/verify.c:147:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/verify.c:184:27: acquire_resource: opened here
nss-3_119_1/nss/cmd/signtool/verify.c:211:24: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/verify.c:219:35: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/verify.c:219:24: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/verify.c:227:24: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/verify.c:232:21: throw: if ‘PORT_Free_Util’ throws an exception...
nss-3_119_1/nss/cmd/signtool/verify.c:211:25: danger: ‘fopen("signtool.tmp", "rb")’ leaks here; was opened at [(5)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/4)
#  209|                       globaldig = jar->globalmeta;
#  210|   
#  211|->                     if (globaldig && md5_digest && verbosity >= 0) {
#  212|                           PR_fprintf(outputFD,
#  213|                                      "  md5 digest on global metainfo: %s\n",

Error: GCC_ANALYZER_WARNING (CWE-401): [#def267]
nss-3_119_1/nss/cmd/signtool/verify.c:211:25: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen("signtool.tmp", "rb")’
nss-3_119_1/nss/cmd/signtool/verify.c:140:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signtool/verify.c:141:29: branch_true: ...to here
nss-3_119_1/nss/cmd/signtool/verify.c:144:20: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/verify.c:147:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/verify.c:184:27: acquire_memory: allocated here
nss-3_119_1/nss/cmd/signtool/verify.c:211:24: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/verify.c:219:35: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/verify.c:219:24: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signtool/verify.c:227:24: branch_false: ...to here
nss-3_119_1/nss/cmd/signtool/verify.c:232:21: throw: if ‘PORT_Free_Util’ throws an exception...
nss-3_119_1/nss/cmd/signtool/verify.c:211:25: danger: ‘fopen("signtool.tmp", "rb")’ leaks here; was allocated at [(5)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/4)
#  209|                       globaldig = jar->globalmeta;
#  210|   
#  211|->                     if (globaldig && md5_digest && verbosity >= 0) {
#  212|                           PR_fprintf(outputFD,
#  213|                                      "  md5 digest on global metainfo: %s\n",

Error: GCC_ANALYZER_WARNING (CWE-775): [#def268]
nss-3_119_1/nss/cmd/signver/signver.c:55:21: warning[-Wanalyzer-file-leak]: leak of FILE ‘outFile’
nss-3_119_1/nss/cmd/signver/signver.c:109:1: enter_function: entry to ‘main’
nss-3_119_1/nss/cmd/signver/signver.c:136:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:139:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:148:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:153:5: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:194:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:195:25: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:195:19: acquire_resource: opened here
nss-3_119_1/nss/cmd/signver/signver.c:196:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:205:31: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:208:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: following ‘false’ branch (when ‘contentFile’ is NULL)...
nss-3_119_1/nss/cmd/signver/signver.c:221:9: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:221:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:227:17: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:229:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:235:27: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:251:22: call_function: calling ‘AlgorithmToHashType’ from ‘main’
#   53|   AlgorithmToHashType(SECAlgorithmID *digestAlgorithms)
#   54|   {
#   55|->     SECOidTag tag = SECOID_GetAlgorithmTag(digestAlgorithms);
#   56|       HASH_HashType hash = HASH_GetHashTypeByOidTag(tag);
#   57|       return hash;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def269]
nss-3_119_1/nss/cmd/signver/signver.c:55:21: warning[-Wanalyzer-malloc-leak]: leak of ‘outFile’
nss-3_119_1/nss/cmd/signver/signver.c:109:1: enter_function: entry to ‘main’
nss-3_119_1/nss/cmd/signver/signver.c:136:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:139:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:148:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:153:5: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:194:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:195:25: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:195:19: acquire_memory: allocated here
nss-3_119_1/nss/cmd/signver/signver.c:196:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:205:31: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:208:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: following ‘false’ branch (when ‘contentFile’ is NULL)...
nss-3_119_1/nss/cmd/signver/signver.c:221:9: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:221:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:227:17: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:229:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:235:27: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:251:22: call_function: calling ‘AlgorithmToHashType’ from ‘main’
#   53|   AlgorithmToHashType(SECAlgorithmID *digestAlgorithms)
#   54|   {
#   55|->     SECOidTag tag = SECOID_GetAlgorithmTag(digestAlgorithms);
#   56|       HASH_HashType hash = HASH_GetHashTypeByOidTag(tag);
#   57|       return hash;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def270]
nss-3_119_1/nss/cmd/signver/signver.c:56:26: warning[-Wanalyzer-file-leak]: leak of FILE ‘outFile’
nss-3_119_1/nss/cmd/signver/signver.c:109:1: enter_function: entry to ‘main’
nss-3_119_1/nss/cmd/signver/signver.c:136:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:139:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:148:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:153:5: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:194:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:195:25: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:195:19: acquire_resource: opened here
nss-3_119_1/nss/cmd/signver/signver.c:196:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:205:31: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:208:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: following ‘false’ branch (when ‘contentFile’ is NULL)...
nss-3_119_1/nss/cmd/signver/signver.c:221:9: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:221:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:227:17: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:229:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:235:27: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:251:22: call_function: calling ‘AlgorithmToHashType’ from ‘main’
#   54|   {
#   55|       SECOidTag tag = SECOID_GetAlgorithmTag(digestAlgorithms);
#   56|->     HASH_HashType hash = HASH_GetHashTypeByOidTag(tag);
#   57|       return hash;
#   58|   }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def271]
nss-3_119_1/nss/cmd/signver/signver.c:56:26: warning[-Wanalyzer-malloc-leak]: leak of ‘outFile’
nss-3_119_1/nss/cmd/signver/signver.c:109:1: enter_function: entry to ‘main’
nss-3_119_1/nss/cmd/signver/signver.c:136:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:139:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:148:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:153:5: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:194:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:195:25: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:195:19: acquire_memory: allocated here
nss-3_119_1/nss/cmd/signver/signver.c:196:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:205:31: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:208:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: following ‘false’ branch (when ‘contentFile’ is NULL)...
nss-3_119_1/nss/cmd/signver/signver.c:221:9: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:221:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:227:17: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:229:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:235:27: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:251:22: call_function: calling ‘AlgorithmToHashType’ from ‘main’
#   54|   {
#   55|       SECOidTag tag = SECOID_GetAlgorithmTag(digestAlgorithms);
#   56|->     HASH_HashType hash = HASH_GetHashTypeByOidTag(tag);
#   57|       return hash;
#   58|   }

Error: GCC_ANALYZER_WARNING (CWE-775): [#def272]
nss-3_119_1/nss/cmd/signver/signver.c:204:10: warning[-Wanalyzer-file-leak]: leak of FILE ‘outFile’
nss-3_119_1/nss/cmd/signver/signver.c:136:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:139:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:148:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:153:5: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:194:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:195:25: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:195:19: acquire_resource: opened here
nss-3_119_1/nss/cmd/signver/signver.c:196:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:205:31: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:204:10: throw: if ‘SECU_ReadDERFromFile’ throws an exception...
nss-3_119_1/nss/cmd/signver/signver.c:204:10: danger: ‘outFile’ leaks here; was opened at [(7)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/6)
#  202|   
#  203|       /* read in the input files' contents */
#  204|->     rv = SECU_ReadDERFromFile(&pkcs7der, signFile,
#  205|                                 signver.options[opt_ASCII].activated, PR_FALSE);
#  206|       if (signFile != PR_STDIN)

Error: GCC_ANALYZER_WARNING (CWE-401): [#def273]
nss-3_119_1/nss/cmd/signver/signver.c:204:10: warning[-Wanalyzer-malloc-leak]: leak of ‘outFile’
nss-3_119_1/nss/cmd/signver/signver.c:136:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:139:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:148:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:153:5: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:194:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:195:25: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:195:19: acquire_memory: allocated here
nss-3_119_1/nss/cmd/signver/signver.c:196:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:205:31: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:204:10: throw: if ‘SECU_ReadDERFromFile’ throws an exception...
nss-3_119_1/nss/cmd/signver/signver.c:204:10: danger: ‘outFile’ leaks here; was allocated at [(7)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/6)
#  202|   
#  203|       /* read in the input files' contents */
#  204|->     rv = SECU_ReadDERFromFile(&pkcs7der, signFile,
#  205|                                 signver.options[opt_ASCII].activated, PR_FALSE);
#  206|       if (signFile != PR_STDIN)

Error: GCC_ANALYZER_WARNING (CWE-775): [#def274]
nss-3_119_1/nss/cmd/signver/signver.c:206:21: warning[-Wanalyzer-file-leak]: leak of FILE ‘outFile’
nss-3_119_1/nss/cmd/signver/signver.c:136:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:139:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:148:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:153:5: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:194:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:195:25: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:195:19: acquire_resource: opened here
nss-3_119_1/nss/cmd/signver/signver.c:196:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:205:31: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:206:21: throw: if ‘PR_GetSpecialFD’ throws an exception...
nss-3_119_1/nss/cmd/signver/signver.c:206:21: danger: ‘outFile’ leaks here; was opened at [(7)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/6)
#  204|       rv = SECU_ReadDERFromFile(&pkcs7der, signFile,
#  205|                                 signver.options[opt_ASCII].activated, PR_FALSE);
#  206|->     if (signFile != PR_STDIN)
#  207|           PR_Close(signFile);
#  208|       if (rv != SECSuccess) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def275]
nss-3_119_1/nss/cmd/signver/signver.c:206:21: warning[-Wanalyzer-malloc-leak]: leak of ‘outFile’
nss-3_119_1/nss/cmd/signver/signver.c:136:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:139:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:148:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:153:5: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:194:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:195:25: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:195:19: acquire_memory: allocated here
nss-3_119_1/nss/cmd/signver/signver.c:196:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:205:31: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:206:21: throw: if ‘PR_GetSpecialFD’ throws an exception...
nss-3_119_1/nss/cmd/signver/signver.c:206:21: danger: ‘outFile’ leaks here; was allocated at [(7)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/6)
#  204|       rv = SECU_ReadDERFromFile(&pkcs7der, signFile,
#  205|                                 signver.options[opt_ASCII].activated, PR_FALSE);
#  206|->     if (signFile != PR_STDIN)
#  207|           PR_Close(signFile);
#  208|       if (rv != SECSuccess) {

Error: GCC_ANALYZER_WARNING (CWE-775): [#def276]
nss-3_119_1/nss/cmd/signver/signver.c:207:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘outFile’
nss-3_119_1/nss/cmd/signver/signver.c:136:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:139:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:148:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:153:5: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:194:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:195:25: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:195:19: acquire_resource: opened here
nss-3_119_1/nss/cmd/signver/signver.c:196:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:205:31: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:206:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:207:9: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:207:9: throw: if ‘PR_Close’ throws an exception...
nss-3_119_1/nss/cmd/signver/signver.c:207:9: danger: ‘outFile’ leaks here; was opened at [(7)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/6)
#  205|                                 signver.options[opt_ASCII].activated, PR_FALSE);
#  206|       if (signFile != PR_STDIN)
#  207|->         PR_Close(signFile);
#  208|       if (rv != SECSuccess) {
#  209|           SECU_PrintError(progName, "problem reading PKCS7 input");

Error: GCC_ANALYZER_WARNING (CWE-401): [#def277]
nss-3_119_1/nss/cmd/signver/signver.c:207:9: warning[-Wanalyzer-malloc-leak]: leak of ‘outFile’
nss-3_119_1/nss/cmd/signver/signver.c:136:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:139:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:148:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:153:5: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:194:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:195:25: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:195:19: acquire_memory: allocated here
nss-3_119_1/nss/cmd/signver/signver.c:196:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:205:31: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:206:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:207:9: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:207:9: throw: if ‘PR_Close’ throws an exception...
nss-3_119_1/nss/cmd/signver/signver.c:207:9: danger: ‘outFile’ leaks here; was allocated at [(7)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/6)
#  205|                                 signver.options[opt_ASCII].activated, PR_FALSE);
#  206|       if (signFile != PR_STDIN)
#  207|->         PR_Close(signFile);
#  208|       if (rv != SECSuccess) {
#  209|           SECU_PrintError(progName, "problem reading PKCS7 input");

Error: GCC_ANALYZER_WARNING (CWE-775): [#def278]
nss-3_119_1/nss/cmd/signver/signver.c:209:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘outFile’
nss-3_119_1/nss/cmd/signver/signver.c:136:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:139:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:148:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:153:5: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:194:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:195:25: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:195:19: acquire_resource: opened here
nss-3_119_1/nss/cmd/signver/signver.c:196:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:205:31: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:208:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:209:9: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:209:9: throw: if ‘SECU_PrintError’ throws an exception...
nss-3_119_1/nss/cmd/signver/signver.c:209:9: danger: ‘outFile’ leaks here; was opened at [(7)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/6)
#  207|           PR_Close(signFile);
#  208|       if (rv != SECSuccess) {
#  209|->         SECU_PrintError(progName, "problem reading PKCS7 input");
#  210|           goto cleanup;
#  211|       }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def279]
nss-3_119_1/nss/cmd/signver/signver.c:209:9: warning[-Wanalyzer-malloc-leak]: leak of ‘outFile’
nss-3_119_1/nss/cmd/signver/signver.c:136:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:139:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:148:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:153:5: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:194:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:195:25: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:195:19: acquire_memory: allocated here
nss-3_119_1/nss/cmd/signver/signver.c:196:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:205:31: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:208:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:209:9: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:209:9: throw: if ‘SECU_PrintError’ throws an exception...
nss-3_119_1/nss/cmd/signver/signver.c:209:9: danger: ‘outFile’ leaks here; was allocated at [(7)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/6)
#  207|           PR_Close(signFile);
#  208|       if (rv != SECSuccess) {
#  209|->         SECU_PrintError(progName, "problem reading PKCS7 input");
#  210|           goto cleanup;
#  211|       }

Error: GCC_ANALYZER_WARNING (CWE-775): [#def280]
nss-3_119_1/nss/cmd/signver/signver.c:213:14: warning[-Wanalyzer-file-leak]: leak of FILE ‘outFile’
nss-3_119_1/nss/cmd/signver/signver.c:136:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:139:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:148:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:153:5: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:156:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:157:9: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:156:9: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:158:13: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:194:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:195:25: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:195:19: acquire_resource: opened here
nss-3_119_1/nss/cmd/signver/signver.c:196:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:205:31: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:208:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_true: following ‘true’ branch (when ‘contentFile’ is non-NULL)...
nss-3_119_1/nss/cmd/signver/signver.c:213:14: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:213:14: throw: if ‘SECU_FileToItem’ throws an exception...
nss-3_119_1/nss/cmd/signver/signver.c:213:14: danger: ‘outFile’ leaks here; was opened at [(11)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/10)
#  211|       }
#  212|       if (contentFile) {
#  213|->         rv = SECU_FileToItem(&content, contentFile);
#  214|           if (contentFile != PR_STDIN)
#  215|               PR_Close(contentFile);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def281]
nss-3_119_1/nss/cmd/signver/signver.c:213:14: warning[-Wanalyzer-malloc-leak]: leak of ‘outFile’
nss-3_119_1/nss/cmd/signver/signver.c:136:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:139:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:148:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:153:5: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:156:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:157:9: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:156:9: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:158:13: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:194:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:195:25: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:195:19: acquire_memory: allocated here
nss-3_119_1/nss/cmd/signver/signver.c:196:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:205:31: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:208:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_true: following ‘true’ branch (when ‘contentFile’ is non-NULL)...
nss-3_119_1/nss/cmd/signver/signver.c:213:14: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:213:14: throw: if ‘SECU_FileToItem’ throws an exception...
nss-3_119_1/nss/cmd/signver/signver.c:213:14: danger: ‘outFile’ leaks here; was allocated at [(11)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/10)
#  211|       }
#  212|       if (contentFile) {
#  213|->         rv = SECU_FileToItem(&content, contentFile);
#  214|           if (contentFile != PR_STDIN)
#  215|               PR_Close(contentFile);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def282]
nss-3_119_1/nss/cmd/signver/signver.c:214:28: warning[-Wanalyzer-file-leak]: leak of FILE ‘outFile’
nss-3_119_1/nss/cmd/signver/signver.c:136:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:139:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:148:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:153:5: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:156:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:157:9: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:156:9: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:158:13: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:194:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:195:25: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:195:19: acquire_resource: opened here
nss-3_119_1/nss/cmd/signver/signver.c:196:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:205:31: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:208:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_true: following ‘true’ branch (when ‘contentFile’ is non-NULL)...
nss-3_119_1/nss/cmd/signver/signver.c:213:14: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:214:28: throw: if ‘PR_GetSpecialFD’ throws an exception...
nss-3_119_1/nss/cmd/signver/signver.c:214:28: danger: ‘outFile’ leaks here; was opened at [(11)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/10)
#  212|       if (contentFile) {
#  213|           rv = SECU_FileToItem(&content, contentFile);
#  214|->         if (contentFile != PR_STDIN)
#  215|               PR_Close(contentFile);
#  216|           if (rv != SECSuccess)

Error: GCC_ANALYZER_WARNING (CWE-401): [#def283]
nss-3_119_1/nss/cmd/signver/signver.c:214:28: warning[-Wanalyzer-malloc-leak]: leak of ‘outFile’
nss-3_119_1/nss/cmd/signver/signver.c:136:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:139:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:148:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:153:5: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:156:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:157:9: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:156:9: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:158:13: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:194:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:195:25: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:195:19: acquire_memory: allocated here
nss-3_119_1/nss/cmd/signver/signver.c:196:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:205:31: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:208:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_true: following ‘true’ branch (when ‘contentFile’ is non-NULL)...
nss-3_119_1/nss/cmd/signver/signver.c:213:14: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:214:28: throw: if ‘PR_GetSpecialFD’ throws an exception...
nss-3_119_1/nss/cmd/signver/signver.c:214:28: danger: ‘outFile’ leaks here; was allocated at [(11)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/10)
#  212|       if (contentFile) {
#  213|           rv = SECU_FileToItem(&content, contentFile);
#  214|->         if (contentFile != PR_STDIN)
#  215|               PR_Close(contentFile);
#  216|           if (rv != SECSuccess)

Error: GCC_ANALYZER_WARNING (CWE-775): [#def284]
nss-3_119_1/nss/cmd/signver/signver.c:215:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘outFile’
nss-3_119_1/nss/cmd/signver/signver.c:136:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:139:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:148:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:153:5: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:156:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:157:9: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:156:9: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:158:13: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:194:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:195:25: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:195:19: acquire_resource: opened here
nss-3_119_1/nss/cmd/signver/signver.c:196:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:205:31: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:208:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_true: following ‘true’ branch (when ‘contentFile’ is non-NULL)...
nss-3_119_1/nss/cmd/signver/signver.c:213:14: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:214:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:215:13: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:215:13: throw: if ‘PR_Close’ throws an exception...
nss-3_119_1/nss/cmd/signver/signver.c:215:13: danger: ‘outFile’ leaks here; was opened at [(11)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/10)
#  213|           rv = SECU_FileToItem(&content, contentFile);
#  214|           if (contentFile != PR_STDIN)
#  215|->             PR_Close(contentFile);
#  216|           if (rv != SECSuccess)
#  217|               content.data = NULL;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def285]
nss-3_119_1/nss/cmd/signver/signver.c:215:13: warning[-Wanalyzer-malloc-leak]: leak of ‘outFile’
nss-3_119_1/nss/cmd/signver/signver.c:136:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:139:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:148:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:153:5: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:156:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:157:9: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:156:9: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:158:13: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:194:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:195:25: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:195:19: acquire_memory: allocated here
nss-3_119_1/nss/cmd/signver/signver.c:196:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:205:31: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:208:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_true: following ‘true’ branch (when ‘contentFile’ is non-NULL)...
nss-3_119_1/nss/cmd/signver/signver.c:213:14: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:214:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:215:13: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:215:13: throw: if ‘PR_Close’ throws an exception...
nss-3_119_1/nss/cmd/signver/signver.c:215:13: danger: ‘outFile’ leaks here; was allocated at [(11)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/10)
#  213|           rv = SECU_FileToItem(&content, contentFile);
#  214|           if (contentFile != PR_STDIN)
#  215|->             PR_Close(contentFile);
#  216|           if (rv != SECSuccess)
#  217|               content.data = NULL;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def286]
nss-3_119_1/nss/cmd/signver/signver.c:227:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘outFile’
nss-3_119_1/nss/cmd/signver/signver.c:136:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:139:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:148:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:153:5: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:194:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:195:25: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:195:19: acquire_resource: opened here
nss-3_119_1/nss/cmd/signver/signver.c:196:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:205:31: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:208:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: following ‘false’ branch (when ‘contentFile’ is NULL)...
nss-3_119_1/nss/cmd/signver/signver.c:221:9: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:221:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:227:17: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:227:17: throw: if ‘SEC_PKCS7DecodeItem’ throws an exception...
nss-3_119_1/nss/cmd/signver/signver.c:227:17: danger: ‘outFile’ leaks here; was opened at [(7)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/6)
#  225|           PRBool contentIsSigned;
#  226|   
#  227|->         cinfo = SEC_PKCS7DecodeItem(&pkcs7der, NULL, NULL, NULL, NULL,
#  228|                                       NULL, NULL, NULL);
#  229|           if (cinfo == NULL) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def287]
nss-3_119_1/nss/cmd/signver/signver.c:227:17: warning[-Wanalyzer-malloc-leak]: leak of ‘outFile’
nss-3_119_1/nss/cmd/signver/signver.c:136:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:139:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:148:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:153:5: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:194:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:195:25: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:195:19: acquire_memory: allocated here
nss-3_119_1/nss/cmd/signver/signver.c:196:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:205:31: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:208:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: following ‘false’ branch (when ‘contentFile’ is NULL)...
nss-3_119_1/nss/cmd/signver/signver.c:221:9: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:221:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:227:17: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:227:17: throw: if ‘SEC_PKCS7DecodeItem’ throws an exception...
nss-3_119_1/nss/cmd/signver/signver.c:227:17: danger: ‘outFile’ leaks here; was allocated at [(7)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/6)
#  225|           PRBool contentIsSigned;
#  226|   
#  227|->         cinfo = SEC_PKCS7DecodeItem(&pkcs7der, NULL, NULL, NULL, NULL,
#  228|                                       NULL, NULL, NULL);
#  229|           if (cinfo == NULL) {

Error: GCC_ANALYZER_WARNING (CWE-775): [#def288]
nss-3_119_1/nss/cmd/signver/signver.c:230:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘outFile’
nss-3_119_1/nss/cmd/signver/signver.c:136:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:139:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:148:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:153:5: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:194:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:195:25: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:195:19: acquire_resource: opened here
nss-3_119_1/nss/cmd/signver/signver.c:196:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:205:31: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:208:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: following ‘false’ branch (when ‘contentFile’ is NULL)...
nss-3_119_1/nss/cmd/signver/signver.c:221:9: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:221:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:227:17: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:229:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:230:24: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:230:13: throw: if ‘PR_fprintf’ throws an exception...
nss-3_119_1/nss/cmd/signver/signver.c:230:13: danger: ‘outFile’ leaks here; was opened at [(7)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/6)
#  228|                                       NULL, NULL, NULL);
#  229|           if (cinfo == NULL) {
#  230|->             PR_fprintf(PR_STDERR, "Unable to decode PKCS7 data\n");
#  231|               goto cleanup;
#  232|           }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def289]
nss-3_119_1/nss/cmd/signver/signver.c:230:13: warning[-Wanalyzer-malloc-leak]: leak of ‘outFile’
nss-3_119_1/nss/cmd/signver/signver.c:136:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:139:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:148:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:153:5: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:194:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:195:25: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:195:19: acquire_memory: allocated here
nss-3_119_1/nss/cmd/signver/signver.c:196:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:205:31: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:208:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: following ‘false’ branch (when ‘contentFile’ is NULL)...
nss-3_119_1/nss/cmd/signver/signver.c:221:9: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:221:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:227:17: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:229:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:230:24: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:230:13: throw: if ‘PR_fprintf’ throws an exception...
nss-3_119_1/nss/cmd/signver/signver.c:230:13: danger: ‘outFile’ leaks here; was allocated at [(7)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/6)
#  228|                                       NULL, NULL, NULL);
#  229|           if (cinfo == NULL) {
#  230|->             PR_fprintf(PR_STDERR, "Unable to decode PKCS7 data\n");
#  231|               goto cleanup;
#  232|           }

Error: GCC_ANALYZER_WARNING (CWE-775): [#def290]
nss-3_119_1/nss/cmd/signver/signver.c:230:24: warning[-Wanalyzer-file-leak]: leak of FILE ‘outFile’
nss-3_119_1/nss/cmd/signver/signver.c:136:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:139:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:148:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:153:5: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:194:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:195:25: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:195:19: acquire_resource: opened here
nss-3_119_1/nss/cmd/signver/signver.c:196:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:205:31: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:208:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: following ‘false’ branch (when ‘contentFile’ is NULL)...
nss-3_119_1/nss/cmd/signver/signver.c:221:9: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:221:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:227:17: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:229:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:230:24: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:230:24: throw: if ‘PR_GetSpecialFD’ throws an exception...
nss-3_119_1/nss/cmd/signver/signver.c:230:24: danger: ‘outFile’ leaks here; was opened at [(7)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/6)
#  228|                                       NULL, NULL, NULL);
#  229|           if (cinfo == NULL) {
#  230|->             PR_fprintf(PR_STDERR, "Unable to decode PKCS7 data\n");
#  231|               goto cleanup;
#  232|           }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def291]
nss-3_119_1/nss/cmd/signver/signver.c:230:24: warning[-Wanalyzer-malloc-leak]: leak of ‘outFile’
nss-3_119_1/nss/cmd/signver/signver.c:136:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:139:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:148:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:153:5: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:194:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:195:25: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:195:19: acquire_memory: allocated here
nss-3_119_1/nss/cmd/signver/signver.c:196:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:205:31: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:208:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: following ‘false’ branch (when ‘contentFile’ is NULL)...
nss-3_119_1/nss/cmd/signver/signver.c:221:9: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:221:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:227:17: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:229:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:230:24: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:230:24: throw: if ‘PR_GetSpecialFD’ throws an exception...
nss-3_119_1/nss/cmd/signver/signver.c:230:24: danger: ‘outFile’ leaks here; was allocated at [(7)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/6)
#  228|                                       NULL, NULL, NULL);
#  229|           if (cinfo == NULL) {
#  230|->             PR_fprintf(PR_STDERR, "Unable to decode PKCS7 data\n");
#  231|               goto cleanup;
#  232|           }

Error: GCC_ANALYZER_WARNING (CWE-775): [#def292]
nss-3_119_1/nss/cmd/signver/signver.c:235:27: warning[-Wanalyzer-file-leak]: leak of FILE ‘outFile’
nss-3_119_1/nss/cmd/signver/signver.c:136:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:139:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:148:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:153:5: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:194:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:195:25: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:195:19: acquire_resource: opened here
nss-3_119_1/nss/cmd/signver/signver.c:196:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:205:31: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:208:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: following ‘false’ branch (when ‘contentFile’ is NULL)...
nss-3_119_1/nss/cmd/signver/signver.c:221:9: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:221:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:227:17: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:229:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:235:27: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:235:27: throw: if ‘SEC_PKCS7ContentIsSigned’ throws an exception...
nss-3_119_1/nss/cmd/signver/signver.c:235:27: danger: ‘outFile’ leaks here; was opened at [(7)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/6)
#  233|           /* below here, goto done */
#  234|   
#  235|->         contentIsSigned = SEC_PKCS7ContentIsSigned(cinfo);
#  236|           if (debugInfo) {
#  237|               PR_fprintf(PR_STDERR, "Content is%s encrypted.\n",

Error: GCC_ANALYZER_WARNING (CWE-401): [#def293]
nss-3_119_1/nss/cmd/signver/signver.c:235:27: warning[-Wanalyzer-malloc-leak]: leak of ‘outFile’
nss-3_119_1/nss/cmd/signver/signver.c:136:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:139:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:148:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:153:5: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:194:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:195:25: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:195:19: acquire_memory: allocated here
nss-3_119_1/nss/cmd/signver/signver.c:196:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:205:31: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:208:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: following ‘false’ branch (when ‘contentFile’ is NULL)...
nss-3_119_1/nss/cmd/signver/signver.c:221:9: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:221:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:227:17: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:229:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:235:27: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:235:27: throw: if ‘SEC_PKCS7ContentIsSigned’ throws an exception...
nss-3_119_1/nss/cmd/signver/signver.c:235:27: danger: ‘outFile’ leaks here; was allocated at [(7)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/6)
#  233|           /* below here, goto done */
#  234|   
#  235|->         contentIsSigned = SEC_PKCS7ContentIsSigned(cinfo);
#  236|           if (debugInfo) {
#  237|               PR_fprintf(PR_STDERR, "Content is%s encrypted.\n",

Error: GCC_ANALYZER_WARNING (CWE-775): [#def294]
nss-3_119_1/nss/cmd/signver/signver.c:237:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘outFile’
nss-3_119_1/nss/cmd/signver/signver.c:136:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:139:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:148:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:153:5: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:194:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:195:25: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:195:19: acquire_resource: opened here
nss-3_119_1/nss/cmd/signver/signver.c:196:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:205:31: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:208:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: following ‘false’ branch (when ‘contentFile’ is NULL)...
nss-3_119_1/nss/cmd/signver/signver.c:221:9: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:221:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:227:17: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:229:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:235:27: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:236:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:238:24: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:237:13: throw: if ‘PR_fprintf’ throws an exception...
nss-3_119_1/nss/cmd/signver/signver.c:237:13: danger: ‘outFile’ leaks here; was opened at [(7)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/6)
#  235|           contentIsSigned = SEC_PKCS7ContentIsSigned(cinfo);
#  236|           if (debugInfo) {
#  237|->             PR_fprintf(PR_STDERR, "Content is%s encrypted.\n",
#  238|                          SEC_PKCS7ContentIsEncrypted(cinfo) ? "" : " not");
#  239|           }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def295]
nss-3_119_1/nss/cmd/signver/signver.c:237:13: warning[-Wanalyzer-malloc-leak]: leak of ‘outFile’
nss-3_119_1/nss/cmd/signver/signver.c:136:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:139:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:148:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:153:5: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:194:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:195:25: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:195:19: acquire_memory: allocated here
nss-3_119_1/nss/cmd/signver/signver.c:196:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:205:31: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:208:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: following ‘false’ branch (when ‘contentFile’ is NULL)...
nss-3_119_1/nss/cmd/signver/signver.c:221:9: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:221:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:227:17: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:229:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:235:27: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:236:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:238:24: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:237:13: throw: if ‘PR_fprintf’ throws an exception...
nss-3_119_1/nss/cmd/signver/signver.c:237:13: danger: ‘outFile’ leaks here; was allocated at [(7)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/6)
#  235|           contentIsSigned = SEC_PKCS7ContentIsSigned(cinfo);
#  236|           if (debugInfo) {
#  237|->             PR_fprintf(PR_STDERR, "Content is%s encrypted.\n",
#  238|                          SEC_PKCS7ContentIsEncrypted(cinfo) ? "" : " not");
#  239|           }

Error: GCC_ANALYZER_WARNING (CWE-775): [#def296]
nss-3_119_1/nss/cmd/signver/signver.c:237:24: warning[-Wanalyzer-file-leak]: leak of FILE ‘outFile’
nss-3_119_1/nss/cmd/signver/signver.c:136:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:139:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:148:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:153:5: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:194:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:195:25: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:195:19: acquire_resource: opened here
nss-3_119_1/nss/cmd/signver/signver.c:196:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:205:31: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:208:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: following ‘false’ branch (when ‘contentFile’ is NULL)...
nss-3_119_1/nss/cmd/signver/signver.c:221:9: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:221:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:227:17: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:229:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:235:27: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:236:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:238:24: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:237:24: throw: if ‘PR_GetSpecialFD’ throws an exception...
nss-3_119_1/nss/cmd/signver/signver.c:237:24: danger: ‘outFile’ leaks here; was opened at [(7)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/6)
#  235|           contentIsSigned = SEC_PKCS7ContentIsSigned(cinfo);
#  236|           if (debugInfo) {
#  237|->             PR_fprintf(PR_STDERR, "Content is%s encrypted.\n",
#  238|                          SEC_PKCS7ContentIsEncrypted(cinfo) ? "" : " not");
#  239|           }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def297]
nss-3_119_1/nss/cmd/signver/signver.c:237:24: warning[-Wanalyzer-malloc-leak]: leak of ‘outFile’
nss-3_119_1/nss/cmd/signver/signver.c:136:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:139:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:148:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:153:5: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:194:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:195:25: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:195:19: acquire_memory: allocated here
nss-3_119_1/nss/cmd/signver/signver.c:196:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:205:31: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:208:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: following ‘false’ branch (when ‘contentFile’ is NULL)...
nss-3_119_1/nss/cmd/signver/signver.c:221:9: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:221:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:227:17: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:229:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:235:27: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:236:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:238:24: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:237:24: throw: if ‘PR_GetSpecialFD’ throws an exception...
nss-3_119_1/nss/cmd/signver/signver.c:237:24: danger: ‘outFile’ leaks here; was allocated at [(7)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/6)
#  235|           contentIsSigned = SEC_PKCS7ContentIsSigned(cinfo);
#  236|           if (debugInfo) {
#  237|->             PR_fprintf(PR_STDERR, "Content is%s encrypted.\n",
#  238|                          SEC_PKCS7ContentIsEncrypted(cinfo) ? "" : " not");
#  239|           }

Error: GCC_ANALYZER_WARNING (CWE-775): [#def298]
nss-3_119_1/nss/cmd/signver/signver.c:238:24: warning[-Wanalyzer-file-leak]: leak of FILE ‘outFile’
nss-3_119_1/nss/cmd/signver/signver.c:136:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:139:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:148:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:153:5: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:194:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:195:25: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:195:19: acquire_resource: opened here
nss-3_119_1/nss/cmd/signver/signver.c:196:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:205:31: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:208:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: following ‘false’ branch (when ‘contentFile’ is NULL)...
nss-3_119_1/nss/cmd/signver/signver.c:221:9: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:221:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:227:17: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:229:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:235:27: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:236:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:238:24: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:238:24: throw: if ‘SEC_PKCS7ContentIsEncrypted’ throws an exception...
nss-3_119_1/nss/cmd/signver/signver.c:238:24: danger: ‘outFile’ leaks here; was opened at [(7)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/6)
#  236|           if (debugInfo) {
#  237|               PR_fprintf(PR_STDERR, "Content is%s encrypted.\n",
#  238|->                        SEC_PKCS7ContentIsEncrypted(cinfo) ? "" : " not");
#  239|           }
#  240|           if (debugInfo || !contentIsSigned) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def299]
nss-3_119_1/nss/cmd/signver/signver.c:238:24: warning[-Wanalyzer-malloc-leak]: leak of ‘outFile’
nss-3_119_1/nss/cmd/signver/signver.c:136:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:139:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:148:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:153:5: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:194:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:195:25: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:195:19: acquire_memory: allocated here
nss-3_119_1/nss/cmd/signver/signver.c:196:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:205:31: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:208:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: following ‘false’ branch (when ‘contentFile’ is NULL)...
nss-3_119_1/nss/cmd/signver/signver.c:221:9: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:221:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:227:17: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:229:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:235:27: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:236:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:238:24: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:238:24: throw: if ‘SEC_PKCS7ContentIsEncrypted’ throws an exception...
nss-3_119_1/nss/cmd/signver/signver.c:238:24: danger: ‘outFile’ leaks here; was allocated at [(7)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/6)
#  236|           if (debugInfo) {
#  237|               PR_fprintf(PR_STDERR, "Content is%s encrypted.\n",
#  238|->                        SEC_PKCS7ContentIsEncrypted(cinfo) ? "" : " not");
#  239|           }
#  240|           if (debugInfo || !contentIsSigned) {

Error: GCC_ANALYZER_WARNING (CWE-775): [#def300]
nss-3_119_1/nss/cmd/signver/signver.c:241:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘outFile’
nss-3_119_1/nss/cmd/signver/signver.c:136:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:139:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:148:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:153:5: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:194:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:195:25: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:195:19: acquire_resource: opened here
nss-3_119_1/nss/cmd/signver/signver.c:196:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:205:31: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:208:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: following ‘false’ branch (when ‘contentFile’ is NULL)...
nss-3_119_1/nss/cmd/signver/signver.c:221:9: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:221:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:227:17: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:229:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:235:27: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:240:13: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:240:13: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:241:13: throw: if ‘PR_fprintf’ throws an exception...
nss-3_119_1/nss/cmd/signver/signver.c:241:13: danger: ‘outFile’ leaks here; was opened at [(7)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/6)
#  239|           }
#  240|           if (debugInfo || !contentIsSigned) {
#  241|->             PR_fprintf(PR_STDERR, "Content is%s signed.\n",
#  242|                          contentIsSigned ? "" : " not");
#  243|           }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def301]
nss-3_119_1/nss/cmd/signver/signver.c:241:13: warning[-Wanalyzer-malloc-leak]: leak of ‘outFile’
nss-3_119_1/nss/cmd/signver/signver.c:136:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:139:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:148:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:153:5: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:194:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:195:25: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:195:19: acquire_memory: allocated here
nss-3_119_1/nss/cmd/signver/signver.c:196:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:205:31: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:208:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: following ‘false’ branch (when ‘contentFile’ is NULL)...
nss-3_119_1/nss/cmd/signver/signver.c:221:9: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:221:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:227:17: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:229:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:235:27: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:240:13: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:240:13: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:241:13: throw: if ‘PR_fprintf’ throws an exception...
nss-3_119_1/nss/cmd/signver/signver.c:241:13: danger: ‘outFile’ leaks here; was allocated at [(7)](sarif:/runs/0/results/33/codeFlows/0/threadFlows/0/locations/6)
#  239|           }
#  240|           if (debugInfo || !contentIsSigned) {
#  241|->             PR_fprintf(PR_STDERR, "Content is%s signed.\n",
#  242|                          contentIsSigned ? "" : " not");
#  243|           }

Error: GCC_ANALYZER_WARNING (CWE-775): [#def302]
nss-3_119_1/nss/cmd/signver/signver.c:241:24: warning[-Wanalyzer-file-leak]: leak of FILE ‘outFile’
nss-3_119_1/nss/cmd/signver/signver.c:136:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:139:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:148:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:153:5: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:194:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:195:25: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:195:19: acquire_resource: opened here
nss-3_119_1/nss/cmd/signver/signver.c:196:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:205:31: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:208:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: following ‘false’ branch (when ‘contentFile’ is NULL)...
nss-3_119_1/nss/cmd/signver/signver.c:221:9: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:221:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:227:17: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:229:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:235:27: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:240:13: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:240:13: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:241:24: throw: if ‘PR_GetSpecialFD’ throws an exception...
nss-3_119_1/nss/cmd/signver/signver.c:241:24: danger: ‘outFile’ leaks here; was opened at [(7)](sarif:/runs/0/results/34/codeFlows/0/threadFlows/0/locations/6)
#  239|           }
#  240|           if (debugInfo || !contentIsSigned) {
#  241|->             PR_fprintf(PR_STDERR, "Content is%s signed.\n",
#  242|                          contentIsSigned ? "" : " not");
#  243|           }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def303]
nss-3_119_1/nss/cmd/signver/signver.c:241:24: warning[-Wanalyzer-malloc-leak]: leak of ‘outFile’
nss-3_119_1/nss/cmd/signver/signver.c:136:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:139:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:148:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:153:5: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:194:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:195:25: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:195:19: acquire_memory: allocated here
nss-3_119_1/nss/cmd/signver/signver.c:196:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:205:31: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:208:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: following ‘false’ branch (when ‘contentFile’ is NULL)...
nss-3_119_1/nss/cmd/signver/signver.c:221:9: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:221:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:227:17: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:229:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:235:27: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:240:13: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:240:13: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:241:24: throw: if ‘PR_GetSpecialFD’ throws an exception...
nss-3_119_1/nss/cmd/signver/signver.c:241:24: danger: ‘outFile’ leaks here; was allocated at [(7)](sarif:/runs/0/results/35/codeFlows/0/threadFlows/0/locations/6)
#  239|           }
#  240|           if (debugInfo || !contentIsSigned) {
#  241|->             PR_fprintf(PR_STDERR, "Content is%s signed.\n",
#  242|                          contentIsSigned ? "" : " not");
#  243|           }

Error: GCC_ANALYZER_WARNING (CWE-775): [#def304]
nss-3_119_1/nss/cmd/signver/signver.c:296:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘outFile’
nss-3_119_1/nss/cmd/signver/signver.c:136:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:139:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:148:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:153:5: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:194:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:195:25: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:195:19: acquire_resource: opened here
nss-3_119_1/nss/cmd/signver/signver.c:196:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:205:31: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:208:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: following ‘false’ branch (when ‘contentFile’ is NULL)...
nss-3_119_1/nss/cmd/signver/signver.c:221:9: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:221:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:227:17: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:229:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:235:27: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:240:13: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:240:13: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:245:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:246:13: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:296:9: throw: if ‘SEC_PKCS7DestroyContentInfo’ throws an exception...
nss-3_119_1/nss/cmd/signver/signver.c:296:9: danger: ‘outFile’ leaks here; was opened at [(7)](sarif:/runs/0/results/36/codeFlows/0/threadFlows/0/locations/6)
#  294|           }
#  295|       done:
#  296|->         SEC_PKCS7DestroyContentInfo(cinfo);
#  297|       }
#  298|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def305]
nss-3_119_1/nss/cmd/signver/signver.c:296:9: warning[-Wanalyzer-malloc-leak]: leak of ‘outFile’
nss-3_119_1/nss/cmd/signver/signver.c:136:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:139:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:148:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:153:5: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:194:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:195:25: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:195:19: acquire_memory: allocated here
nss-3_119_1/nss/cmd/signver/signver.c:196:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:205:31: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:208:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: following ‘false’ branch (when ‘contentFile’ is NULL)...
nss-3_119_1/nss/cmd/signver/signver.c:221:9: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:221:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:227:17: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:229:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:235:27: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:240:13: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:240:13: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:245:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:246:13: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:296:9: throw: if ‘SEC_PKCS7DestroyContentInfo’ throws an exception...
nss-3_119_1/nss/cmd/signver/signver.c:296:9: danger: ‘outFile’ leaks here; was allocated at [(7)](sarif:/runs/0/results/37/codeFlows/0/threadFlows/0/locations/6)
#  294|           }
#  295|       done:
#  296|->         SEC_PKCS7DestroyContentInfo(cinfo);
#  297|       }
#  298|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def306]
nss-3_119_1/nss/cmd/signver/signver.c:300:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘outFile’
nss-3_119_1/nss/cmd/signver/signver.c:136:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:139:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:148:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:153:5: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:194:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:195:25: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:195:19: acquire_resource: opened here
nss-3_119_1/nss/cmd/signver/signver.c:196:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:205:31: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:208:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: following ‘false’ branch (when ‘contentFile’ is NULL)...
nss-3_119_1/nss/cmd/signver/signver.c:221:9: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:299:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:300:13: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:300:13: throw: if ‘SV_PrintPKCS7ContentInfo’ throws an exception...
nss-3_119_1/nss/cmd/signver/signver.c:300:13: danger: ‘outFile’ leaks here; was opened at [(7)](sarif:/runs/0/results/38/codeFlows/0/threadFlows/0/locations/6)
#  298|   
#  299|       if (displayAll) {
#  300|->         if (SV_PrintPKCS7ContentInfo(outFile, &pkcs7der))
#  301|               result = 1;
#  302|       }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def307]
nss-3_119_1/nss/cmd/signver/signver.c:300:13: warning[-Wanalyzer-malloc-leak]: leak of ‘outFile’
nss-3_119_1/nss/cmd/signver/signver.c:136:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:139:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:148:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:153:5: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:194:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:195:25: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:195:19: acquire_memory: allocated here
nss-3_119_1/nss/cmd/signver/signver.c:196:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:205:31: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:208:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:212:8: branch_false: following ‘false’ branch (when ‘contentFile’ is NULL)...
nss-3_119_1/nss/cmd/signver/signver.c:221:9: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:299:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:300:13: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:300:13: throw: if ‘SV_PrintPKCS7ContentInfo’ throws an exception...
nss-3_119_1/nss/cmd/signver/signver.c:300:13: danger: ‘outFile’ leaks here; was allocated at [(7)](sarif:/runs/0/results/39/codeFlows/0/threadFlows/0/locations/6)
#  298|   
#  299|       if (displayAll) {
#  300|->         if (SV_PrintPKCS7ContentInfo(outFile, &pkcs7der))
#  301|               result = 1;
#  302|       }

Error: GCC_ANALYZER_WARNING (CWE-775): [#def308]
nss-3_119_1/nss/cmd/signver/signver.c:306:5: warning[-Wanalyzer-file-leak]: leak of FILE ‘outFile’
nss-3_119_1/nss/cmd/signver/signver.c:136:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:139:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:148:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:153:5: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:194:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:195:25: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:195:19: acquire_resource: opened here
nss-3_119_1/nss/cmd/signver/signver.c:196:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:205:31: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:306:5: throw: if ‘SECITEM_FreeItem_Util’ throws an exception...
nss-3_119_1/nss/cmd/signver/signver.c:306:5: danger: ‘outFile’ leaks here; was opened at [(7)](sarif:/runs/0/results/40/codeFlows/0/threadFlows/0/locations/6)
#  304|   cleanup:
#  305|       SECITEM_FreeItem(&pkcs7der, PR_FALSE);
#  306|->     SECITEM_FreeItem(&content, PR_FALSE);
#  307|   
#  308|       if (NSS_Shutdown() != SECSuccess) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def309]
nss-3_119_1/nss/cmd/signver/signver.c:306:5: warning[-Wanalyzer-malloc-leak]: leak of ‘outFile’
nss-3_119_1/nss/cmd/signver/signver.c:136:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:139:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:148:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:153:5: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:194:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:195:25: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:195:19: acquire_memory: allocated here
nss-3_119_1/nss/cmd/signver/signver.c:196:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:205:31: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:306:5: throw: if ‘SECITEM_FreeItem_Util’ throws an exception...
nss-3_119_1/nss/cmd/signver/signver.c:306:5: danger: ‘outFile’ leaks here; was allocated at [(7)](sarif:/runs/0/results/41/codeFlows/0/threadFlows/0/locations/6)
#  304|   cleanup:
#  305|       SECITEM_FreeItem(&pkcs7der, PR_FALSE);
#  306|->     SECITEM_FreeItem(&content, PR_FALSE);
#  307|   
#  308|       if (NSS_Shutdown() != SECSuccess) {

Error: GCC_ANALYZER_WARNING (CWE-775): [#def310]
nss-3_119_1/nss/cmd/signver/signver.c:308:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘outFile’
nss-3_119_1/nss/cmd/signver/signver.c:136:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:139:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:148:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:153:5: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:194:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:195:25: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:195:19: acquire_resource: opened here
nss-3_119_1/nss/cmd/signver/signver.c:196:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:205:31: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:308:9: throw: if ‘NSS_Shutdown’ throws an exception...
nss-3_119_1/nss/cmd/signver/signver.c:308:9: danger: ‘outFile’ leaks here; was opened at [(7)](sarif:/runs/0/results/42/codeFlows/0/threadFlows/0/locations/6)
#  306|       SECITEM_FreeItem(&content, PR_FALSE);
#  307|   
#  308|->     if (NSS_Shutdown() != SECSuccess) {
#  309|           result = 1;
#  310|       }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def311]
nss-3_119_1/nss/cmd/signver/signver.c:308:9: warning[-Wanalyzer-malloc-leak]: leak of ‘outFile’
nss-3_119_1/nss/cmd/signver/signver.c:136:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:139:17: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:148:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:153:5: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:194:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:195:25: branch_true: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:195:19: acquire_memory: allocated here
nss-3_119_1/nss/cmd/signver/signver.c:196:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/signver/signver.c:205:31: branch_false: ...to here
nss-3_119_1/nss/cmd/signver/signver.c:308:9: throw: if ‘NSS_Shutdown’ throws an exception...
nss-3_119_1/nss/cmd/signver/signver.c:308:9: danger: ‘outFile’ leaks here; was allocated at [(7)](sarif:/runs/0/results/43/codeFlows/0/threadFlows/0/locations/6)
#  306|       SECITEM_FreeItem(&content, PR_FALSE);
#  307|   
#  308|->     if (NSS_Shutdown() != SECSuccess) {
#  309|           result = 1;
#  310|       }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def312]
nss-3_119_1/nss/cmd/smimetools/cmsutil.c:1385:17: warning[-Wanalyzer-malloc-leak]: leak of ‘options.password’
nss-3_119_1/nss/cmd/smimetools/cmsutil.c:1176:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/smimetools/cmsutil.c:1177:17: branch_true: ...to here
nss-3_119_1/nss/cmd/smimetools/cmsutil.c:1379:20: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/smimetools/cmsutil.c:1385:36: branch_false: ...to here
nss-3_119_1/nss/cmd/smimetools/cmsutil.c:1385:36: acquire_memory: allocated here
nss-3_119_1/nss/cmd/smimetools/cmsutil.c:1176:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/smimetools/cmsutil.c:1177:17: branch_true: ...to here
nss-3_119_1/nss/cmd/smimetools/cmsutil.c:1379:20: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/smimetools/cmsutil.c:1385:36: branch_false: ...to here
nss-3_119_1/nss/cmd/smimetools/cmsutil.c:1385:17: danger: ‘options.password’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
# 1383|                   }
# 1384|   
# 1385|->                 options.password = strdup(optstate->value);
# 1386|                   break;
# 1387|   

Error: CPPCHECK_WARNING (CWE-401): [#def313]
nss-3_119_1/nss/cmd/smimetools/cmsutil.c:1424: error[memleak]: Memory leak: options.password
# 1422|                   usageType = atoi(strdup(optstate->value));
# 1423|                   if (usageType < certUsageSSLClient || usageType > certUsageAnyCA)
# 1424|->                     return -1;
# 1425|                   options.certUsage = (SECCertUsage)usageType;
# 1426|                   break;

Error: CPPCHECK_WARNING (CWE-401): [#def314]
nss-3_119_1/nss/cmd/smimetools/cmsutil.c:1424: error[memleak]: Memory leak: options.pwfile
# 1422|                   usageType = atoi(strdup(optstate->value));
# 1423|                   if (usageType < certUsageSSLClient || usageType > certUsageAnyCA)
# 1424|->                     return -1;
# 1425|                   options.certUsage = (SECCertUsage)usageType;
# 1426|                   break;

Error: CPPCHECK_WARNING (CWE-401): [#def315]
nss-3_119_1/nss/cmd/smimetools/cmsutil.c:1424: error[memleak]: Memory leak: signOptions.encryptionKeyPreferenceNick
# 1422|                   usageType = atoi(strdup(optstate->value));
# 1423|                   if (usageType < certUsageSSLClient || usageType > certUsageAnyCA)
# 1424|->                     return -1;
# 1425|                   options.certUsage = (SECCertUsage)usageType;
# 1426|                   break;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def316]
nss-3_119_1/nss/cmd/smimetools/cmsutil.c:1435:5: warning[-Wanalyzer-malloc-leak]: leak of ‘options.password’
nss-3_119_1/nss/cmd/smimetools/cmsutil.c:1176:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/smimetools/cmsutil.c:1177:17: branch_true: ...to here
nss-3_119_1/nss/cmd/smimetools/cmsutil.c:1379:20: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/smimetools/cmsutil.c:1385:36: branch_false: ...to here
nss-3_119_1/nss/cmd/smimetools/cmsutil.c:1385:36: acquire_memory: allocated here
nss-3_119_1/nss/cmd/smimetools/cmsutil.c:1176:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/smimetools/cmsutil.c:1433:8: branch_false: ...to here
nss-3_119_1/nss/cmd/smimetools/cmsutil.c:1433:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/smimetools/cmsutil.c:1435:5: branch_false: ...to here
nss-3_119_1/nss/cmd/smimetools/cmsutil.c:1435:5: throw: if ‘PL_DestroyOptState’ throws an exception...
nss-3_119_1/nss/cmd/smimetools/cmsutil.c:1435:5: danger: ‘options.password’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
# 1433|       if (status == PL_OPT_BAD)
# 1434|           Usage();
# 1435|->     PL_DestroyOptState(optstate);
# 1436|   
# 1437|       if (mode == UNKNOWN)

Error: CPPCHECK_WARNING (CWE-682): [#def317]
nss-3_119_1/nss/cmd/strsclnt/strsclnt.c:857: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
#  855|           SSL_SetSockPeerID(ssl_sock, sockPeerIDString);
#  856|           SSL_HandshakeCallback(ssl_sock, myHandshakeCallback,
#  857|->                               (char *)NULL + thisPeerID);
#  858|   #else
#  859|               /* force a full handshake by setting the no cache option */

Error: GCC_ANALYZER_WARNING (CWE-401): [#def318]
nss-3_119_1/nss/cmd/tests/remtest.c:60:25: warning[-Wanalyzer-malloc-leak]: leak of ‘certDir’
nss-3_119_1/nss/cmd/tests/remtest.c:60:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/tests/remtest.c:61:17: branch_true: ...to here
nss-3_119_1/nss/cmd/tests/remtest.c:64:27: acquire_memory: allocated here
nss-3_119_1/nss/cmd/tests/remtest.c:60:25: throw: if ‘PL_GetNextOpt’ throws an exception...
nss-3_119_1/nss/cmd/tests/remtest.c:60:25: danger: ‘certDir’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
#   58|   
#   59|       optstate = PL_CreateOptState(argc, argv, "rd:t:");
#   60|->     while ((optstatus = PL_GetNextOpt(optstate)) == PL_OPT_OK) {
#   61|           switch (optstate->option) {
#   62|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def319]
nss-3_119_1/nss/cmd/tests/remtest.c:64:27: warning[-Wanalyzer-malloc-leak]: leak of ‘certDir’
nss-3_119_1/nss/cmd/tests/remtest.c:60:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/tests/remtest.c:61:17: branch_true: ...to here
nss-3_119_1/nss/cmd/tests/remtest.c:64:27: acquire_memory: allocated here
nss-3_119_1/nss/cmd/tests/remtest.c:60:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/tests/remtest.c:61:17: branch_true: ...to here
nss-3_119_1/nss/cmd/tests/remtest.c:64:27: danger: ‘certDir’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
#   62|   
#   63|               case 'd':
#   64|->                 certDir = strdup(optstate->value);
#   65|                   certDir = SECU_ConfigDirectory(certDir);
#   66|                   break;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def320]
nss-3_119_1/nss/cmd/tests/remtest.c:65:27: warning[-Wanalyzer-malloc-leak]: leak of ‘certDir’
nss-3_119_1/nss/cmd/tests/remtest.c:60:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/tests/remtest.c:61:17: branch_true: ...to here
nss-3_119_1/nss/cmd/tests/remtest.c:64:27: acquire_memory: allocated here
nss-3_119_1/nss/cmd/tests/remtest.c:65:27: throw: if ‘SECU_ConfigDirectory’ throws an exception...
nss-3_119_1/nss/cmd/tests/remtest.c:65:27: danger: ‘certDir’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
#   63|               case 'd':
#   64|                   certDir = strdup(optstate->value);
#   65|->                 certDir = SECU_ConfigDirectory(certDir);
#   66|                   break;
#   67|               case 't':

Error: GCC_ANALYZER_WARNING (CWE-401): [#def321]
nss-3_119_1/nss/cmd/tests/remtest.c:83:19: warning[-Wanalyzer-malloc-leak]: leak of ‘tokenName’
nss-3_119_1/nss/cmd/tests/remtest.c:60:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/tests/remtest.c:61:17: branch_true: ...to here
nss-3_119_1/nss/cmd/tests/remtest.c:68:29: acquire_memory: allocated here
nss-3_119_1/nss/cmd/tests/remtest.c:60:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/tests/remtest.c:75:8: branch_false: ...to here
nss-3_119_1/nss/cmd/tests/remtest.c:75:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/tests/remtest.c:78:8: branch_false: ...to here
nss-3_119_1/nss/cmd/tests/remtest.c:78:8: branch_false: following ‘false’ branch (when ‘tokenName’ is non-NULL)...
nss-3_119_1/nss/cmd/tests/remtest.c:82:8: branch_false: ...to here
nss-3_119_1/nss/cmd/tests/remtest.c:82:8: branch_true: following ‘true’ branch (when ‘certDir’ is NULL)...
nss-3_119_1/nss/cmd/tests/remtest.c:83:19: branch_true: ...to here
nss-3_119_1/nss/cmd/tests/remtest.c:83:19: throw: if ‘SECU_DefaultSSLDir’ throws an exception...
nss-3_119_1/nss/cmd/tests/remtest.c:83:19: danger: ‘tokenName’ leaks here; was allocated at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
#   81|   
#   82|       if (!certDir) {
#   83|->         certDir = SECU_DefaultSSLDir();          /* Look in $SSL_DIR */
#   84|           certDir = SECU_ConfigDirectory(certDir); /* call even if it's NULL */
#   85|       }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def322]
nss-3_119_1/nss/cmd/tests/remtest.c:84:19: warning[-Wanalyzer-malloc-leak]: leak of ‘tokenName’
nss-3_119_1/nss/cmd/tests/remtest.c:60:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/tests/remtest.c:61:17: branch_true: ...to here
nss-3_119_1/nss/cmd/tests/remtest.c:68:29: acquire_memory: allocated here
nss-3_119_1/nss/cmd/tests/remtest.c:60:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/tests/remtest.c:75:8: branch_false: ...to here
nss-3_119_1/nss/cmd/tests/remtest.c:75:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/tests/remtest.c:78:8: branch_false: ...to here
nss-3_119_1/nss/cmd/tests/remtest.c:78:8: branch_false: following ‘false’ branch (when ‘tokenName’ is non-NULL)...
nss-3_119_1/nss/cmd/tests/remtest.c:82:8: branch_false: ...to here
nss-3_119_1/nss/cmd/tests/remtest.c:82:8: branch_true: following ‘true’ branch (when ‘certDir’ is NULL)...
nss-3_119_1/nss/cmd/tests/remtest.c:83:19: branch_true: ...to here
nss-3_119_1/nss/cmd/tests/remtest.c:84:19: throw: if ‘SECU_ConfigDirectory’ throws an exception...
nss-3_119_1/nss/cmd/tests/remtest.c:84:19: danger: ‘tokenName’ leaks here; was allocated at [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
#   82|       if (!certDir) {
#   83|           certDir = SECU_DefaultSSLDir();          /* Look in $SSL_DIR */
#   84|->         certDir = SECU_ConfigDirectory(certDir); /* call even if it's NULL */
#   85|       }
#   86|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def323]
nss-3_119_1/nss/cmd/tests/remtest.c:87:5: warning[-Wanalyzer-malloc-leak]: leak of ‘tokenName’
nss-3_119_1/nss/cmd/tests/remtest.c:60:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/tests/remtest.c:61:17: branch_true: ...to here
nss-3_119_1/nss/cmd/tests/remtest.c:68:29: acquire_memory: allocated here
nss-3_119_1/nss/cmd/tests/remtest.c:60:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/tests/remtest.c:75:8: branch_false: ...to here
nss-3_119_1/nss/cmd/tests/remtest.c:75:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/tests/remtest.c:78:8: branch_false: ...to here
nss-3_119_1/nss/cmd/tests/remtest.c:78:8: branch_false: following ‘false’ branch (when ‘tokenName’ is non-NULL)...
nss-3_119_1/nss/cmd/tests/remtest.c:82:8: branch_false: ...to here
nss-3_119_1/nss/cmd/tests/remtest.c:82:8: branch_true: following ‘true’ branch (when ‘certDir’ is NULL)...
nss-3_119_1/nss/cmd/tests/remtest.c:83:19: branch_true: ...to here
nss-3_119_1/nss/cmd/tests/remtest.c:87:5: throw: if ‘PR_Init’ throws an exception...
nss-3_119_1/nss/cmd/tests/remtest.c:87:5: danger: ‘tokenName’ leaks here; was allocated at [(3)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/2)
#   85|       }
#   86|   
#   87|->     PR_Init(PR_SYSTEM_THREAD, PR_PRIORITY_NORMAL, 1);
#   88|   
#   89|       PK11_SetPasswordFunc(SECU_GetModulePassword);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def324]
nss-3_119_1/nss/cmd/tests/remtest.c:89:5: warning[-Wanalyzer-malloc-leak]: leak of ‘tokenName’
nss-3_119_1/nss/cmd/tests/remtest.c:60:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/tests/remtest.c:61:17: branch_true: ...to here
nss-3_119_1/nss/cmd/tests/remtest.c:68:29: acquire_memory: allocated here
nss-3_119_1/nss/cmd/tests/remtest.c:60:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/tests/remtest.c:75:8: branch_false: ...to here
nss-3_119_1/nss/cmd/tests/remtest.c:75:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/tests/remtest.c:78:8: branch_false: ...to here
nss-3_119_1/nss/cmd/tests/remtest.c:78:8: branch_false: following ‘false’ branch (when ‘tokenName’ is non-NULL)...
nss-3_119_1/nss/cmd/tests/remtest.c:82:8: branch_false: ...to here
nss-3_119_1/nss/cmd/tests/remtest.c:82:8: branch_true: following ‘true’ branch (when ‘certDir’ is NULL)...
nss-3_119_1/nss/cmd/tests/remtest.c:83:19: branch_true: ...to here
nss-3_119_1/nss/cmd/tests/remtest.c:89:5: throw: if ‘PK11_SetPasswordFunc’ throws an exception...
nss-3_119_1/nss/cmd/tests/remtest.c:89:5: danger: ‘tokenName’ leaks here; was allocated at [(3)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/2)
#   87|       PR_Init(PR_SYSTEM_THREAD, PR_PRIORITY_NORMAL, 1);
#   88|   
#   89|->     PK11_SetPasswordFunc(SECU_GetModulePassword);
#   90|   
#   91|       /* open the cert DB, the key DB, and the secmod DB. */

Error: GCC_ANALYZER_WARNING (CWE-401): [#def325]
nss-3_119_1/nss/cmd/tests/remtest.c:92:10: warning[-Wanalyzer-malloc-leak]: leak of ‘tokenName’
nss-3_119_1/nss/cmd/tests/remtest.c:60:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/tests/remtest.c:61:17: branch_true: ...to here
nss-3_119_1/nss/cmd/tests/remtest.c:68:29: acquire_memory: allocated here
nss-3_119_1/nss/cmd/tests/remtest.c:60:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/tests/remtest.c:75:8: branch_false: ...to here
nss-3_119_1/nss/cmd/tests/remtest.c:75:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/tests/remtest.c:78:8: branch_false: ...to here
nss-3_119_1/nss/cmd/tests/remtest.c:78:8: branch_false: following ‘false’ branch (when ‘tokenName’ is non-NULL)...
nss-3_119_1/nss/cmd/tests/remtest.c:82:8: branch_false: ...to here
nss-3_119_1/nss/cmd/tests/remtest.c:82:8: branch_true: following ‘true’ branch (when ‘certDir’ is NULL)...
nss-3_119_1/nss/cmd/tests/remtest.c:83:19: branch_true: ...to here
nss-3_119_1/nss/cmd/tests/remtest.c:92:10: throw: if ‘NSS_Init’ throws an exception...
nss-3_119_1/nss/cmd/tests/remtest.c:92:10: danger: ‘tokenName’ leaks here; was allocated at [(3)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/2)
#   90|   
#   91|       /* open the cert DB, the key DB, and the secmod DB. */
#   92|->     rv = NSS_Init(certDir);
#   93|       if (rv != SECSuccess) {
#   94|           SECU_PrintError(progName, "unable to open cert database");

Error: GCC_ANALYZER_WARNING (CWE-401): [#def326]
nss-3_119_1/nss/cmd/tests/remtest.c:99:12: warning[-Wanalyzer-malloc-leak]: leak of ‘tokenName’
nss-3_119_1/nss/cmd/tests/remtest.c:60:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/tests/remtest.c:61:17: branch_true: ...to here
nss-3_119_1/nss/cmd/tests/remtest.c:68:29: acquire_memory: allocated here
nss-3_119_1/nss/cmd/tests/remtest.c:60:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/tests/remtest.c:75:8: branch_false: ...to here
nss-3_119_1/nss/cmd/tests/remtest.c:75:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/tests/remtest.c:78:8: branch_false: ...to here
nss-3_119_1/nss/cmd/tests/remtest.c:78:8: branch_false: following ‘false’ branch (when ‘tokenName’ is non-NULL)...
nss-3_119_1/nss/cmd/tests/remtest.c:82:8: branch_false: ...to here
nss-3_119_1/nss/cmd/tests/remtest.c:82:8: branch_true: following ‘true’ branch (when ‘certDir’ is NULL)...
nss-3_119_1/nss/cmd/tests/remtest.c:83:19: branch_true: ...to here
nss-3_119_1/nss/cmd/tests/remtest.c:93:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/tests/remtest.c:98:5: branch_false: ...to here
nss-3_119_1/nss/cmd/tests/remtest.c:99:12: throw: if ‘PK11_FindSlotByName’ throws an exception...
nss-3_119_1/nss/cmd/tests/remtest.c:99:12: danger: ‘tokenName’ leaks here; was allocated at [(3)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/2)
#   97|   
#   98|       printf("Looking up tokenNamed: <%s>\n", tokenName);
#   99|->     slot = PK11_FindSlotByName(tokenName);
#  100|       if (slot == NULL) {
#  101|           SECU_PrintError(progName, "unable to find token");

Error: GCC_ANALYZER_WARNING (CWE-401): [#def327]
nss-3_119_1/nss/cmd/tests/remtest.c:107:13: warning[-Wanalyzer-malloc-leak]: leak of ‘tokenName’
nss-3_119_1/nss/cmd/tests/remtest.c:60:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/tests/remtest.c:61:17: branch_true: ...to here
nss-3_119_1/nss/cmd/tests/remtest.c:68:29: acquire_memory: allocated here
nss-3_119_1/nss/cmd/tests/remtest.c:60:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/tests/remtest.c:75:8: branch_false: ...to here
nss-3_119_1/nss/cmd/tests/remtest.c:75:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/tests/remtest.c:78:8: branch_false: ...to here
nss-3_119_1/nss/cmd/tests/remtest.c:78:8: branch_false: following ‘false’ branch (when ‘tokenName’ is non-NULL)...
nss-3_119_1/nss/cmd/tests/remtest.c:82:8: branch_false: ...to here
nss-3_119_1/nss/cmd/tests/remtest.c:82:8: branch_true: following ‘true’ branch (when ‘certDir’ is NULL)...
nss-3_119_1/nss/cmd/tests/remtest.c:83:19: branch_true: ...to here
nss-3_119_1/nss/cmd/tests/remtest.c:93:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/tests/remtest.c:98:5: branch_false: ...to here
nss-3_119_1/nss/cmd/tests/remtest.c:100:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/tests/remtest.c:100:8: branch_false: ...to here
nss-3_119_1/nss/cmd/tests/remtest.c:107:13: throw: if ‘PK11_WaitForTokenEvent’ throws an exception...
nss-3_119_1/nss/cmd/tests/remtest.c:107:13: danger: ‘tokenName’ leaks here; was allocated at [(3)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/2)
#  105|       do {
#  106|           status =
#  107|->             PK11_WaitForTokenEvent(slot, event, PR_INTERVAL_NO_TIMEOUT, 0, 0);
#  108|   
#  109|           switch (status) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def328]
nss-3_119_1/nss/cmd/tests/remtest.c:129:5: warning[-Wanalyzer-malloc-leak]: leak of ‘tokenName’
nss-3_119_1/nss/cmd/tests/remtest.c:60:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/tests/remtest.c:61:17: branch_true: ...to here
nss-3_119_1/nss/cmd/tests/remtest.c:68:29: acquire_memory: allocated here
nss-3_119_1/nss/cmd/tests/remtest.c:60:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/tests/remtest.c:75:8: branch_false: ...to here
nss-3_119_1/nss/cmd/tests/remtest.c:75:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/tests/remtest.c:78:8: branch_false: ...to here
nss-3_119_1/nss/cmd/tests/remtest.c:78:8: branch_false: following ‘false’ branch (when ‘tokenName’ is non-NULL)...
nss-3_119_1/nss/cmd/tests/remtest.c:82:8: branch_false: ...to here
nss-3_119_1/nss/cmd/tests/remtest.c:82:8: branch_true: following ‘true’ branch (when ‘certDir’ is NULL)...
nss-3_119_1/nss/cmd/tests/remtest.c:83:19: branch_true: ...to here
nss-3_119_1/nss/cmd/tests/remtest.c:93:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/tests/remtest.c:98:5: branch_false: ...to here
nss-3_119_1/nss/cmd/tests/remtest.c:100:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/tests/remtest.c:100:8: branch_false: ...to here
nss-3_119_1/nss/cmd/tests/remtest.c:129:5: throw: if ‘PK11_FreeSlot’ throws an exception...
nss-3_119_1/nss/cmd/tests/remtest.c:129:5: danger: ‘tokenName’ leaks here; was allocated at [(3)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/2)
#  127|       } while (cont);
#  128|   
#  129|->     PK11_FreeSlot(slot);
#  130|   
#  131|       if (NSS_Shutdown() != SECSuccess) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def329]
nss-3_119_1/nss/cmd/tests/remtest.c:131:9: warning[-Wanalyzer-malloc-leak]: leak of ‘tokenName’
nss-3_119_1/nss/cmd/tests/remtest.c:60:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/tests/remtest.c:61:17: branch_true: ...to here
nss-3_119_1/nss/cmd/tests/remtest.c:68:29: acquire_memory: allocated here
nss-3_119_1/nss/cmd/tests/remtest.c:60:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/tests/remtest.c:75:8: branch_false: ...to here
nss-3_119_1/nss/cmd/tests/remtest.c:75:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/tests/remtest.c:78:8: branch_false: ...to here
nss-3_119_1/nss/cmd/tests/remtest.c:78:8: branch_false: following ‘false’ branch (when ‘tokenName’ is non-NULL)...
nss-3_119_1/nss/cmd/tests/remtest.c:82:8: branch_false: ...to here
nss-3_119_1/nss/cmd/tests/remtest.c:82:8: branch_true: following ‘true’ branch (when ‘certDir’ is NULL)...
nss-3_119_1/nss/cmd/tests/remtest.c:83:19: branch_true: ...to here
nss-3_119_1/nss/cmd/tests/remtest.c:93:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/tests/remtest.c:98:5: branch_false: ...to here
nss-3_119_1/nss/cmd/tests/remtest.c:100:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/tests/remtest.c:100:8: branch_false: ...to here
nss-3_119_1/nss/cmd/tests/remtest.c:131:9: throw: if ‘NSS_Shutdown’ throws an exception...
nss-3_119_1/nss/cmd/tests/remtest.c:131:9: danger: ‘tokenName’ leaks here; was allocated at [(3)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/2)
#  129|       PK11_FreeSlot(slot);
#  130|   
#  131|->     if (NSS_Shutdown() != SECSuccess) {
#  132|           exit(1);
#  133|       }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def330]
nss-3_119_1/nss/cmd/tests/secmodtest.c:83:25: warning[-Wanalyzer-malloc-leak]: leak of ‘dbDir’
nss-3_119_1/nss/cmd/tests/secmodtest.c:83:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/tests/secmodtest.c:84:17: branch_true: ...to here
nss-3_119_1/nss/cmd/tests/secmodtest.c:86:25: acquire_memory: allocated here
nss-3_119_1/nss/cmd/tests/secmodtest.c:83:25: throw: if ‘PL_GetNextOpt’ throws an exception...
nss-3_119_1/nss/cmd/tests/secmodtest.c:83:25: danger: ‘dbDir’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
#   81|   
#   82|       optstate = PL_CreateOptState(argc, argv, "d:");
#   83|->     while ((optstatus = PL_GetNextOpt(optstate)) == PL_OPT_OK) {
#   84|           switch (optstate->option) {
#   85|               case 'd':

Error: GCC_ANALYZER_WARNING (CWE-401): [#def331]
nss-3_119_1/nss/cmd/tests/secmodtest.c:86:25: warning[-Wanalyzer-malloc-leak]: leak of ‘dbDir’
nss-3_119_1/nss/cmd/tests/secmodtest.c:83:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/tests/secmodtest.c:84:17: branch_true: ...to here
nss-3_119_1/nss/cmd/tests/secmodtest.c:86:25: acquire_memory: allocated here
nss-3_119_1/nss/cmd/tests/secmodtest.c:83:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/tests/secmodtest.c:84:17: branch_true: ...to here
nss-3_119_1/nss/cmd/tests/secmodtest.c:84:9: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/tests/secmodtest.c:85:13: branch_true: ...to here
nss-3_119_1/nss/cmd/tests/secmodtest.c:86:25: danger: ‘dbDir’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
#   84|           switch (optstate->option) {
#   85|               case 'd':
#   86|->                 dbDir = strdup(optstate->value);
#   87|                   break;
#   88|           }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def332]
nss-3_119_1/nss/cmd/tests/secmodtest.c:94:10: warning[-Wanalyzer-malloc-leak]: leak of ‘dbDir’
nss-3_119_1/nss/cmd/tests/secmodtest.c:83:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/tests/secmodtest.c:84:17: branch_true: ...to here
nss-3_119_1/nss/cmd/tests/secmodtest.c:86:25: acquire_memory: allocated here
nss-3_119_1/nss/cmd/tests/secmodtest.c:83:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/tests/secmodtest.c:90:9: branch_false: ...to here
nss-3_119_1/nss/cmd/tests/secmodtest.c:90:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/tests/secmodtest.c:94:10: branch_false: ...to here
nss-3_119_1/nss/cmd/tests/secmodtest.c:94:10: throw: if ‘NSS_NoDB_Init’ throws an exception...
nss-3_119_1/nss/cmd/tests/secmodtest.c:94:10: danger: ‘dbDir’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
#   92|       }
#   93|   
#   94|->     rv = NSS_NoDB_Init(NULL);
#   95|       if (rv != SECSuccess) {
#   96|           SECU_PrintError(progName, "unable to initialize NSS");

Error: GCC_ANALYZER_WARNING (CWE-401): [#def333]
nss-3_119_1/nss/cmd/tests/secmodtest.c:96:9: warning[-Wanalyzer-malloc-leak]: leak of ‘dbDir’
nss-3_119_1/nss/cmd/tests/secmodtest.c:83:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/tests/secmodtest.c:84:17: branch_true: ...to here
nss-3_119_1/nss/cmd/tests/secmodtest.c:86:25: acquire_memory: allocated here
nss-3_119_1/nss/cmd/tests/secmodtest.c:83:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/tests/secmodtest.c:90:9: branch_false: ...to here
nss-3_119_1/nss/cmd/tests/secmodtest.c:90:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/tests/secmodtest.c:94:10: branch_false: ...to here
nss-3_119_1/nss/cmd/tests/secmodtest.c:95:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/tests/secmodtest.c:96:9: branch_true: ...to here
nss-3_119_1/nss/cmd/tests/secmodtest.c:96:9: throw: if ‘SECU_PrintError’ throws an exception...
nss-3_119_1/nss/cmd/tests/secmodtest.c:96:9: danger: ‘dbDir’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
#   94|       rv = NSS_NoDB_Init(NULL);
#   95|       if (rv != SECSuccess) {
#   96|->         SECU_PrintError(progName, "unable to initialize NSS");
#   97|           goto loser;
#   98|       }

Error: CPPCHECK_WARNING (CWE-457): [#def334]
nss-3_119_1/nss/cmd/tstclnt/tstclnt.c:503: error[uninitvar]: Uninitialized variable: revTestsDoNotCheck.preferred_methods
#  501|           CERT_REV_MI_REQUIRE_SOME_FRESH_INFO_AVAILABLE;
#  502|   
#  503|->     rev.chainTests = revTestsDoNotCheck;
#  504|       rev.leafTests = revTestsDoNotCheck;
#  505|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def335]
nss-3_119_1/nss/cmd/tstclnt/tstclnt.c:503:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘revTestsDoNotCheck.preferred_methods’
nss-3_119_1/nss/cmd/tstclnt/tstclnt.c:678:1: enter_function: entry to ‘ownAuthCertificate’
nss-3_119_1/nss/cmd/tstclnt/tstclnt.c:683:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/tstclnt/tstclnt.c:687:10: branch_false: ...to here
nss-3_119_1/nss/cmd/tstclnt/tstclnt.c:687:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/cmd/tstclnt/tstclnt.c:692:14: branch_true: ...to here
nss-3_119_1/nss/cmd/tstclnt/tstclnt.c:692:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/tstclnt/tstclnt.c:702:16: branch_false: ...to here
nss-3_119_1/nss/cmd/tstclnt/tstclnt.c:703:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/cmd/tstclnt/tstclnt.c:707:15: branch_false: ...to here
nss-3_119_1/nss/cmd/tstclnt/tstclnt.c:719:9: call_function: calling ‘verifyFromSideChannel’ from ‘ownAuthCertificate’
#  501|           CERT_REV_MI_REQUIRE_SOME_FRESH_INFO_AVAILABLE;
#  502|   
#  503|->     rev.chainTests = revTestsDoNotCheck;
#  504|       rev.leafTests = revTestsDoNotCheck;
#  505|   

Error: CPPCHECK_WARNING (CWE-457): [#def336]
nss-3_119_1/nss/cmd/tstclnt/tstclnt.c:554: error[uninitvar]: Uninitialized variable: revTestsOverallHardFail.preferred_methods
#  552|           revTestsOverallHardFail.cert_rev_flags_per_method = methodFlagsCheckHardFail;
#  553|       }
#  554|->     rev.leafTests = revTestsOverallHardFail;
#  555|       rev.chainTests =
#  556|           sca->requireDataForIntermediates ? revTestsOverallHardFail : revTestsDoNotCheck;

Error: GCC_ANALYZER_WARNING: [#def337]
nss-3_119_1/nss/coreconf/nsinstall/nsinstall.c:356:26: warning[-Wanalyzer-fd-use-without-check]: ‘read’ on possibly invalid file descriptor ‘open(name, 0)’
nss-3_119_1/nss/coreconf/nsinstall/nsinstall.c:218:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/coreconf/nsinstall/nsinstall.c:221:17: branch_false: ...to here
nss-3_119_1/nss/coreconf/nsinstall/nsinstall.c:226:8: branch_false: following ‘false’ branch (when ‘onlydir == 0’)...
nss-3_119_1/nss/coreconf/nsinstall/nsinstall.c:229:8: branch_false: ...to here
nss-3_119_1/nss/coreconf/nsinstall/nsinstall.c:229:8: branch_true: following ‘true’ branch (when ‘cwd’ is NULL)...
nss-3_119_1/nss/coreconf/nsinstall/nsinstall.c:230:15: branch_true: ...to here
nss-3_119_1/nss/coreconf/nsinstall/nsinstall.c:231:12: branch_false: following ‘false’ branch (when ‘cwd’ is non-NULL)...
nss-3_119_1/nss/coreconf/nsinstall/nsinstall.c:236:5: branch_false: ...to here
nss-3_119_1/nss/coreconf/nsinstall/nsinstall.c:245:11: branch_false: following ‘false’ branch (when ‘owner’ is NULL)...
nss-3_119_1/nss/coreconf/nsinstall/nsinstall.c:246:11: branch_false: ...to here
nss-3_119_1/nss/coreconf/nsinstall/nsinstall.c:246:11: branch_false: following ‘false’ branch (when ‘group’ is NULL)...
nss-3_119_1/nss/coreconf/nsinstall/nsinstall.c:246:11: branch_false: ...to here
nss-3_119_1/nss/coreconf/nsinstall/nsinstall.c:248:12: branch_true: following ‘true’ branch (when ‘argc != 0’)...
nss-3_119_1/nss/coreconf/nsinstall/nsinstall.c:249:19: branch_true: ...to here
nss-3_119_1/nss/coreconf/nsinstall/nsinstall.c:340:22: acquire_resource: opened here
nss-3_119_1/nss/coreconf/nsinstall/nsinstall.c:341:16: branch_true: following ‘true’ branch...
nss-3_119_1/nss/coreconf/nsinstall/nsinstall.c:342:17: branch_true: ...to here
nss-3_119_1/nss/coreconf/nsinstall/nsinstall.c:356:26: danger: ‘open(name, 0)’ could be invalid: unchecked value from [(15)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/14)
#  354|   
#  355|   	    bp = buf;
#  356|-> 	    while ((cc = read(fromfd, bp, sizeof buf)) > 0) {
#  357|   		while ((wc = write(tofd, bp, cc)) > 0) {
#  358|   		    if ((cc -= wc) == 0)

Error: GCC_ANALYZER_WARNING (CWE-401): [#def338]
nss-3_119_1/nss/coreconf/nsinstall/pathsub.c:87:20: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir("..")’
nss-3_119_1/nss/coreconf/nsinstall/pathsub.c:179:1: enter_function: entry to ‘reversepath’
nss-3_119_1/nss/coreconf/nsinstall/pathsub.c:187:19: call_function: calling ‘getcomponent’ from ‘reversepath’
nss-3_119_1/nss/coreconf/nsinstall/pathsub.c:187:19: return_function: returning to ‘reversepath’ from ‘getcomponent’
nss-3_119_1/nss/coreconf/nsinstall/pathsub.c:187:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/coreconf/nsinstall/pathsub.c:188:13: branch_true: ...to here
nss-3_119_1/nss/coreconf/nsinstall/pathsub.c:190:12: branch_true: following ‘true’ branch (when the strings are equal)...
nss-3_119_1/nss/coreconf/nsinstall/pathsub.c:191:17: branch_true: ...to here
nss-3_119_1/nss/coreconf/nsinstall/pathsub.c:191:16: branch_false: following ‘false’ branch...
nss-3_119_1/nss/coreconf/nsinstall/pathsub.c:193:29: branch_false: ...to here
nss-3_119_1/nss/coreconf/nsinstall/pathsub.c:193:20: call_function: calling ‘ino2name’ from ‘reversepath’
#   85|   	fail("cannot read parent directory");
#   86|       for (;;) {
#   87|-> 	if (!(ep = readdir(dp)))
#   88|   	    fail("cannot find current directory");
#   89|   	if (ep->d_ino == ino)

Error: GCC_ANALYZER_WARNING (CWE-401): [#def339]
nss-3_119_1/nss/coreconf/nsinstall/pathsub.c:113:16: warning[-Wanalyzer-malloc-leak]: leak of ‘xstrdup(&*<unknown>.d_name)’
nss-3_119_1/nss/coreconf/nsinstall/pathsub.c:179:1: enter_function: entry to ‘reversepath’
nss-3_119_1/nss/coreconf/nsinstall/pathsub.c:187:19: call_function: calling ‘getcomponent’ from ‘reversepath’
nss-3_119_1/nss/coreconf/nsinstall/pathsub.c:187:19: return_function: returning to ‘reversepath’ from ‘getcomponent’
nss-3_119_1/nss/coreconf/nsinstall/pathsub.c:187:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/coreconf/nsinstall/pathsub.c:188:13: branch_true: ...to here
nss-3_119_1/nss/coreconf/nsinstall/pathsub.c:190:12: branch_true: following ‘true’ branch (when the strings are equal)...
nss-3_119_1/nss/coreconf/nsinstall/pathsub.c:191:17: branch_true: ...to here
nss-3_119_1/nss/coreconf/nsinstall/pathsub.c:191:16: branch_false: following ‘false’ branch...
nss-3_119_1/nss/coreconf/nsinstall/pathsub.c:193:29: branch_false: ...to here
nss-3_119_1/nss/coreconf/nsinstall/pathsub.c:193:20: call_function: calling ‘ino2name’ from ‘reversepath’
#  111|   xstrdup(char *s)
#  112|   {
#  113|->     if (!s || !s[0])
#  114|   	fail("Null pointer or empty string passed to xstrdup()");
#  115|       return strcpy((char*)xmalloc(strlen(s) + 1), s);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def340]
nss-3_119_1/nss/coreconf/nsinstall/pathsub.c:226:13: warning[-Wanalyzer-malloc-leak]: leak of ‘myPath’
nss-3_119_1/nss/coreconf/nsinstall/pathsub.c:218:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/coreconf/nsinstall/pathsub.c:220:14: acquire_memory: allocated here
nss-3_119_1/nss/coreconf/nsinstall/pathsub.c:221:8: branch_false: following ‘false’ branch (when ‘myPath’ is non-NULL)...
nss-3_119_1/nss/coreconf/nsinstall/pathsub.c:221:8: branch_false: ...to here
nss-3_119_1/nss/coreconf/nsinstall/pathsub.c:225:12: branch_true: following ‘true’ branch (when ‘rv < 0’)...
nss-3_119_1/nss/coreconf/nsinstall/pathsub.c:226:13: branch_true: ...to here
nss-3_119_1/nss/coreconf/nsinstall/pathsub.c:226:13: throw: if ‘perror’ throws an exception...
nss-3_119_1/nss/coreconf/nsinstall/pathsub.c:226:13: danger: ‘myPath’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
#  224|       	rv = lstat(myPath, &sb);
#  225|   	if (rv < 0) {
#  226|-> 	    perror(myPath);
#  227|   	} else if (S_ISLNK(sb.st_mode)) {
#  228|   	    rv = readlink(myPath, buf, sizeof(buf) - 1);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def341]
nss-3_119_1/nss/coreconf/nsinstall/pathsub.c:230:17: warning[-Wanalyzer-malloc-leak]: leak of ‘myPath’
nss-3_119_1/nss/coreconf/nsinstall/pathsub.c:218:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/coreconf/nsinstall/pathsub.c:220:14: acquire_memory: allocated here
nss-3_119_1/nss/coreconf/nsinstall/pathsub.c:221:8: branch_false: following ‘false’ branch (when ‘myPath’ is non-NULL)...
nss-3_119_1/nss/coreconf/nsinstall/pathsub.c:221:8: branch_false: ...to here
nss-3_119_1/nss/coreconf/nsinstall/pathsub.c:225:12: branch_false: following ‘false’ branch (when ‘rv >= 0’)...
nss-3_119_1/nss/coreconf/nsinstall/pathsub.c:227:20: branch_false: ...to here
nss-3_119_1/nss/coreconf/nsinstall/pathsub.c:227:19: branch_true: following ‘true’ branch...
nss-3_119_1/nss/coreconf/nsinstall/pathsub.c:228:18: branch_true: ...to here
nss-3_119_1/nss/coreconf/nsinstall/pathsub.c:229:16: branch_true: following ‘true’ branch (when ‘rv < 0’)...
nss-3_119_1/nss/coreconf/nsinstall/pathsub.c:230:17: branch_true: ...to here
nss-3_119_1/nss/coreconf/nsinstall/pathsub.c:230:17: throw: if ‘perror’ throws an exception...
nss-3_119_1/nss/coreconf/nsinstall/pathsub.c:230:17: danger: ‘myPath’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
#  228|   	    rv = readlink(myPath, buf, sizeof(buf) - 1);
#  229|   	    if (rv < 0) {
#  230|-> 	    	perror("readlink");
#  231|   		buf[0] = 0;
#  232|   	    } else {

Error: CPPCHECK_WARNING (CWE-562): [#def342]
nss-3_119_1/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): [#def343]
nss-3_119_1/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: COMPILER_WARNING: [#def344]
nss-3_119_1/nss/gtests/pk11_gtest/pk11_dsa_unittest.cc: scope_hint: In function ‘void __static_initialization_and_destruction_0()’
nss-3_119_1/nss/gtests/pk11_gtest/pk11_dsa_unittest.cc:81:1: note: variable tracking size limit exceeded with ‘-fvar-tracking-assignments’, retrying without
#   79|                            ::testing::ValuesIn(kDsaWycheproofVectors));
#   80|   
#   81|-> }  // namespace nss_test

Error: CPPCHECK_WARNING (CWE-457): [#def345]
nss-3_119_1/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): [#def346]
nss-3_119_1/nss/gtests/ssl_gtest/tls_agent.h:317: error[danglingLifetime]: Non-local variable 'handshake_callback_' will use lambda that captures local variable 'step'.
#  315|   
#  316|     void SetHandshakeCallback(HandshakeCallbackFunction handshake_callback) {
#  317|->     handshake_callback_ = handshake_callback;
#  318|     }
#  319|   

Error: CPPCHECK_WARNING (CWE-562): [#def347]
nss-3_119_1/nss/gtests/ssl_gtest/tls_agent.h:322: error[danglingLifetime]: Non-local variable 'auth_certificate_callback_' will use lambda that captures local variable 'called'.
#  320|     void SetAuthCertificateCallback(
#  321|         AuthCertificateCallbackFunction auth_certificate_callback) {
#  322|->     auth_certificate_callback_ = auth_certificate_callback;
#  323|     }
#  324|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def348]
nss-3_119_1/nss/lib/certdb/crl.c:2325:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dpcache’
nss-3_119_1/nss/lib/certdb/crl.c:2365:1: enter_function: entry to ‘cert_CheckCertRevocationStatus’
nss-3_119_1/nss/lib/certdb/crl.c:2372:17: release_memory: ‘dpcache’ is NULL
nss-3_119_1/nss/lib/certdb/crl.c:2378:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/certdb/crl.c:2383:8: branch_false: ...to here
nss-3_119_1/nss/lib/certdb/crl.c:2399:10: call_function: calling ‘AcquireDPCache’ from ‘cert_CheckCertRevocationStatus’
# 2323|       if (PR_FALSE == *writeLocked) {
# 2324|   #ifdef DPC_RWLOCK
# 2325|->         NSSRWLock_LockRead((*dpcache)->lock);
# 2326|   #else
# 2327|           PR_Lock((*dpcache)->lock);

Error: GCC_ANALYZER_WARNING (CWE-404): [#def349]
nss-3_119_1/nss/lib/certhigh/ocsp.c:2242:27: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
nss-3_119_1/nss/lib/certhigh/ocsp.c:2232:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/certhigh/ocsp.c:2236:19: branch_false: ...to here
nss-3_119_1/nss/lib/certhigh/ocsp.c:2238:8: branch_true: following ‘true’ branch (when ‘count != 1’)...
nss-3_119_1/nss/lib/certhigh/ocsp.c:2239:9: branch_true: ...to here
nss-3_119_1/nss/lib/certhigh/ocsp.c:2239:9: acquire_resource: ‘va_start’ called here
nss-3_119_1/nss/lib/certhigh/ocsp.c:2240:16: branch_true: following ‘true’ branch (when ‘i < count’)...
nss-3_119_1/nss/lib/certhigh/ocsp.c:2241:13: branch_true: ...to here
nss-3_119_1/nss/lib/certhigh/ocsp.c:2242:27: throw: if ‘SECOID_FindOIDByTag_Util’ throws an exception...
nss-3_119_1/nss/lib/certhigh/ocsp.c:2242:27: danger: missing call to ‘va_end’ to match ‘va_start’ at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
# 2240|           for (; i < count; i++) {
# 2241|               responseType = va_arg(ap, SECOidTag);
# 2242|->             responseOid = SECOID_FindOIDByTag(responseType);
# 2243|               acceptableResponses[i] = &(responseOid->oid);
# 2244|           }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def350]
nss-3_119_1/nss/lib/certhigh/ocsp.c:5891:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘statusContext’
nss-3_119_1/nss/lib/certhigh/ocsp.c:5832:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/certhigh/ocsp.c:5863:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/certhigh/ocsp.c:5868:21: branch_false: ...to here
nss-3_119_1/nss/lib/certhigh/ocsp.c:5873:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/lib/certhigh/ocsp.c:5874:14: branch_true: ...to here
nss-3_119_1/nss/lib/certhigh/ocsp.c:5875:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/certhigh/ocsp.c:5878:25: branch_false: ...to here
nss-3_119_1/nss/lib/certhigh/ocsp.c:5891:9: danger: 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-457): [#def351]
nss-3_119_1/nss/lib/dev/devtoken.c:304:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘&staticObjects’
nss-3_119_1/nss/lib/dev/devtoken.c:365:1: enter_function: entry to ‘nssToken_FindObjectsByTemplate’
nss-3_119_1/nss/lib/dev/devtoken.c:390:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/dev/devtoken.c:397:9: branch_false: ...to here
nss-3_119_1/nss/lib/dev/devtoken.c:413:15: call_function: calling ‘find_objects’ from ‘nssToken_FindObjectsByTemplate’
#  302|               objectHandles = nss_ZNEWARRAY(NULL, CK_OBJECT_HANDLE, arraySize);
#  303|               if (objectHandles) {
#  304|->                 PORT_Memcpy(objectHandles, staticObjects,
#  305|                               OBJECT_STACK_SIZE * sizeof(objectHandles[1]));
#  306|               }

Error: GCC_ANALYZER_WARNING (CWE-835): [#def352]
nss-3_119_1/nss/lib/dev/devutil.c:118:12: warning[-Wanalyzer-infinite-loop]: infinite loop
nss-3_119_1/nss/lib/dev/devutil.c:118:12: danger: infinite loop here
nss-3_119_1/nss/lib/dev/devutil.c:118:12: branch_true: when ‘slots’ is non-NULL: always following ‘true’ branch...
nss-3_119_1/nss/lib/dev/devutil.c:118:18: branch_true: ...to here
nss-3_119_1/nss/lib/dev/devutil.c:118:12: branch_true: if it ever follows ‘true’ branch, it will always do so...
nss-3_119_1/nss/lib/dev/devutil.c:119:9: branch_true: ...to here
#  116|       NSSSlot **sp = slots;
#  117|       PRUint32 count = 0;
#  118|->     while (sp && *sp)
#  119|           count++;
#  120|       if (count > 0) {

Error: COMPILER_WARNING: [#def353]
nss-3_119_1/nss/lib/freebl/aes-x86.c:28:5: note[note]: called from here
#   26|       pre_align __m128i tmp post_align;
#   27|       keySchedule[0] = _mm_loadu_si128((__m128i *)key);
#   28|->     EXPAND_KEY128(keySchedule[0], 0x01, keySchedule[1]);
#   29|       EXPAND_KEY128(keySchedule[1], 0x02, keySchedule[2]);
#   30|       EXPAND_KEY128(keySchedule[2], 0x04, keySchedule[3]);

Error: COMPILER_WARNING: [#def354]
nss-3_119_1/nss/lib/freebl/aes-x86.c:29:5: note[note]: called from here
#   27|       keySchedule[0] = _mm_loadu_si128((__m128i *)key);
#   28|       EXPAND_KEY128(keySchedule[0], 0x01, keySchedule[1]);
#   29|->     EXPAND_KEY128(keySchedule[1], 0x02, keySchedule[2]);
#   30|       EXPAND_KEY128(keySchedule[2], 0x04, keySchedule[3]);
#   31|       EXPAND_KEY128(keySchedule[3], 0x08, keySchedule[4]);

Error: COMPILER_WARNING: [#def355]
nss-3_119_1/nss/lib/freebl/aes-x86.c:30:5: note[note]: called from here
#   28|       EXPAND_KEY128(keySchedule[0], 0x01, keySchedule[1]);
#   29|       EXPAND_KEY128(keySchedule[1], 0x02, keySchedule[2]);
#   30|->     EXPAND_KEY128(keySchedule[2], 0x04, keySchedule[3]);
#   31|       EXPAND_KEY128(keySchedule[3], 0x08, keySchedule[4]);
#   32|       EXPAND_KEY128(keySchedule[4], 0x10, keySchedule[5]);

Error: COMPILER_WARNING: [#def356]
nss-3_119_1/nss/lib/freebl/aes-x86.c:31:5: note[note]: called from here
#   29|       EXPAND_KEY128(keySchedule[1], 0x02, keySchedule[2]);
#   30|       EXPAND_KEY128(keySchedule[2], 0x04, keySchedule[3]);
#   31|->     EXPAND_KEY128(keySchedule[3], 0x08, keySchedule[4]);
#   32|       EXPAND_KEY128(keySchedule[4], 0x10, keySchedule[5]);
#   33|       EXPAND_KEY128(keySchedule[5], 0x20, keySchedule[6]);

Error: COMPILER_WARNING: [#def357]
nss-3_119_1/nss/lib/freebl/aes-x86.c:32:5: note[note]: called from here
#   30|       EXPAND_KEY128(keySchedule[2], 0x04, keySchedule[3]);
#   31|       EXPAND_KEY128(keySchedule[3], 0x08, keySchedule[4]);
#   32|->     EXPAND_KEY128(keySchedule[4], 0x10, keySchedule[5]);
#   33|       EXPAND_KEY128(keySchedule[5], 0x20, keySchedule[6]);
#   34|       EXPAND_KEY128(keySchedule[6], 0x40, keySchedule[7]);

Error: COMPILER_WARNING: [#def358]
nss-3_119_1/nss/lib/freebl/aes-x86.c:33:5: note[note]: called from here
#   31|       EXPAND_KEY128(keySchedule[3], 0x08, keySchedule[4]);
#   32|       EXPAND_KEY128(keySchedule[4], 0x10, keySchedule[5]);
#   33|->     EXPAND_KEY128(keySchedule[5], 0x20, keySchedule[6]);
#   34|       EXPAND_KEY128(keySchedule[6], 0x40, keySchedule[7]);
#   35|       EXPAND_KEY128(keySchedule[7], 0x80, keySchedule[8]);

Error: COMPILER_WARNING: [#def359]
nss-3_119_1/nss/lib/freebl/aes-x86.c:34:5: note[note]: called from here
#   32|       EXPAND_KEY128(keySchedule[4], 0x10, keySchedule[5]);
#   33|       EXPAND_KEY128(keySchedule[5], 0x20, keySchedule[6]);
#   34|->     EXPAND_KEY128(keySchedule[6], 0x40, keySchedule[7]);
#   35|       EXPAND_KEY128(keySchedule[7], 0x80, keySchedule[8]);
#   36|       EXPAND_KEY128(keySchedule[8], 0x1B, keySchedule[9]);

Error: COMPILER_WARNING: [#def360]
nss-3_119_1/nss/lib/freebl/aes-x86.c:35:5: note[note]: called from here
#   33|       EXPAND_KEY128(keySchedule[5], 0x20, keySchedule[6]);
#   34|       EXPAND_KEY128(keySchedule[6], 0x40, keySchedule[7]);
#   35|->     EXPAND_KEY128(keySchedule[7], 0x80, keySchedule[8]);
#   36|       EXPAND_KEY128(keySchedule[8], 0x1B, keySchedule[9]);
#   37|       EXPAND_KEY128(keySchedule[9], 0x36, keySchedule[10]);

Error: COMPILER_WARNING: [#def361]
nss-3_119_1/nss/lib/freebl/aes-x86.c:36:5: note[note]: called from here
#   34|       EXPAND_KEY128(keySchedule[6], 0x40, keySchedule[7]);
#   35|       EXPAND_KEY128(keySchedule[7], 0x80, keySchedule[8]);
#   36|->     EXPAND_KEY128(keySchedule[8], 0x1B, keySchedule[9]);
#   37|       EXPAND_KEY128(keySchedule[9], 0x36, keySchedule[10]);
#   38|   }

Error: COMPILER_WARNING: [#def362]
nss-3_119_1/nss/lib/freebl/aes-x86.c:37:5: note[note]: called from here
#   35|       EXPAND_KEY128(keySchedule[7], 0x80, keySchedule[8]);
#   36|       EXPAND_KEY128(keySchedule[8], 0x1B, keySchedule[9]);
#   37|->     EXPAND_KEY128(keySchedule[9], 0x36, keySchedule[10]);
#   38|   }
#   39|   

Error: CPPCHECK_WARNING (CWE-758): [#def363]
nss-3_119_1/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): [#def364]
nss-3_119_1/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): [#def365]
nss-3_119_1/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): [#def366]
nss-3_119_1/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): [#def367]
nss-3_119_1/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: COMPILER_WARNING: [#def368]
nss-3_119_1/nss/lib/freebl/gcm-x86.c:61:13: note[note]: called from here
#   59|   
#   60|           /* Do binary mult ghash->X = Ci * ghash->H. */
#   61|->         C = _mm_clmulepi64_si128(Ci, ghash->h, 0x00);
#   62|           D = _mm_clmulepi64_si128(Ci, ghash->h, 0x11);
#   63|           E = _mm_clmulepi64_si128(Ci, ghash->h, 0x01);

Error: COMPILER_WARNING: [#def369]
nss-3_119_1/nss/lib/freebl/gcm-x86.c:62:13: note[note]: called from here
#   60|           /* Do binary mult ghash->X = Ci * ghash->H. */
#   61|           C = _mm_clmulepi64_si128(Ci, ghash->h, 0x00);
#   62|->         D = _mm_clmulepi64_si128(Ci, ghash->h, 0x11);
#   63|           E = _mm_clmulepi64_si128(Ci, ghash->h, 0x01);
#   64|           F = _mm_clmulepi64_si128(Ci, ghash->h, 0x10);

Error: COMPILER_WARNING: [#def370]
nss-3_119_1/nss/lib/freebl/gcm-x86.c:63:13: note[note]: called from here
#   61|           C = _mm_clmulepi64_si128(Ci, ghash->h, 0x00);
#   62|           D = _mm_clmulepi64_si128(Ci, ghash->h, 0x11);
#   63|->         E = _mm_clmulepi64_si128(Ci, ghash->h, 0x01);
#   64|           F = _mm_clmulepi64_si128(Ci, ghash->h, 0x10);
#   65|           tmp = _mm_xor_si128(E, F);

Error: COMPILER_WARNING: [#def371]
nss-3_119_1/nss/lib/freebl/gcm-x86.c:64:13: note[note]: called from here
#   62|           D = _mm_clmulepi64_si128(Ci, ghash->h, 0x11);
#   63|           E = _mm_clmulepi64_si128(Ci, ghash->h, 0x01);
#   64|->         F = _mm_clmulepi64_si128(Ci, ghash->h, 0x10);
#   65|           tmp = _mm_xor_si128(E, F);
#   66|           z_high = _mm_xor_si128(tmp, _mm_slli_si128(D, 8));

Error: GCC_ANALYZER_WARNING (CWE-688): [#def372]
nss-3_119_1/nss/lib/freebl/genload.c:37:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘resolved’ where non-null expected
nss-3_119_1/nss/lib/freebl/lowhash_vector.c:218:1: enter_function: entry to ‘NSSLOWHASH_Length’
nss-3_119_1/nss/lib/freebl/lowhash_vector.c:220:9: call_function: inlined call to ‘freebl_InitVector’ from ‘NSSLOWHASH_Length’
#   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): [#def373]
nss-3_119_1/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): [#def374]
nss-3_119_1/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: COMPILER_WARNING: [#def375]
nss-3_119_1/nss/lib/freebl/intel-gcm-wrap.c:179:5: note[note]: called from here
#  177|   
#  178|       /* Promote the counter by 1 */
#  179|->     _mm_storeu_si128((__m128i *)gcm->CTR, _mm_shuffle_epi8(_mm_add_epi32(ONE, _mm_shuffle_epi8(_mm_loadu_si128((__m128i *)gcm->CTR), BSWAP_MASK)), BSWAP_MASK));
#  180|   
#  181|       /* Now hash AAD - it would actually make sense to seperate the context

Error: GCC_ANALYZER_WARNING (CWE-457): [#def376]
nss-3_119_1/nss/lib/freebl/leancrypto/lc_sha3.h:73:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*ptr.stream’
nss-3_119_1/nss/lib/freebl/leancrypto/ml_dsa_44_signature_c.c:56:1: enter_function: entry to ‘lc_dilithium_44_sign_c’
nss-3_119_1/nss/lib/freebl/leancrypto/ml_dsa_44_signature_c.c:61:12: call_function: calling ‘lc_dilithium_sign_impl’ from ‘lc_dilithium_44_sign_c’
#   71|   lc_hash_init(struct lc_hash_ctx *ptr)
#   72|   {
#   73|->     if (ptr->stream) {
#   74|           /* if we already have a context, just reset it, This is
#   75|            * what the caller wanted, saving a destroy and create */

Error: GCC_ANALYZER_WARNING (CWE-401): [#def377]
nss-3_119_1/nss/lib/freebl/leancrypto/lc_sha3.h:177:9: warning[-Wanalyzer-malloc-leak]: leak of ‘newBuf’
nss-3_119_1/nss/lib/freebl/leancrypto/lc_sha3.h:154:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/leancrypto/lc_sha3.h:165:15: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/leancrypto/lc_sha3.h:166:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/leancrypto/lc_sha3.h:171:8: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/leancrypto/lc_sha3.h:171:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/lib/freebl/leancrypto/lc_sha3.h:172:33: branch_true: ...to here
nss-3_119_1/nss/lib/freebl/leancrypto/lc_sha3.h:172:33: acquire_memory: allocated here
nss-3_119_1/nss/lib/freebl/leancrypto/lc_sha3.h:173:12: branch_false: following ‘false’ branch (when ‘newBuf’ is non-NULL)...
nss-3_119_1/nss/lib/freebl/leancrypto/lc_sha3.h:177:9: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/leancrypto/lc_sha3.h:177:9: throw: if ‘SHAKE_128_HashBuf’ throws an exception...
nss-3_119_1/nss/lib/freebl/leancrypto/lc_sha3.h:177:9: danger: ‘newBuf’ leaks here; was allocated at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
#  175|               return;
#  176|           }
#  177|->         lc_xof(ptr->hash, ptr->buf, ptr->current_input, newBuf, len);
#  178|           memcpy(output, newBuf + ptr->current_output, outLen);
#  179|           memset(newBuf, 0, len);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def378]
nss-3_119_1/nss/lib/freebl/leancrypto/lc_sha3.h:194:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*ptr.stream’
nss-3_119_1/nss/lib/freebl/leancrypto/dilithium_signature_impl.h:957:1: enter_function: entry to ‘lc_dilithium_verify_impl’
nss-3_119_1/nss/lib/freebl/leancrypto/dilithium_signature_impl.h:962:15: call_function: calling ‘lc_dilithium_verify_ctx_impl’ from ‘lc_dilithium_verify_impl’
nss-3_119_1/nss/lib/freebl/leancrypto/dilithium_signature_impl.h:962:15: return_function: returning to ‘lc_dilithium_verify_impl’ from ‘lc_dilithium_verify_ctx_impl’
nss-3_119_1/nss/lib/freebl/leancrypto/dilithium_signature_impl.h:964:5: call_function: inlined call to ‘lc_dilithium_44_ctx_zero’ from ‘lc_dilithium_verify_impl’
#  192|   lc_hash_zero(struct lc_hash_ctx *ptr)
#  193|   {
#  194|->     if (ptr->stream) {
#  195|           if (ptr->u.ctx_ptr != NULL) {
#  196|               switch (ptr->hash) {

Error: CPPCHECK_WARNING (CWE-758): [#def379]
nss-3_119_1/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): [#def380]
nss-3_119_1/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-401): [#def381]
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:216:16: warning[-Wanalyzer-malloc-leak]: leak of ‘sieve’
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:419:1: enter_function: entry to ‘mpp_make_prime_ext_random’
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:429:5: branch_false: following ‘false’ branch (when ‘start’ is non-NULL)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:430:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:430:5: branch_false: following ‘false’ branch (when ‘nBits > 16’)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:432:13: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:432:13: acquire_memory: allocated here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:433:5: branch_false: following ‘false’ branch (when ‘sieve’ is non-NULL)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:435:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:437:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:438:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:438:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:442:8: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:470:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:471:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:471:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:472:14: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:476:5: call_function: calling ‘mpp_sieve’ from ‘mpp_make_prime_ext_random’
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:476:5: return_function: returning to ‘mpp_make_prime_ext_random’ from ‘mpp_sieve’
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:476:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:476:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:492:17: branch_true: following ‘true’ branch (when ‘i != 32768’)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:493:18: branch_true: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:493:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:495:9: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:495:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:498:15: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:498:15: call_function: calling ‘mpp_fermat’ from ‘mpp_make_prime_ext_random’
#  214|       mp_err res;
#  215|   
#  216|->     if ((res = mp_init(&base)) != MP_OKAY)
#  217|           return res;
#  218|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def382]
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:219:5: warning[-Wanalyzer-malloc-leak]: leak of ‘sieve’
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:419:1: enter_function: entry to ‘mpp_make_prime_ext_random’
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:429:5: branch_false: following ‘false’ branch (when ‘start’ is non-NULL)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:430:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:430:5: branch_false: following ‘false’ branch (when ‘nBits > 16’)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:432:13: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:432:13: acquire_memory: allocated here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:433:5: branch_false: following ‘false’ branch (when ‘sieve’ is non-NULL)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:435:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:437:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:438:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:438:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:442:8: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:470:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:471:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:471:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:472:14: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:476:5: call_function: calling ‘mpp_sieve’ from ‘mpp_make_prime_ext_random’
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:476:5: return_function: returning to ‘mpp_make_prime_ext_random’ from ‘mpp_sieve’
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:476:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:476:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:492:17: branch_true: following ‘true’ branch (when ‘i != 32768’)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:493:18: branch_true: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:493:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:495:9: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:495:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:498:15: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:498:15: call_function: calling ‘mpp_fermat’ from ‘mpp_make_prime_ext_random’
#  217|           return res;
#  218|   
#  219|->     mp_set(&base, w);
#  220|   
#  221|       if ((res = mp_init(&test)) != MP_OKAY)

Error: GCC_ANALYZER_WARNING (CWE-401): [#def383]
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:221:16: warning[-Wanalyzer-malloc-leak]: leak of ‘sieve’
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:419:1: enter_function: entry to ‘mpp_make_prime_ext_random’
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:429:5: branch_false: following ‘false’ branch (when ‘start’ is non-NULL)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:430:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:430:5: branch_false: following ‘false’ branch (when ‘nBits > 16’)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:432:13: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:432:13: acquire_memory: allocated here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:433:5: branch_false: following ‘false’ branch (when ‘sieve’ is non-NULL)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:435:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:437:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:438:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:438:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:442:8: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:470:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:471:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:471:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:472:14: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:476:5: call_function: calling ‘mpp_sieve’ from ‘mpp_make_prime_ext_random’
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:476:5: return_function: returning to ‘mpp_make_prime_ext_random’ from ‘mpp_sieve’
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:476:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:476:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:492:17: branch_true: following ‘true’ branch (when ‘i != 32768’)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:493:18: branch_true: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:493:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:495:9: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:495:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:498:15: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:498:15: call_function: calling ‘mpp_fermat’ from ‘mpp_make_prime_ext_random’
#  219|       mp_set(&base, w);
#  220|   
#  221|->     if ((res = mp_init(&test)) != MP_OKAY)
#  222|           goto TEST;
#  223|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def384]
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:225:16: warning[-Wanalyzer-malloc-leak]: leak of ‘sieve’
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:419:1: enter_function: entry to ‘mpp_make_prime_ext_random’
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:429:5: branch_false: following ‘false’ branch (when ‘start’ is non-NULL)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:430:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:430:5: branch_false: following ‘false’ branch (when ‘nBits > 16’)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:432:13: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:432:13: acquire_memory: allocated here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:433:5: branch_false: following ‘false’ branch (when ‘sieve’ is non-NULL)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:435:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:437:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:438:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:438:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:442:8: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:470:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:471:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:471:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:472:14: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:476:5: call_function: calling ‘mpp_sieve’ from ‘mpp_make_prime_ext_random’
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:476:5: return_function: returning to ‘mpp_make_prime_ext_random’ from ‘mpp_sieve’
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:476:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:476:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:492:17: branch_true: following ‘true’ branch (when ‘i != 32768’)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:493:18: branch_true: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:493:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:495:9: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:495:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:498:15: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:498:15: call_function: calling ‘mpp_fermat’ from ‘mpp_make_prime_ext_random’
#  223|   
#  224|       /* Compute test = base^a (mod a) */
#  225|->     if ((res = mp_exptmod(&base, a, a, &test)) != MP_OKAY)
#  226|           goto CLEANUP;
#  227|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def385]
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:228:9: warning[-Wanalyzer-malloc-leak]: leak of ‘sieve’
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:419:1: enter_function: entry to ‘mpp_make_prime_ext_random’
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:429:5: branch_false: following ‘false’ branch (when ‘start’ is non-NULL)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:430:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:430:5: branch_false: following ‘false’ branch (when ‘nBits > 16’)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:432:13: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:432:13: acquire_memory: allocated here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:433:5: branch_false: following ‘false’ branch (when ‘sieve’ is non-NULL)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:435:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:437:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:438:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:438:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:442:8: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:470:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:471:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:471:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:472:14: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:476:5: call_function: calling ‘mpp_sieve’ from ‘mpp_make_prime_ext_random’
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:476:5: return_function: returning to ‘mpp_make_prime_ext_random’ from ‘mpp_sieve’
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:476:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:476:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:492:17: branch_true: following ‘true’ branch (when ‘i != 32768’)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:493:18: branch_true: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:493:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:495:9: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:495:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:498:15: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:498:15: call_function: calling ‘mpp_fermat’ from ‘mpp_make_prime_ext_random’
#  226|           goto CLEANUP;
#  227|   
#  228|->     if (mp_cmp(&base, &test) == 0)
#  229|           res = MP_YES;
#  230|       else

Error: GCC_ANALYZER_WARNING (CWE-401): [#def386]
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:234:5: warning[-Wanalyzer-malloc-leak]: leak of ‘sieve’
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:419:1: enter_function: entry to ‘mpp_make_prime_ext_random’
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:429:5: branch_false: following ‘false’ branch (when ‘start’ is non-NULL)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:430:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:430:5: branch_false: following ‘false’ branch (when ‘nBits > 16’)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:432:13: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:432:13: acquire_memory: allocated here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:433:5: branch_false: following ‘false’ branch (when ‘sieve’ is non-NULL)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:435:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:437:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:438:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:438:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:442:8: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:470:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:471:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:471:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:472:14: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:476:5: call_function: calling ‘mpp_sieve’ from ‘mpp_make_prime_ext_random’
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:476:5: return_function: returning to ‘mpp_make_prime_ext_random’ from ‘mpp_sieve’
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:476:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:476:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:492:17: branch_true: following ‘true’ branch (when ‘i != 32768’)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:493:18: branch_true: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:493:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:495:9: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:495:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:498:15: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:498:15: call_function: calling ‘mpp_fermat’ from ‘mpp_make_prime_ext_random’
#  232|   
#  233|   CLEANUP:
#  234|->     mp_clear(&test);
#  235|   TEST:
#  236|       mp_clear(&base);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def387]
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:236:5: warning[-Wanalyzer-malloc-leak]: leak of ‘sieve’
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:419:1: enter_function: entry to ‘mpp_make_prime_ext_random’
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:429:5: branch_false: following ‘false’ branch (when ‘start’ is non-NULL)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:430:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:430:5: branch_false: following ‘false’ branch (when ‘nBits > 16’)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:432:13: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:432:13: acquire_memory: allocated here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:433:5: branch_false: following ‘false’ branch (when ‘sieve’ is non-NULL)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:435:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:437:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:438:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:438:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:442:8: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:470:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:471:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:471:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:472:14: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:476:5: call_function: calling ‘mpp_sieve’ from ‘mpp_make_prime_ext_random’
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:476:5: return_function: returning to ‘mpp_make_prime_ext_random’ from ‘mpp_sieve’
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:476:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:476:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:492:17: branch_true: following ‘true’ branch (when ‘i != 32768’)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:493:18: branch_true: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:493:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:495:9: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:495:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:498:15: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:498:15: call_function: calling ‘mpp_fermat’ from ‘mpp_make_prime_ext_random’
#  234|       mp_clear(&test);
#  235|   TEST:
#  236|->     mp_clear(&base);
#  237|   
#  238|       return res;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def388]
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:391:20: warning[-Wanalyzer-malloc-leak]: leak of ‘sieve’
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:419:1: enter_function: entry to ‘mpp_make_prime_ext_random’
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:429:5: branch_false: following ‘false’ branch (when ‘start’ is non-NULL)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:430:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:430:5: branch_false: following ‘false’ branch (when ‘nBits > 16’)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:432:13: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:432:13: acquire_memory: allocated here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:433:5: branch_false: following ‘false’ branch (when ‘sieve’ is non-NULL)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:435:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:437:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:438:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:438:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:442:8: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:470:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:471:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:471:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:472:14: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:476:5: call_function: calling ‘mpp_sieve’ from ‘mpp_make_prime_ext_random’
#  389|           mp_digit prime = primes[ix];
#  390|           mp_size i;
#  391|->         if ((res = mp_mod_d(trial, prime, &rem)) != MP_OKAY)
#  392|               return res;
#  393|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def389]
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:437:5: warning[-Wanalyzer-malloc-leak]: leak of ‘sieve’
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:429:5: branch_false: following ‘false’ branch (when ‘start’ is non-NULL)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:430:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:430:5: branch_false: following ‘false’ branch (when ‘nBits > 16’)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:432:13: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:432:13: acquire_memory: allocated here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:433:5: branch_false: following ‘false’ branch (when ‘sieve’ is non-NULL)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:435:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:437:5: throw: if ‘mp_init’ throws an exception...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:437:5: danger: ‘sieve’ leaks here; was allocated at [(5)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/4)
#  435|       MP_DIGITS(&trial) = 0;
#  436|       MP_DIGITS(&q) = 0;
#  437|->     MP_CHECKOK(mp_init(&trial));
#  438|       MP_CHECKOK(mp_init(&q));
#  439|       /* values originally taken from table 4.4,

Error: GCC_ANALYZER_WARNING (CWE-401): [#def390]
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:438:5: warning[-Wanalyzer-malloc-leak]: leak of ‘sieve’
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:429:5: branch_false: following ‘false’ branch (when ‘start’ is non-NULL)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:430:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:430:5: branch_false: following ‘false’ branch (when ‘nBits > 16’)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:432:13: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:432:13: acquire_memory: allocated here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:433:5: branch_false: following ‘false’ branch (when ‘sieve’ is non-NULL)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:435:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:437:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:438:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:438:5: throw: if ‘mp_init’ throws an exception...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:438:5: danger: ‘sieve’ leaks here; was allocated at [(5)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/4)
#  436|       MP_DIGITS(&q) = 0;
#  437|       MP_CHECKOK(mp_init(&trial));
#  438|->     MP_CHECKOK(mp_init(&q));
#  439|       /* values originally taken from table 4.4,
#  440|        * HandBook of Applied Cryptography, augmented by FIPS-186

Error: GCC_ANALYZER_WARNING (CWE-401): [#def391]
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:470:5: warning[-Wanalyzer-malloc-leak]: leak of ‘sieve’
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:429:5: branch_false: following ‘false’ branch (when ‘start’ is non-NULL)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:430:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:430:5: branch_false: following ‘false’ branch (when ‘nBits > 16’)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:432:13: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:432:13: acquire_memory: allocated here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:433:5: branch_false: following ‘false’ branch (when ‘sieve’ is non-NULL)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:435:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:437:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:438:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:438:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:442:8: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:470:5: throw: if ‘mpl_set_bit’ throws an exception...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:470:5: danger: ‘sieve’ leaks here; was allocated at [(5)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/4)
#  468|       if (strong)
#  469|           --nBits;
#  470|->     MP_CHECKOK(mpl_set_bit(start, nBits - 1, 1));
#  471|       MP_CHECKOK(mpl_set_bit(start, 0, 1));
#  472|       for (i = mpl_significant_bits(start) - 1; i >= nBits; --i) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def392]
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:471:5: warning[-Wanalyzer-malloc-leak]: leak of ‘sieve’
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:429:5: branch_false: following ‘false’ branch (when ‘start’ is non-NULL)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:430:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:430:5: branch_false: following ‘false’ branch (when ‘nBits > 16’)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:432:13: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:432:13: acquire_memory: allocated here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:433:5: branch_false: following ‘false’ branch (when ‘sieve’ is non-NULL)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:435:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:437:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:438:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:438:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:442:8: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:470:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:471:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:471:5: throw: if ‘mpl_set_bit’ throws an exception...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:471:5: danger: ‘sieve’ leaks here; was allocated at [(5)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/4)
#  469|           --nBits;
#  470|       MP_CHECKOK(mpl_set_bit(start, nBits - 1, 1));
#  471|->     MP_CHECKOK(mpl_set_bit(start, 0, 1));
#  472|       for (i = mpl_significant_bits(start) - 1; i >= nBits; --i) {
#  473|           MP_CHECKOK(mpl_set_bit(start, i, 0));

Error: GCC_ANALYZER_WARNING (CWE-401): [#def393]
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:472:14: warning[-Wanalyzer-malloc-leak]: leak of ‘sieve’
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:429:5: branch_false: following ‘false’ branch (when ‘start’ is non-NULL)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:430:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:430:5: branch_false: following ‘false’ branch (when ‘nBits > 16’)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:432:13: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:432:13: acquire_memory: allocated here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:433:5: branch_false: following ‘false’ branch (when ‘sieve’ is non-NULL)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:435:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:437:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:438:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:438:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:442:8: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:470:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:471:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:471:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:472:14: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:472:14: throw: if ‘mpl_significant_bits’ throws an exception...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:472:14: danger: ‘sieve’ leaks here; was allocated at [(5)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/4)
#  470|       MP_CHECKOK(mpl_set_bit(start, nBits - 1, 1));
#  471|       MP_CHECKOK(mpl_set_bit(start, 0, 1));
#  472|->     for (i = mpl_significant_bits(start) - 1; i >= nBits; --i) {
#  473|           MP_CHECKOK(mpl_set_bit(start, i, 0));
#  474|       }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def394]
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:473:9: warning[-Wanalyzer-malloc-leak]: leak of ‘sieve’
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:429:5: branch_false: following ‘false’ branch (when ‘start’ is non-NULL)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:430:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:430:5: branch_false: following ‘false’ branch (when ‘nBits > 16’)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:432:13: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:432:13: acquire_memory: allocated here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:433:5: branch_false: following ‘false’ branch (when ‘sieve’ is non-NULL)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:435:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:437:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:438:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:438:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:442:8: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:470:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:471:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:471:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:472:14: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:472:47: branch_true: following ‘true’ branch (when ‘nBits <= i’)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:473:9: branch_true: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:473:9: throw: if ‘mpl_set_bit’ throws an exception...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:473:9: danger: ‘sieve’ leaks here; was allocated at [(5)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/4)
#  471|       MP_CHECKOK(mpl_set_bit(start, 0, 1));
#  472|       for (i = mpl_significant_bits(start) - 1; i >= nBits; --i) {
#  473|->         MP_CHECKOK(mpl_set_bit(start, i, 0));
#  474|       }
#  475|       /* start sieveing with prime value of 3. */

Error: GCC_ANALYZER_WARNING (CWE-401): [#def395]
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:495:9: warning[-Wanalyzer-malloc-leak]: leak of ‘sieve’
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:419:1: enter_function: entry to ‘mpp_make_prime_ext_random’
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:429:5: branch_false: following ‘false’ branch (when ‘start’ is non-NULL)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:430:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:430:5: branch_false: following ‘false’ branch (when ‘nBits > 16’)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:432:13: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:432:13: acquire_memory: allocated here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:433:5: branch_false: following ‘false’ branch (when ‘sieve’ is non-NULL)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:435:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:437:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:438:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:438:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:442:8: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:470:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:471:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:471:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:472:14: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:476:5: call_function: calling ‘mpp_sieve’ from ‘mpp_make_prime_ext_random’
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:476:5: return_function: returning to ‘mpp_make_prime_ext_random’ from ‘mpp_sieve’
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:476:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:476:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:492:17: branch_true: following ‘true’ branch (when ‘i != 32768’)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:493:18: branch_true: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:493:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:495:9: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:495:9: throw: if ‘mp_add_d’ throws an exception...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:495:9: danger: ‘sieve’ leaks here; was allocated at [(6)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/5)
#  493|           if (sieve[i]) /* this number is composite */
#  494|               continue;
#  495|->         MP_CHECKOK(mp_add_d(start, 2 * i, &trial));
#  496|           FPUTC('.', stderr);
#  497|           /* run a Fermat test */

Error: GCC_ANALYZER_WARNING (CWE-401): [#def396]
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:562:5: warning[-Wanalyzer-malloc-leak]: leak of ‘sieve’
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:429:5: branch_false: following ‘false’ branch (when ‘start’ is non-NULL)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:430:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:430:5: branch_false: following ‘false’ branch (when ‘nBits > 16’)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:432:13: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:432:13: acquire_memory: allocated here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:433:5: branch_false: following ‘false’ branch (when ‘sieve’ is non-NULL)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:435:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:437:5: branch_true: following ‘true’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:437:5: branch_true: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:562:5: throw: if ‘mp_clear’ throws an exception...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:562:5: danger: ‘sieve’ leaks here; was allocated at [(5)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/4)
#  560|           mp_exch(&trial, start);
#  561|   CLEANUP:
#  562|->     mp_clear(&trial);
#  563|       mp_clear(&q);
#  564|       if (sieve != NULL) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def397]
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:563:5: warning[-Wanalyzer-malloc-leak]: leak of ‘sieve’
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:429:5: branch_false: following ‘false’ branch (when ‘start’ is non-NULL)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:430:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:430:5: branch_false: following ‘false’ branch (when ‘nBits > 16’)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:432:13: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:432:13: acquire_memory: allocated here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:433:5: branch_false: following ‘false’ branch (when ‘sieve’ is non-NULL)...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:435:5: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:437:5: branch_true: following ‘true’ branch...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:437:5: branch_true: ...to here
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:563:5: throw: if ‘mp_clear’ throws an exception...
nss-3_119_1/nss/lib/freebl/mpi/mpprime.c:563:5: danger: ‘sieve’ leaks here; was allocated at [(5)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/4)
#  561|   CLEANUP:
#  562|       mp_clear(&trial);
#  563|->     mp_clear(&q);
#  564|       if (sieve != NULL) {
#  565|           memset(sieve, 0, SIEVE_SIZE);

Error: CPPCHECK_WARNING (CWE-758): [#def398]
nss-3_119_1/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): [#def399]
nss-3_119_1/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): [#def400]
nss-3_119_1/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): [#def401]
nss-3_119_1/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): [#def402]
nss-3_119_1/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): [#def403]
nss-3_119_1/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: COMPILER_WARNING: [#def404]
nss-3_119_1/nss/lib/freebl/sha256-x86.c:87:10: note[note]: called from here
#   85|       th = _mm_shuffle_epi32(h0, 0xb1);
#   86|       h1 = _mm_shuffle_epi32(h1, 0x1b);
#   87|->     h0 = _mm_alignr_epi8(th, h1, 8);
#   88|       h1 = _mm_blend_epi16(h1, th, 0xf0);
#   89|   

Error: COMPILER_WARNING: [#def405]
nss-3_119_1/nss/lib/freebl/sha256-x86.c:88:10: note[note]: called from here
#   86|       h1 = _mm_shuffle_epi32(h1, 0x1b);
#   87|       h0 = _mm_alignr_epi8(th, h1, 8);
#   88|->     h1 = _mm_blend_epi16(h1, th, 0xf0);
#   89|   
#   90|       a = _mm_shuffle_epi8(_mm_loadu_si128(input), shuffle);

Error: COMPILER_WARNING: [#def406]
nss-3_119_1/nss/lib/freebl/sha256-x86.c:90:9: note[note]: called from here
#   88|       h1 = _mm_blend_epi16(h1, th, 0xf0);
#   89|   
#   90|->     a = _mm_shuffle_epi8(_mm_loadu_si128(input), shuffle);
#   91|       b = _mm_shuffle_epi8(_mm_loadu_si128(input + 1), shuffle);
#   92|       c = _mm_shuffle_epi8(_mm_loadu_si128(input + 2), shuffle);

Error: COMPILER_WARNING: [#def407]
nss-3_119_1/nss/lib/freebl/sha256-x86.c:91:9: note[note]: called from here
#   89|   
#   90|       a = _mm_shuffle_epi8(_mm_loadu_si128(input), shuffle);
#   91|->     b = _mm_shuffle_epi8(_mm_loadu_si128(input + 1), shuffle);
#   92|       c = _mm_shuffle_epi8(_mm_loadu_si128(input + 2), shuffle);
#   93|       d = _mm_shuffle_epi8(_mm_loadu_si128(input + 3), shuffle);

Error: COMPILER_WARNING: [#def408]
nss-3_119_1/nss/lib/freebl/sha256-x86.c:92:9: note[note]: called from here
#   90|       a = _mm_shuffle_epi8(_mm_loadu_si128(input), shuffle);
#   91|       b = _mm_shuffle_epi8(_mm_loadu_si128(input + 1), shuffle);
#   92|->     c = _mm_shuffle_epi8(_mm_loadu_si128(input + 2), shuffle);
#   93|       d = _mm_shuffle_epi8(_mm_loadu_si128(input + 3), shuffle);
#   94|   

Error: COMPILER_WARNING: [#def409]
nss-3_119_1/nss/lib/freebl/sha256-x86.c:93:9: note[note]: called from here
#   91|       b = _mm_shuffle_epi8(_mm_loadu_si128(input + 1), shuffle);
#   92|       c = _mm_shuffle_epi8(_mm_loadu_si128(input + 2), shuffle);
#   93|->     d = _mm_shuffle_epi8(_mm_loadu_si128(input + 3), shuffle);
#   94|   
#   95|       w0 = h0;

Error: COMPILER_WARNING: [#def410]
nss-3_119_1/nss/lib/freebl/sha256-x86.c:98:5: note[note]: called from here
#   96|       w1 = h1;
#   97|   
#   98|->     ROUND(0, a, b, c, d)
#   99|       ROUND(1, b, c, d, a)
#  100|       ROUND(2, c, d, a, b)

Error: COMPILER_WARNING: [#def411]
nss-3_119_1/nss/lib/freebl/sha256-x86.c:99:5: note[note]: called from here
#   97|   
#   98|       ROUND(0, a, b, c, d)
#   99|->     ROUND(1, b, c, d, a)
#  100|       ROUND(2, c, d, a, b)
#  101|       ROUND(3, d, a, b, c)

Error: COMPILER_WARNING: [#def412]
nss-3_119_1/nss/lib/freebl/sha256-x86.c:100:5: note[note]: called from here
#   98|       ROUND(0, a, b, c, d)
#   99|       ROUND(1, b, c, d, a)
#  100|->     ROUND(2, c, d, a, b)
#  101|       ROUND(3, d, a, b, c)
#  102|       ROUND(4, a, b, c, d)

Error: COMPILER_WARNING: [#def413]
nss-3_119_1/nss/lib/freebl/sha256-x86.c:101:5: note[note]: called from here
#   99|       ROUND(1, b, c, d, a)
#  100|       ROUND(2, c, d, a, b)
#  101|->     ROUND(3, d, a, b, c)
#  102|       ROUND(4, a, b, c, d)
#  103|       ROUND(5, b, c, d, a)

Error: COMPILER_WARNING: [#def414]
nss-3_119_1/nss/lib/freebl/sha256-x86.c:102:5: note[note]: called from here
#  100|       ROUND(2, c, d, a, b)
#  101|       ROUND(3, d, a, b, c)
#  102|->     ROUND(4, a, b, c, d)
#  103|       ROUND(5, b, c, d, a)
#  104|       ROUND(6, c, d, a, b)

Error: COMPILER_WARNING: [#def415]
nss-3_119_1/nss/lib/freebl/sha256-x86.c:103:5: note[note]: called from here
#  101|       ROUND(3, d, a, b, c)
#  102|       ROUND(4, a, b, c, d)
#  103|->     ROUND(5, b, c, d, a)
#  104|       ROUND(6, c, d, a, b)
#  105|       ROUND(7, d, a, b, c)

Error: COMPILER_WARNING: [#def416]
nss-3_119_1/nss/lib/freebl/sha256-x86.c:104:5: note[note]: called from here
#  102|       ROUND(4, a, b, c, d)
#  103|       ROUND(5, b, c, d, a)
#  104|->     ROUND(6, c, d, a, b)
#  105|       ROUND(7, d, a, b, c)
#  106|       ROUND(8, a, b, c, d)

Error: COMPILER_WARNING: [#def417]
nss-3_119_1/nss/lib/freebl/sha256-x86.c:105:5: note[note]: called from here
#  103|       ROUND(5, b, c, d, a)
#  104|       ROUND(6, c, d, a, b)
#  105|->     ROUND(7, d, a, b, c)
#  106|       ROUND(8, a, b, c, d)
#  107|       ROUND(9, b, c, d, a)

Error: COMPILER_WARNING: [#def418]
nss-3_119_1/nss/lib/freebl/sha256-x86.c:106:5: note[note]: called from here
#  104|       ROUND(6, c, d, a, b)
#  105|       ROUND(7, d, a, b, c)
#  106|->     ROUND(8, a, b, c, d)
#  107|       ROUND(9, b, c, d, a)
#  108|       ROUND(10, c, d, a, b)

Error: COMPILER_WARNING: [#def419]
nss-3_119_1/nss/lib/freebl/sha256-x86.c:107:5: note[note]: called from here
#  105|       ROUND(7, d, a, b, c)
#  106|       ROUND(8, a, b, c, d)
#  107|->     ROUND(9, b, c, d, a)
#  108|       ROUND(10, c, d, a, b)
#  109|       ROUND(11, d, a, b, c)

Error: COMPILER_WARNING: [#def420]
nss-3_119_1/nss/lib/freebl/sha256-x86.c:108:5: note[note]: called from here
#  106|       ROUND(8, a, b, c, d)
#  107|       ROUND(9, b, c, d, a)
#  108|->     ROUND(10, c, d, a, b)
#  109|       ROUND(11, d, a, b, c)
#  110|       ROUND(12, a, b, c, d)

Error: COMPILER_WARNING: [#def421]
nss-3_119_1/nss/lib/freebl/sha256-x86.c:109:5: note[note]: called from here
#  107|       ROUND(9, b, c, d, a)
#  108|       ROUND(10, c, d, a, b)
#  109|->     ROUND(11, d, a, b, c)
#  110|       ROUND(12, a, b, c, d)
#  111|       ROUND(13, b, c, d, a)

Error: COMPILER_WARNING: [#def422]
nss-3_119_1/nss/lib/freebl/sha256-x86.c:110:5: note[note]: called from here
#  108|       ROUND(10, c, d, a, b)
#  109|       ROUND(11, d, a, b, c)
#  110|->     ROUND(12, a, b, c, d)
#  111|       ROUND(13, b, c, d, a)
#  112|       ROUND(14, c, d, a, b)

Error: COMPILER_WARNING: [#def423]
nss-3_119_1/nss/lib/freebl/sha256-x86.c:111:5: note[note]: called from here
#  109|       ROUND(11, d, a, b, c)
#  110|       ROUND(12, a, b, c, d)
#  111|->     ROUND(13, b, c, d, a)
#  112|       ROUND(14, c, d, a, b)
#  113|       ROUND(15, d, a, b, c)

Error: COMPILER_WARNING: [#def424]
nss-3_119_1/nss/lib/freebl/sha256-x86.c:112:5: note[note]: called from here
#  110|       ROUND(12, a, b, c, d)
#  111|       ROUND(13, b, c, d, a)
#  112|->     ROUND(14, c, d, a, b)
#  113|       ROUND(15, d, a, b, c)
#  114|   

Error: COMPILER_WARNING: [#def425]
nss-3_119_1/nss/lib/freebl/sha256-x86.c:113:5: note[note]: called from here
#  111|       ROUND(13, b, c, d, a)
#  112|       ROUND(14, c, d, a, b)
#  113|->     ROUND(15, d, a, b, c)
#  114|   
#  115|       h0 = _mm_add_epi32(h0, w0);

Error: COMPILER_WARNING: [#def426]
nss-3_119_1/nss/lib/freebl/sha256-x86.c:121:10: note[note]: called from here
#  119|       th = _mm_shuffle_epi32(h0, 0x1b);
#  120|       h1 = _mm_shuffle_epi32(h1, 0xb1);
#  121|->     h0 = _mm_blend_epi16(th, h1, 0xf0);
#  122|       h1 = _mm_alignr_epi8(h1, th, 8);
#  123|   

Error: COMPILER_WARNING: [#def427]
nss-3_119_1/nss/lib/freebl/sha256-x86.c:122:10: note[note]: called from here
#  120|       h1 = _mm_shuffle_epi32(h1, 0xb1);
#  121|       h0 = _mm_blend_epi16(th, h1, 0xf0);
#  122|->     h1 = _mm_alignr_epi8(h1, th, 8);
#  123|   
#  124|       _mm_storeu_si128((__m128i *)ctx->h, h0);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def428]
nss-3_119_1/nss/lib/freebl/stubs.c:268:5: warning[-Wanalyzer-malloc-leak]: leak of ‘mem’
nss-3_119_1/nss/lib/freebl/stubs.c:266:1: enter_function: entry to ‘PORT_ZAllocAlignedOffset_stub’
nss-3_119_1/nss/lib/freebl/stubs.c:268:5: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/stubs.c:269:8: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/stubs.c:269:8: branch_false: following ‘false’ branch (when ‘offset <= size’)...
nss-3_119_1/nss/lib/freebl/stubs.c:273:11: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/stubs.c:274:15: call_function: calling ‘PORT_ZAllocAligned_stub’ from ‘PORT_ZAllocAlignedOffset_stub’
nss-3_119_1/nss/lib/freebl/stubs.c:274:15: return_function: returning to ‘PORT_ZAllocAlignedOffset_stub’ from ‘PORT_ZAllocAligned_stub’
nss-3_119_1/nss/lib/freebl/stubs.c:275:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/lib/freebl/stubs.c:268:5: branch_true: ...to here
nss-3_119_1/nss/lib/freebl/stubs.c:268:5: danger: ‘mem’ leaks here; was allocated at [(16)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/15)
#  266|   PORT_ZAllocAlignedOffset_stub(size_t size, size_t alignment, size_t offset)
#  267|   {
#  268|->     STUB_SAFE_CALL3(PORT_ZAllocAlignedOffset_Util, size, alignment, offset);
#  269|       if (offset > size) {
#  270|           return NULL;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def429]
nss-3_119_1/nss/lib/freebl/unix_urandom.c:74:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/urandom", 0)’
nss-3_119_1/nss/lib/freebl/unix_urandom.c:16:1: enter_function: entry to ‘RNG_SystemInfoForRNG’
nss-3_119_1/nss/lib/freebl/unix_urandom.c:19:23: call_function: calling ‘RNG_SystemRNG’ from ‘RNG_SystemInfoForRNG’
#   72|       }
#   73|       while (fileBytes < maxLen) {
#   74|->         bytes = read(fd, buffer, maxLen - fileBytes);
#   75|           if (bytes <= 0) {
#   76|               break;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def430]
nss-3_119_1/nss/lib/freebl/unix_urandom.c:81:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/urandom", 0)’
nss-3_119_1/nss/lib/freebl/unix_urandom.c:55:8: branch_false: following ‘false’ branch (when ‘fileBytes != maxLen’)...
nss-3_119_1/nss/lib/freebl/unix_urandom.c:60:9: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/unix_urandom.c:60:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/unix_urandom.c:68:10: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/unix_urandom.c:68:10: acquire_resource: opened here
nss-3_119_1/nss/lib/freebl/unix_urandom.c:69:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/freebl/unix_urandom.c:69:8: branch_false: ...to here
nss-3_119_1/nss/lib/freebl/unix_urandom.c:81:11: danger: ‘open("/dev/urandom", 0)’ leaks here; was opened at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
#   79|           buffer += bytes;
#   80|       }
#   81|->     (void)close(fd);
#   82|       if (fileBytes != maxLen) {
#   83|           PORT_SetError(SEC_ERROR_NEED_RANDOM);

Error: COMPILER_WARNING: [#def431]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:54:50: note[note]: called from here
#   52|               KRML_PRE_ALIGN(32)
#   53|               Lib_IntVector_Intrinsics_vec256 e[5U] KRML_POST_ALIGN(32) = { 0U };
#   54|->             Lib_IntVector_Intrinsics_vec256 lo = Lib_IntVector_Intrinsics_vec256_load64_le(block);
#   55|               Lib_IntVector_Intrinsics_vec256
#   56|                   hi = Lib_IntVector_Intrinsics_vec256_load64_le(block + (uint32_t)32U);

Error: COMPILER_WARNING: [#def432]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:56:22: note[note]: called from here
#   54|               Lib_IntVector_Intrinsics_vec256 lo = Lib_IntVector_Intrinsics_vec256_load64_le(block);
#   55|               Lib_IntVector_Intrinsics_vec256
#   56|->                 hi = Lib_IntVector_Intrinsics_vec256_load64_le(block + (uint32_t)32U);
#   57|               Lib_IntVector_Intrinsics_vec256
#   58|                   mask260 = Lib_IntVector_Intrinsics_vec256_load64((uint64_t)0x3ffffffU);

Error: COMPILER_WARNING: [#def433]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:58:27: note[note]: called from here
#   56|                   hi = Lib_IntVector_Intrinsics_vec256_load64_le(block + (uint32_t)32U);
#   57|               Lib_IntVector_Intrinsics_vec256
#   58|->                 mask260 = Lib_IntVector_Intrinsics_vec256_load64((uint64_t)0x3ffffffU);
#   59|               Lib_IntVector_Intrinsics_vec256
#   60|                   m0 = Lib_IntVector_Intrinsics_vec256_interleave_low128(lo, hi);

Error: COMPILER_WARNING: [#def434]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:60:22: note[note]: called from here
#   58|                   mask260 = Lib_IntVector_Intrinsics_vec256_load64((uint64_t)0x3ffffffU);
#   59|               Lib_IntVector_Intrinsics_vec256
#   60|->                 m0 = Lib_IntVector_Intrinsics_vec256_interleave_low128(lo, hi);
#   61|               Lib_IntVector_Intrinsics_vec256
#   62|                   m1 = Lib_IntVector_Intrinsics_vec256_interleave_high128(lo, hi);

Error: COMPILER_WARNING: [#def435]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:62:22: note[note]: called from here
#   60|                   m0 = Lib_IntVector_Intrinsics_vec256_interleave_low128(lo, hi);
#   61|               Lib_IntVector_Intrinsics_vec256
#   62|->                 m1 = Lib_IntVector_Intrinsics_vec256_interleave_high128(lo, hi);
#   63|               Lib_IntVector_Intrinsics_vec256
#   64|                   m2 = Lib_IntVector_Intrinsics_vec256_shift_right(m0, (uint32_t)48U);

Error: COMPILER_WARNING: [#def436]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:64:22: note[note]: called from here
#   62|                   m1 = Lib_IntVector_Intrinsics_vec256_interleave_high128(lo, hi);
#   63|               Lib_IntVector_Intrinsics_vec256
#   64|->                 m2 = Lib_IntVector_Intrinsics_vec256_shift_right(m0, (uint32_t)48U);
#   65|               Lib_IntVector_Intrinsics_vec256
#   66|                   m3 = Lib_IntVector_Intrinsics_vec256_shift_right(m1, (uint32_t)48U);

Error: COMPILER_WARNING: [#def437]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:66:22: note[note]: called from here
#   64|                   m2 = Lib_IntVector_Intrinsics_vec256_shift_right(m0, (uint32_t)48U);
#   65|               Lib_IntVector_Intrinsics_vec256
#   66|->                 m3 = Lib_IntVector_Intrinsics_vec256_shift_right(m1, (uint32_t)48U);
#   67|               Lib_IntVector_Intrinsics_vec256
#   68|                   m4 = Lib_IntVector_Intrinsics_vec256_interleave_high64(m0, m1);

Error: COMPILER_WARNING: [#def438]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:68:22: note[note]: called from here
#   66|                   m3 = Lib_IntVector_Intrinsics_vec256_shift_right(m1, (uint32_t)48U);
#   67|               Lib_IntVector_Intrinsics_vec256
#   68|->                 m4 = Lib_IntVector_Intrinsics_vec256_interleave_high64(m0, m1);
#   69|               Lib_IntVector_Intrinsics_vec256
#   70|                   t010 = Lib_IntVector_Intrinsics_vec256_interleave_low64(m0, m1);

Error: COMPILER_WARNING: [#def439]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:70:24: note[note]: called from here
#   68|                   m4 = Lib_IntVector_Intrinsics_vec256_interleave_high64(m0, m1);
#   69|               Lib_IntVector_Intrinsics_vec256
#   70|->                 t010 = Lib_IntVector_Intrinsics_vec256_interleave_low64(m0, m1);
#   71|               Lib_IntVector_Intrinsics_vec256
#   72|                   t30 = Lib_IntVector_Intrinsics_vec256_interleave_low64(m2, m3);

Error: COMPILER_WARNING: [#def440]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:72:23: note[note]: called from here
#   70|                   t010 = Lib_IntVector_Intrinsics_vec256_interleave_low64(m0, m1);
#   71|               Lib_IntVector_Intrinsics_vec256
#   72|->                 t30 = Lib_IntVector_Intrinsics_vec256_interleave_low64(m2, m3);
#   73|               Lib_IntVector_Intrinsics_vec256
#   74|                   t20 = Lib_IntVector_Intrinsics_vec256_shift_right64(t30, (uint32_t)4U);

Error: COMPILER_WARNING: [#def441]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:74:23: note[note]: called from here
#   72|                   t30 = Lib_IntVector_Intrinsics_vec256_interleave_low64(m2, m3);
#   73|               Lib_IntVector_Intrinsics_vec256
#   74|->                 t20 = Lib_IntVector_Intrinsics_vec256_shift_right64(t30, (uint32_t)4U);
#   75|               Lib_IntVector_Intrinsics_vec256 o20 = Lib_IntVector_Intrinsics_vec256_and(t20, mask260);
#   76|               Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def442]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:75:51: note[note]: called from here
#   73|               Lib_IntVector_Intrinsics_vec256
#   74|                   t20 = Lib_IntVector_Intrinsics_vec256_shift_right64(t30, (uint32_t)4U);
#   75|->             Lib_IntVector_Intrinsics_vec256 o20 = Lib_IntVector_Intrinsics_vec256_and(t20, mask260);
#   76|               Lib_IntVector_Intrinsics_vec256
#   77|                   t10 = Lib_IntVector_Intrinsics_vec256_shift_right64(t010, (uint32_t)26U);

Error: COMPILER_WARNING: [#def443]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:77:23: note[note]: called from here
#   75|               Lib_IntVector_Intrinsics_vec256 o20 = Lib_IntVector_Intrinsics_vec256_and(t20, mask260);
#   76|               Lib_IntVector_Intrinsics_vec256
#   77|->                 t10 = Lib_IntVector_Intrinsics_vec256_shift_right64(t010, (uint32_t)26U);
#   78|               Lib_IntVector_Intrinsics_vec256 o10 = Lib_IntVector_Intrinsics_vec256_and(t10, mask260);
#   79|               Lib_IntVector_Intrinsics_vec256 o5 = Lib_IntVector_Intrinsics_vec256_and(t010, mask260);

Error: COMPILER_WARNING: [#def444]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:78:51: note[note]: called from here
#   76|               Lib_IntVector_Intrinsics_vec256
#   77|                   t10 = Lib_IntVector_Intrinsics_vec256_shift_right64(t010, (uint32_t)26U);
#   78|->             Lib_IntVector_Intrinsics_vec256 o10 = Lib_IntVector_Intrinsics_vec256_and(t10, mask260);
#   79|               Lib_IntVector_Intrinsics_vec256 o5 = Lib_IntVector_Intrinsics_vec256_and(t010, mask260);
#   80|               Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def445]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:79:50: note[note]: called from here
#   77|                   t10 = Lib_IntVector_Intrinsics_vec256_shift_right64(t010, (uint32_t)26U);
#   78|               Lib_IntVector_Intrinsics_vec256 o10 = Lib_IntVector_Intrinsics_vec256_and(t10, mask260);
#   79|->             Lib_IntVector_Intrinsics_vec256 o5 = Lib_IntVector_Intrinsics_vec256_and(t010, mask260);
#   80|               Lib_IntVector_Intrinsics_vec256
#   81|                   t31 = Lib_IntVector_Intrinsics_vec256_shift_right64(t30, (uint32_t)30U);

Error: COMPILER_WARNING: [#def446]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:81:23: note[note]: called from here
#   79|               Lib_IntVector_Intrinsics_vec256 o5 = Lib_IntVector_Intrinsics_vec256_and(t010, mask260);
#   80|               Lib_IntVector_Intrinsics_vec256
#   81|->                 t31 = Lib_IntVector_Intrinsics_vec256_shift_right64(t30, (uint32_t)30U);
#   82|               Lib_IntVector_Intrinsics_vec256 o30 = Lib_IntVector_Intrinsics_vec256_and(t31, mask260);
#   83|               Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def447]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:82:51: note[note]: called from here
#   80|               Lib_IntVector_Intrinsics_vec256
#   81|                   t31 = Lib_IntVector_Intrinsics_vec256_shift_right64(t30, (uint32_t)30U);
#   82|->             Lib_IntVector_Intrinsics_vec256 o30 = Lib_IntVector_Intrinsics_vec256_and(t31, mask260);
#   83|               Lib_IntVector_Intrinsics_vec256
#   84|                   o40 = Lib_IntVector_Intrinsics_vec256_shift_right64(m4, (uint32_t)40U);

Error: COMPILER_WARNING: [#def448]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:84:23: note[note]: called from here
#   82|               Lib_IntVector_Intrinsics_vec256 o30 = Lib_IntVector_Intrinsics_vec256_and(t31, mask260);
#   83|               Lib_IntVector_Intrinsics_vec256
#   84|->                 o40 = Lib_IntVector_Intrinsics_vec256_shift_right64(m4, (uint32_t)40U);
#   85|               Lib_IntVector_Intrinsics_vec256 o00 = o5;
#   86|               Lib_IntVector_Intrinsics_vec256 o11 = o10;

Error: COMPILER_WARNING: [#def449]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:96:52: note[note]: called from here
#   94|               e[4U] = o41;
#   95|               uint64_t b = (uint64_t)0x1000000U;
#   96|->             Lib_IntVector_Intrinsics_vec256 mask = Lib_IntVector_Intrinsics_vec256_load64(b);
#   97|               Lib_IntVector_Intrinsics_vec256 f4 = e[4U];
#   98|               e[4U] = Lib_IntVector_Intrinsics_vec256_or(f4, mask);

Error: COMPILER_WARNING: [#def450]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:98:21: note[note]: called from here
#   96|               Lib_IntVector_Intrinsics_vec256 mask = Lib_IntVector_Intrinsics_vec256_load64(b);
#   97|               Lib_IntVector_Intrinsics_vec256 f4 = e[4U];
#   98|->             e[4U] = Lib_IntVector_Intrinsics_vec256_or(f4, mask);
#   99|               Lib_IntVector_Intrinsics_vec256 *rn = pre0 + (uint32_t)10U;
#  100|               Lib_IntVector_Intrinsics_vec256 *rn5 = pre0 + (uint32_t)15U;

Error: COMPILER_WARNING: [#def451]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:115:50: note[note]: called from here
#  113|               Lib_IntVector_Intrinsics_vec256 f130 = acc0[3U];
#  114|               Lib_IntVector_Intrinsics_vec256 f140 = acc0[4U];
#  115|->             Lib_IntVector_Intrinsics_vec256 a0 = Lib_IntVector_Intrinsics_vec256_mul64(r0, f10);
#  116|               Lib_IntVector_Intrinsics_vec256 a1 = Lib_IntVector_Intrinsics_vec256_mul64(r1, f10);
#  117|               Lib_IntVector_Intrinsics_vec256 a2 = Lib_IntVector_Intrinsics_vec256_mul64(r2, f10);

Error: COMPILER_WARNING: [#def452]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:116:50: note[note]: called from here
#  114|               Lib_IntVector_Intrinsics_vec256 f140 = acc0[4U];
#  115|               Lib_IntVector_Intrinsics_vec256 a0 = Lib_IntVector_Intrinsics_vec256_mul64(r0, f10);
#  116|->             Lib_IntVector_Intrinsics_vec256 a1 = Lib_IntVector_Intrinsics_vec256_mul64(r1, f10);
#  117|               Lib_IntVector_Intrinsics_vec256 a2 = Lib_IntVector_Intrinsics_vec256_mul64(r2, f10);
#  118|               Lib_IntVector_Intrinsics_vec256 a3 = Lib_IntVector_Intrinsics_vec256_mul64(r3, f10);

Error: COMPILER_WARNING: [#def453]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:117:50: note[note]: called from here
#  115|               Lib_IntVector_Intrinsics_vec256 a0 = Lib_IntVector_Intrinsics_vec256_mul64(r0, f10);
#  116|               Lib_IntVector_Intrinsics_vec256 a1 = Lib_IntVector_Intrinsics_vec256_mul64(r1, f10);
#  117|->             Lib_IntVector_Intrinsics_vec256 a2 = Lib_IntVector_Intrinsics_vec256_mul64(r2, f10);
#  118|               Lib_IntVector_Intrinsics_vec256 a3 = Lib_IntVector_Intrinsics_vec256_mul64(r3, f10);
#  119|               Lib_IntVector_Intrinsics_vec256 a4 = Lib_IntVector_Intrinsics_vec256_mul64(r4, f10);

Error: COMPILER_WARNING: [#def454]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:118:50: note[note]: called from here
#  116|               Lib_IntVector_Intrinsics_vec256 a1 = Lib_IntVector_Intrinsics_vec256_mul64(r1, f10);
#  117|               Lib_IntVector_Intrinsics_vec256 a2 = Lib_IntVector_Intrinsics_vec256_mul64(r2, f10);
#  118|->             Lib_IntVector_Intrinsics_vec256 a3 = Lib_IntVector_Intrinsics_vec256_mul64(r3, f10);
#  119|               Lib_IntVector_Intrinsics_vec256 a4 = Lib_IntVector_Intrinsics_vec256_mul64(r4, f10);
#  120|               Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def455]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:119:50: note[note]: called from here
#  117|               Lib_IntVector_Intrinsics_vec256 a2 = Lib_IntVector_Intrinsics_vec256_mul64(r2, f10);
#  118|               Lib_IntVector_Intrinsics_vec256 a3 = Lib_IntVector_Intrinsics_vec256_mul64(r3, f10);
#  119|->             Lib_IntVector_Intrinsics_vec256 a4 = Lib_IntVector_Intrinsics_vec256_mul64(r4, f10);
#  120|               Lib_IntVector_Intrinsics_vec256
#  121|                   a01 =

Error: COMPILER_WARNING: [#def456]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:122:21: note[note]: called from here
#  120|               Lib_IntVector_Intrinsics_vec256
#  121|                   a01 =
#  122|->                     Lib_IntVector_Intrinsics_vec256_add64(a0,
#  123|                                                             Lib_IntVector_Intrinsics_vec256_mul64(r54, f110));
#  124|               Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def457]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:126:21: note[note]: called from here
#  124|               Lib_IntVector_Intrinsics_vec256
#  125|                   a11 =
#  126|->                     Lib_IntVector_Intrinsics_vec256_add64(a1,
#  127|                                                             Lib_IntVector_Intrinsics_vec256_mul64(r0, f110));
#  128|               Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def458]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:130:21: note[note]: called from here
#  128|               Lib_IntVector_Intrinsics_vec256
#  129|                   a21 =
#  130|->                     Lib_IntVector_Intrinsics_vec256_add64(a2,
#  131|                                                             Lib_IntVector_Intrinsics_vec256_mul64(r1, f110));
#  132|               Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def459]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:134:21: note[note]: called from here
#  132|               Lib_IntVector_Intrinsics_vec256
#  133|                   a31 =
#  134|->                     Lib_IntVector_Intrinsics_vec256_add64(a3,
#  135|                                                             Lib_IntVector_Intrinsics_vec256_mul64(r2, f110));
#  136|               Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def460]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:138:21: note[note]: called from here
#  136|               Lib_IntVector_Intrinsics_vec256
#  137|                   a41 =
#  138|->                     Lib_IntVector_Intrinsics_vec256_add64(a4,
#  139|                                                             Lib_IntVector_Intrinsics_vec256_mul64(r3, f110));
#  140|               Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def461]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:142:21: note[note]: called from here
#  140|               Lib_IntVector_Intrinsics_vec256
#  141|                   a02 =
#  142|->                     Lib_IntVector_Intrinsics_vec256_add64(a01,
#  143|                                                             Lib_IntVector_Intrinsics_vec256_mul64(r53, f120));
#  144|               Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def462]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:146:21: note[note]: called from here
#  144|               Lib_IntVector_Intrinsics_vec256
#  145|                   a12 =
#  146|->                     Lib_IntVector_Intrinsics_vec256_add64(a11,
#  147|                                                             Lib_IntVector_Intrinsics_vec256_mul64(r54, f120));
#  148|               Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def463]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:150:21: note[note]: called from here
#  148|               Lib_IntVector_Intrinsics_vec256
#  149|                   a22 =
#  150|->                     Lib_IntVector_Intrinsics_vec256_add64(a21,
#  151|                                                             Lib_IntVector_Intrinsics_vec256_mul64(r0, f120));
#  152|               Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def464]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:154:21: note[note]: called from here
#  152|               Lib_IntVector_Intrinsics_vec256
#  153|                   a32 =
#  154|->                     Lib_IntVector_Intrinsics_vec256_add64(a31,
#  155|                                                             Lib_IntVector_Intrinsics_vec256_mul64(r1, f120));
#  156|               Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def465]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:158:21: note[note]: called from here
#  156|               Lib_IntVector_Intrinsics_vec256
#  157|                   a42 =
#  158|->                     Lib_IntVector_Intrinsics_vec256_add64(a41,
#  159|                                                             Lib_IntVector_Intrinsics_vec256_mul64(r2, f120));
#  160|               Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def466]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:162:21: note[note]: called from here
#  160|               Lib_IntVector_Intrinsics_vec256
#  161|                   a03 =
#  162|->                     Lib_IntVector_Intrinsics_vec256_add64(a02,
#  163|                                                             Lib_IntVector_Intrinsics_vec256_mul64(r52, f130));
#  164|               Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def467]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:166:21: note[note]: called from here
#  164|               Lib_IntVector_Intrinsics_vec256
#  165|                   a13 =
#  166|->                     Lib_IntVector_Intrinsics_vec256_add64(a12,
#  167|                                                             Lib_IntVector_Intrinsics_vec256_mul64(r53, f130));
#  168|               Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def468]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:170:21: note[note]: called from here
#  168|               Lib_IntVector_Intrinsics_vec256
#  169|                   a23 =
#  170|->                     Lib_IntVector_Intrinsics_vec256_add64(a22,
#  171|                                                             Lib_IntVector_Intrinsics_vec256_mul64(r54, f130));
#  172|               Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def469]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:174:21: note[note]: called from here
#  172|               Lib_IntVector_Intrinsics_vec256
#  173|                   a33 =
#  174|->                     Lib_IntVector_Intrinsics_vec256_add64(a32,
#  175|                                                             Lib_IntVector_Intrinsics_vec256_mul64(r0, f130));
#  176|               Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def470]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:178:21: note[note]: called from here
#  176|               Lib_IntVector_Intrinsics_vec256
#  177|                   a43 =
#  178|->                     Lib_IntVector_Intrinsics_vec256_add64(a42,
#  179|                                                             Lib_IntVector_Intrinsics_vec256_mul64(r1, f130));
#  180|               Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def471]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:182:21: note[note]: called from here
#  180|               Lib_IntVector_Intrinsics_vec256
#  181|                   a04 =
#  182|->                     Lib_IntVector_Intrinsics_vec256_add64(a03,
#  183|                                                             Lib_IntVector_Intrinsics_vec256_mul64(r51, f140));
#  184|               Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def472]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:186:21: note[note]: called from here
#  184|               Lib_IntVector_Intrinsics_vec256
#  185|                   a14 =
#  186|->                     Lib_IntVector_Intrinsics_vec256_add64(a13,
#  187|                                                             Lib_IntVector_Intrinsics_vec256_mul64(r52, f140));
#  188|               Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def473]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:190:21: note[note]: called from here
#  188|               Lib_IntVector_Intrinsics_vec256
#  189|                   a24 =
#  190|->                     Lib_IntVector_Intrinsics_vec256_add64(a23,
#  191|                                                             Lib_IntVector_Intrinsics_vec256_mul64(r53, f140));
#  192|               Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def474]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:194:21: note[note]: called from here
#  192|               Lib_IntVector_Intrinsics_vec256
#  193|                   a34 =
#  194|->                     Lib_IntVector_Intrinsics_vec256_add64(a33,
#  195|                                                             Lib_IntVector_Intrinsics_vec256_mul64(r54, f140));
#  196|               Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def475]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:198:21: note[note]: called from here
#  196|               Lib_IntVector_Intrinsics_vec256
#  197|                   a44 =
#  198|->                     Lib_IntVector_Intrinsics_vec256_add64(a43,
#  199|                                                             Lib_IntVector_Intrinsics_vec256_mul64(r0, f140));
#  200|               Lib_IntVector_Intrinsics_vec256 t01 = a04;

Error: COMPILER_WARNING: [#def476]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:206:26: note[note]: called from here
#  204|               Lib_IntVector_Intrinsics_vec256 t4 = a44;
#  205|               Lib_IntVector_Intrinsics_vec256
#  206|->                 mask26 = Lib_IntVector_Intrinsics_vec256_load64((uint64_t)0x3ffffffU);
#  207|               Lib_IntVector_Intrinsics_vec256
#  208|                   z0 = Lib_IntVector_Intrinsics_vec256_shift_right64(t01, (uint32_t)26U);

Error: COMPILER_WARNING: [#def477]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:208:22: note[note]: called from here
#  206|                   mask26 = Lib_IntVector_Intrinsics_vec256_load64((uint64_t)0x3ffffffU);
#  207|               Lib_IntVector_Intrinsics_vec256
#  208|->                 z0 = Lib_IntVector_Intrinsics_vec256_shift_right64(t01, (uint32_t)26U);
#  209|               Lib_IntVector_Intrinsics_vec256
#  210|                   z1 = Lib_IntVector_Intrinsics_vec256_shift_right64(t3, (uint32_t)26U);

Error: COMPILER_WARNING: [#def478]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:210:22: note[note]: called from here
#  208|                   z0 = Lib_IntVector_Intrinsics_vec256_shift_right64(t01, (uint32_t)26U);
#  209|               Lib_IntVector_Intrinsics_vec256
#  210|->                 z1 = Lib_IntVector_Intrinsics_vec256_shift_right64(t3, (uint32_t)26U);
#  211|               Lib_IntVector_Intrinsics_vec256 x0 = Lib_IntVector_Intrinsics_vec256_and(t01, mask26);
#  212|               Lib_IntVector_Intrinsics_vec256 x3 = Lib_IntVector_Intrinsics_vec256_and(t3, mask26);

Error: COMPILER_WARNING: [#def479]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:211:50: note[note]: called from here
#  209|               Lib_IntVector_Intrinsics_vec256
#  210|                   z1 = Lib_IntVector_Intrinsics_vec256_shift_right64(t3, (uint32_t)26U);
#  211|->             Lib_IntVector_Intrinsics_vec256 x0 = Lib_IntVector_Intrinsics_vec256_and(t01, mask26);
#  212|               Lib_IntVector_Intrinsics_vec256 x3 = Lib_IntVector_Intrinsics_vec256_and(t3, mask26);
#  213|               Lib_IntVector_Intrinsics_vec256 x1 = Lib_IntVector_Intrinsics_vec256_add64(t1, z0);

Error: COMPILER_WARNING: [#def480]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:212:50: note[note]: called from here
#  210|                   z1 = Lib_IntVector_Intrinsics_vec256_shift_right64(t3, (uint32_t)26U);
#  211|               Lib_IntVector_Intrinsics_vec256 x0 = Lib_IntVector_Intrinsics_vec256_and(t01, mask26);
#  212|->             Lib_IntVector_Intrinsics_vec256 x3 = Lib_IntVector_Intrinsics_vec256_and(t3, mask26);
#  213|               Lib_IntVector_Intrinsics_vec256 x1 = Lib_IntVector_Intrinsics_vec256_add64(t1, z0);
#  214|               Lib_IntVector_Intrinsics_vec256 x4 = Lib_IntVector_Intrinsics_vec256_add64(t4, z1);

Error: COMPILER_WARNING: [#def481]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:213:50: note[note]: called from here
#  211|               Lib_IntVector_Intrinsics_vec256 x0 = Lib_IntVector_Intrinsics_vec256_and(t01, mask26);
#  212|               Lib_IntVector_Intrinsics_vec256 x3 = Lib_IntVector_Intrinsics_vec256_and(t3, mask26);
#  213|->             Lib_IntVector_Intrinsics_vec256 x1 = Lib_IntVector_Intrinsics_vec256_add64(t1, z0);
#  214|               Lib_IntVector_Intrinsics_vec256 x4 = Lib_IntVector_Intrinsics_vec256_add64(t4, z1);
#  215|               Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def482]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:214:50: note[note]: called from here
#  212|               Lib_IntVector_Intrinsics_vec256 x3 = Lib_IntVector_Intrinsics_vec256_and(t3, mask26);
#  213|               Lib_IntVector_Intrinsics_vec256 x1 = Lib_IntVector_Intrinsics_vec256_add64(t1, z0);
#  214|->             Lib_IntVector_Intrinsics_vec256 x4 = Lib_IntVector_Intrinsics_vec256_add64(t4, z1);
#  215|               Lib_IntVector_Intrinsics_vec256
#  216|                   z01 = Lib_IntVector_Intrinsics_vec256_shift_right64(x1, (uint32_t)26U);

Error: COMPILER_WARNING: [#def483]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:216:23: note[note]: called from here
#  214|               Lib_IntVector_Intrinsics_vec256 x4 = Lib_IntVector_Intrinsics_vec256_add64(t4, z1);
#  215|               Lib_IntVector_Intrinsics_vec256
#  216|->                 z01 = Lib_IntVector_Intrinsics_vec256_shift_right64(x1, (uint32_t)26U);
#  217|               Lib_IntVector_Intrinsics_vec256
#  218|                   z11 = Lib_IntVector_Intrinsics_vec256_shift_right64(x4, (uint32_t)26U);

Error: COMPILER_WARNING: [#def484]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:218:23: note[note]: called from here
#  216|                   z01 = Lib_IntVector_Intrinsics_vec256_shift_right64(x1, (uint32_t)26U);
#  217|               Lib_IntVector_Intrinsics_vec256
#  218|->                 z11 = Lib_IntVector_Intrinsics_vec256_shift_right64(x4, (uint32_t)26U);
#  219|               Lib_IntVector_Intrinsics_vec256
#  220|                   t = Lib_IntVector_Intrinsics_vec256_shift_left64(z11, (uint32_t)2U);

Error: COMPILER_WARNING: [#def485]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:220:21: note[note]: called from here
#  218|                   z11 = Lib_IntVector_Intrinsics_vec256_shift_right64(x4, (uint32_t)26U);
#  219|               Lib_IntVector_Intrinsics_vec256
#  220|->                 t = Lib_IntVector_Intrinsics_vec256_shift_left64(z11, (uint32_t)2U);
#  221|               Lib_IntVector_Intrinsics_vec256 z12 = Lib_IntVector_Intrinsics_vec256_add64(z11, t);
#  222|               Lib_IntVector_Intrinsics_vec256 x11 = Lib_IntVector_Intrinsics_vec256_and(x1, mask26);

Error: COMPILER_WARNING: [#def486]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:221:51: note[note]: called from here
#  219|               Lib_IntVector_Intrinsics_vec256
#  220|                   t = Lib_IntVector_Intrinsics_vec256_shift_left64(z11, (uint32_t)2U);
#  221|->             Lib_IntVector_Intrinsics_vec256 z12 = Lib_IntVector_Intrinsics_vec256_add64(z11, t);
#  222|               Lib_IntVector_Intrinsics_vec256 x11 = Lib_IntVector_Intrinsics_vec256_and(x1, mask26);
#  223|               Lib_IntVector_Intrinsics_vec256 x41 = Lib_IntVector_Intrinsics_vec256_and(x4, mask26);

Error: COMPILER_WARNING: [#def487]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:222:51: note[note]: called from here
#  220|                   t = Lib_IntVector_Intrinsics_vec256_shift_left64(z11, (uint32_t)2U);
#  221|               Lib_IntVector_Intrinsics_vec256 z12 = Lib_IntVector_Intrinsics_vec256_add64(z11, t);
#  222|->             Lib_IntVector_Intrinsics_vec256 x11 = Lib_IntVector_Intrinsics_vec256_and(x1, mask26);
#  223|               Lib_IntVector_Intrinsics_vec256 x41 = Lib_IntVector_Intrinsics_vec256_and(x4, mask26);
#  224|               Lib_IntVector_Intrinsics_vec256 x2 = Lib_IntVector_Intrinsics_vec256_add64(t2, z01);

Error: COMPILER_WARNING: [#def488]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:223:51: note[note]: called from here
#  221|               Lib_IntVector_Intrinsics_vec256 z12 = Lib_IntVector_Intrinsics_vec256_add64(z11, t);
#  222|               Lib_IntVector_Intrinsics_vec256 x11 = Lib_IntVector_Intrinsics_vec256_and(x1, mask26);
#  223|->             Lib_IntVector_Intrinsics_vec256 x41 = Lib_IntVector_Intrinsics_vec256_and(x4, mask26);
#  224|               Lib_IntVector_Intrinsics_vec256 x2 = Lib_IntVector_Intrinsics_vec256_add64(t2, z01);
#  225|               Lib_IntVector_Intrinsics_vec256 x01 = Lib_IntVector_Intrinsics_vec256_add64(x0, z12);

Error: COMPILER_WARNING: [#def489]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:224:50: note[note]: called from here
#  222|               Lib_IntVector_Intrinsics_vec256 x11 = Lib_IntVector_Intrinsics_vec256_and(x1, mask26);
#  223|               Lib_IntVector_Intrinsics_vec256 x41 = Lib_IntVector_Intrinsics_vec256_and(x4, mask26);
#  224|->             Lib_IntVector_Intrinsics_vec256 x2 = Lib_IntVector_Intrinsics_vec256_add64(t2, z01);
#  225|               Lib_IntVector_Intrinsics_vec256 x01 = Lib_IntVector_Intrinsics_vec256_add64(x0, z12);
#  226|               Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def490]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:225:51: note[note]: called from here
#  223|               Lib_IntVector_Intrinsics_vec256 x41 = Lib_IntVector_Intrinsics_vec256_and(x4, mask26);
#  224|               Lib_IntVector_Intrinsics_vec256 x2 = Lib_IntVector_Intrinsics_vec256_add64(t2, z01);
#  225|->             Lib_IntVector_Intrinsics_vec256 x01 = Lib_IntVector_Intrinsics_vec256_add64(x0, z12);
#  226|               Lib_IntVector_Intrinsics_vec256
#  227|                   z02 = Lib_IntVector_Intrinsics_vec256_shift_right64(x2, (uint32_t)26U);

Error: COMPILER_WARNING: [#def491]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:227:23: note[note]: called from here
#  225|               Lib_IntVector_Intrinsics_vec256 x01 = Lib_IntVector_Intrinsics_vec256_add64(x0, z12);
#  226|               Lib_IntVector_Intrinsics_vec256
#  227|->                 z02 = Lib_IntVector_Intrinsics_vec256_shift_right64(x2, (uint32_t)26U);
#  228|               Lib_IntVector_Intrinsics_vec256
#  229|                   z13 = Lib_IntVector_Intrinsics_vec256_shift_right64(x01, (uint32_t)26U);

Error: COMPILER_WARNING: [#def492]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:229:23: note[note]: called from here
#  227|                   z02 = Lib_IntVector_Intrinsics_vec256_shift_right64(x2, (uint32_t)26U);
#  228|               Lib_IntVector_Intrinsics_vec256
#  229|->                 z13 = Lib_IntVector_Intrinsics_vec256_shift_right64(x01, (uint32_t)26U);
#  230|               Lib_IntVector_Intrinsics_vec256 x21 = Lib_IntVector_Intrinsics_vec256_and(x2, mask26);
#  231|               Lib_IntVector_Intrinsics_vec256 x02 = Lib_IntVector_Intrinsics_vec256_and(x01, mask26);

Error: COMPILER_WARNING: [#def493]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:230:51: note[note]: called from here
#  228|               Lib_IntVector_Intrinsics_vec256
#  229|                   z13 = Lib_IntVector_Intrinsics_vec256_shift_right64(x01, (uint32_t)26U);
#  230|->             Lib_IntVector_Intrinsics_vec256 x21 = Lib_IntVector_Intrinsics_vec256_and(x2, mask26);
#  231|               Lib_IntVector_Intrinsics_vec256 x02 = Lib_IntVector_Intrinsics_vec256_and(x01, mask26);
#  232|               Lib_IntVector_Intrinsics_vec256 x31 = Lib_IntVector_Intrinsics_vec256_add64(x3, z02);

Error: COMPILER_WARNING: [#def494]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:231:51: note[note]: called from here
#  229|                   z13 = Lib_IntVector_Intrinsics_vec256_shift_right64(x01, (uint32_t)26U);
#  230|               Lib_IntVector_Intrinsics_vec256 x21 = Lib_IntVector_Intrinsics_vec256_and(x2, mask26);
#  231|->             Lib_IntVector_Intrinsics_vec256 x02 = Lib_IntVector_Intrinsics_vec256_and(x01, mask26);
#  232|               Lib_IntVector_Intrinsics_vec256 x31 = Lib_IntVector_Intrinsics_vec256_add64(x3, z02);
#  233|               Lib_IntVector_Intrinsics_vec256 x12 = Lib_IntVector_Intrinsics_vec256_add64(x11, z13);

Error: COMPILER_WARNING: [#def495]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:232:51: note[note]: called from here
#  230|               Lib_IntVector_Intrinsics_vec256 x21 = Lib_IntVector_Intrinsics_vec256_and(x2, mask26);
#  231|               Lib_IntVector_Intrinsics_vec256 x02 = Lib_IntVector_Intrinsics_vec256_and(x01, mask26);
#  232|->             Lib_IntVector_Intrinsics_vec256 x31 = Lib_IntVector_Intrinsics_vec256_add64(x3, z02);
#  233|               Lib_IntVector_Intrinsics_vec256 x12 = Lib_IntVector_Intrinsics_vec256_add64(x11, z13);
#  234|               Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def496]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:233:51: note[note]: called from here
#  231|               Lib_IntVector_Intrinsics_vec256 x02 = Lib_IntVector_Intrinsics_vec256_and(x01, mask26);
#  232|               Lib_IntVector_Intrinsics_vec256 x31 = Lib_IntVector_Intrinsics_vec256_add64(x3, z02);
#  233|->             Lib_IntVector_Intrinsics_vec256 x12 = Lib_IntVector_Intrinsics_vec256_add64(x11, z13);
#  234|               Lib_IntVector_Intrinsics_vec256
#  235|                   z03 = Lib_IntVector_Intrinsics_vec256_shift_right64(x31, (uint32_t)26U);

Error: COMPILER_WARNING: [#def497]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:235:23: note[note]: called from here
#  233|               Lib_IntVector_Intrinsics_vec256 x12 = Lib_IntVector_Intrinsics_vec256_add64(x11, z13);
#  234|               Lib_IntVector_Intrinsics_vec256
#  235|->                 z03 = Lib_IntVector_Intrinsics_vec256_shift_right64(x31, (uint32_t)26U);
#  236|               Lib_IntVector_Intrinsics_vec256 x32 = Lib_IntVector_Intrinsics_vec256_and(x31, mask26);
#  237|               Lib_IntVector_Intrinsics_vec256 x42 = Lib_IntVector_Intrinsics_vec256_add64(x41, z03);

Error: COMPILER_WARNING: [#def498]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:236:51: note[note]: called from here
#  234|               Lib_IntVector_Intrinsics_vec256
#  235|                   z03 = Lib_IntVector_Intrinsics_vec256_shift_right64(x31, (uint32_t)26U);
#  236|->             Lib_IntVector_Intrinsics_vec256 x32 = Lib_IntVector_Intrinsics_vec256_and(x31, mask26);
#  237|               Lib_IntVector_Intrinsics_vec256 x42 = Lib_IntVector_Intrinsics_vec256_add64(x41, z03);
#  238|               Lib_IntVector_Intrinsics_vec256 o01 = x02;

Error: COMPILER_WARNING: [#def499]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:237:51: note[note]: called from here
#  235|                   z03 = Lib_IntVector_Intrinsics_vec256_shift_right64(x31, (uint32_t)26U);
#  236|               Lib_IntVector_Intrinsics_vec256 x32 = Lib_IntVector_Intrinsics_vec256_and(x31, mask26);
#  237|->             Lib_IntVector_Intrinsics_vec256 x42 = Lib_IntVector_Intrinsics_vec256_add64(x41, z03);
#  238|               Lib_IntVector_Intrinsics_vec256 o01 = x02;
#  239|               Lib_IntVector_Intrinsics_vec256 o12 = x12;

Error: COMPILER_WARNING: [#def500]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:258:50: note[note]: called from here
#  256|               Lib_IntVector_Intrinsics_vec256 f23 = e[3U];
#  257|               Lib_IntVector_Intrinsics_vec256 f24 = e[4U];
#  258|->             Lib_IntVector_Intrinsics_vec256 o0 = Lib_IntVector_Intrinsics_vec256_add64(f100, f20);
#  259|               Lib_IntVector_Intrinsics_vec256 o1 = Lib_IntVector_Intrinsics_vec256_add64(f11, f21);
#  260|               Lib_IntVector_Intrinsics_vec256 o2 = Lib_IntVector_Intrinsics_vec256_add64(f12, f22);

Error: COMPILER_WARNING: [#def501]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:259:50: note[note]: called from here
#  257|               Lib_IntVector_Intrinsics_vec256 f24 = e[4U];
#  258|               Lib_IntVector_Intrinsics_vec256 o0 = Lib_IntVector_Intrinsics_vec256_add64(f100, f20);
#  259|->             Lib_IntVector_Intrinsics_vec256 o1 = Lib_IntVector_Intrinsics_vec256_add64(f11, f21);
#  260|               Lib_IntVector_Intrinsics_vec256 o2 = Lib_IntVector_Intrinsics_vec256_add64(f12, f22);
#  261|               Lib_IntVector_Intrinsics_vec256 o3 = Lib_IntVector_Intrinsics_vec256_add64(f13, f23);

Error: COMPILER_WARNING: [#def502]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:260:50: note[note]: called from here
#  258|               Lib_IntVector_Intrinsics_vec256 o0 = Lib_IntVector_Intrinsics_vec256_add64(f100, f20);
#  259|               Lib_IntVector_Intrinsics_vec256 o1 = Lib_IntVector_Intrinsics_vec256_add64(f11, f21);
#  260|->             Lib_IntVector_Intrinsics_vec256 o2 = Lib_IntVector_Intrinsics_vec256_add64(f12, f22);
#  261|               Lib_IntVector_Intrinsics_vec256 o3 = Lib_IntVector_Intrinsics_vec256_add64(f13, f23);
#  262|               Lib_IntVector_Intrinsics_vec256 o4 = Lib_IntVector_Intrinsics_vec256_add64(f14, f24);

Error: COMPILER_WARNING: [#def503]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:261:50: note[note]: called from here
#  259|               Lib_IntVector_Intrinsics_vec256 o1 = Lib_IntVector_Intrinsics_vec256_add64(f11, f21);
#  260|               Lib_IntVector_Intrinsics_vec256 o2 = Lib_IntVector_Intrinsics_vec256_add64(f12, f22);
#  261|->             Lib_IntVector_Intrinsics_vec256 o3 = Lib_IntVector_Intrinsics_vec256_add64(f13, f23);
#  262|               Lib_IntVector_Intrinsics_vec256 o4 = Lib_IntVector_Intrinsics_vec256_add64(f14, f24);
#  263|               acc0[0U] = o0;

Error: COMPILER_WARNING: [#def504]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:262:50: note[note]: called from here
#  260|               Lib_IntVector_Intrinsics_vec256 o2 = Lib_IntVector_Intrinsics_vec256_add64(f12, f22);
#  261|               Lib_IntVector_Intrinsics_vec256 o3 = Lib_IntVector_Intrinsics_vec256_add64(f13, f23);
#  262|->             Lib_IntVector_Intrinsics_vec256 o4 = Lib_IntVector_Intrinsics_vec256_add64(f14, f24);
#  263|               acc0[0U] = o0;
#  264|               acc0[1U] = o1;

Error: COMPILER_WARNING: [#def505]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:283:46: note[note]: called from here
#  281|           uint64_t u = load64_le(block + (uint32_t)8U);
#  282|           uint64_t hi = u;
#  283|->         Lib_IntVector_Intrinsics_vec256 f0 = Lib_IntVector_Intrinsics_vec256_load64(lo);
#  284|           Lib_IntVector_Intrinsics_vec256 f1 = Lib_IntVector_Intrinsics_vec256_load64(hi);
#  285|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def506]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:284:46: note[note]: called from here
#  282|           uint64_t hi = u;
#  283|           Lib_IntVector_Intrinsics_vec256 f0 = Lib_IntVector_Intrinsics_vec256_load64(lo);
#  284|->         Lib_IntVector_Intrinsics_vec256 f1 = Lib_IntVector_Intrinsics_vec256_load64(hi);
#  285|           Lib_IntVector_Intrinsics_vec256
#  286|               f010 =

Error: COMPILER_WARNING: [#def507]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:287:17: note[note]: called from here
#  285|           Lib_IntVector_Intrinsics_vec256
#  286|               f010 =
#  287|->                 Lib_IntVector_Intrinsics_vec256_and(f0,
#  288|                                                       Lib_IntVector_Intrinsics_vec256_load64((uint64_t)0x3ffffffU));
#  289|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def508]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:291:17: note[note]: called from here
#  289|           Lib_IntVector_Intrinsics_vec256
#  290|               f110 =
#  291|->                 Lib_IntVector_Intrinsics_vec256_and(Lib_IntVector_Intrinsics_vec256_shift_right64(f0,
#  292|                                                                                                     (uint32_t)26U),
#  293|                                                       Lib_IntVector_Intrinsics_vec256_load64((uint64_t)0x3ffffffU));

Error: COMPILER_WARNING: [#def509]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:296:17: note[note]: called from here
#  294|           Lib_IntVector_Intrinsics_vec256
#  295|               f20 =
#  296|->                 Lib_IntVector_Intrinsics_vec256_or(Lib_IntVector_Intrinsics_vec256_shift_right64(f0,
#  297|                                                                                                    (uint32_t)52U),
#  298|                                                      Lib_IntVector_Intrinsics_vec256_shift_left64(Lib_IntVector_Intrinsics_vec256_and(f1,

Error: COMPILER_WARNING: [#def510]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:303:17: note[note]: called from here
#  301|           Lib_IntVector_Intrinsics_vec256
#  302|               f30 =
#  303|->                 Lib_IntVector_Intrinsics_vec256_and(Lib_IntVector_Intrinsics_vec256_shift_right64(f1,
#  304|                                                                                                     (uint32_t)14U),
#  305|                                                       Lib_IntVector_Intrinsics_vec256_load64((uint64_t)0x3ffffffU));

Error: COMPILER_WARNING: [#def511]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:307:19: note[note]: called from here
#  305|                                                       Lib_IntVector_Intrinsics_vec256_load64((uint64_t)0x3ffffffU));
#  306|           Lib_IntVector_Intrinsics_vec256
#  307|->             f40 = Lib_IntVector_Intrinsics_vec256_shift_right64(f1, (uint32_t)40U);
#  308|           Lib_IntVector_Intrinsics_vec256 f01 = f010;
#  309|           Lib_IntVector_Intrinsics_vec256 f111 = f110;

Error: COMPILER_WARNING: [#def512]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:319:48: note[note]: called from here
#  317|           e[4U] = f41;
#  318|           uint64_t b = (uint64_t)0x1000000U;
#  319|->         Lib_IntVector_Intrinsics_vec256 mask = Lib_IntVector_Intrinsics_vec256_load64(b);
#  320|           Lib_IntVector_Intrinsics_vec256 f4 = e[4U];
#  321|           e[4U] = Lib_IntVector_Intrinsics_vec256_or(f4, mask);

Error: COMPILER_WARNING: [#def513]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:321:17: note[note]: called from here
#  319|           Lib_IntVector_Intrinsics_vec256 mask = Lib_IntVector_Intrinsics_vec256_load64(b);
#  320|           Lib_IntVector_Intrinsics_vec256 f4 = e[4U];
#  321|->         e[4U] = Lib_IntVector_Intrinsics_vec256_or(f4, mask);
#  322|           Lib_IntVector_Intrinsics_vec256 *r1 = pre0;
#  323|           Lib_IntVector_Intrinsics_vec256 *r5 = pre0 + (uint32_t)5U;

Error: COMPILER_WARNING: [#def514]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:343:47: note[note]: called from here
#  341|           Lib_IntVector_Intrinsics_vec256 a3 = acc0[3U];
#  342|           Lib_IntVector_Intrinsics_vec256 a4 = acc0[4U];
#  343|->         Lib_IntVector_Intrinsics_vec256 a01 = Lib_IntVector_Intrinsics_vec256_add64(a0, f10);
#  344|           Lib_IntVector_Intrinsics_vec256 a11 = Lib_IntVector_Intrinsics_vec256_add64(a1, f11);
#  345|           Lib_IntVector_Intrinsics_vec256 a21 = Lib_IntVector_Intrinsics_vec256_add64(a2, f12);

Error: COMPILER_WARNING: [#def515]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:344:47: note[note]: called from here
#  342|           Lib_IntVector_Intrinsics_vec256 a4 = acc0[4U];
#  343|           Lib_IntVector_Intrinsics_vec256 a01 = Lib_IntVector_Intrinsics_vec256_add64(a0, f10);
#  344|->         Lib_IntVector_Intrinsics_vec256 a11 = Lib_IntVector_Intrinsics_vec256_add64(a1, f11);
#  345|           Lib_IntVector_Intrinsics_vec256 a21 = Lib_IntVector_Intrinsics_vec256_add64(a2, f12);
#  346|           Lib_IntVector_Intrinsics_vec256 a31 = Lib_IntVector_Intrinsics_vec256_add64(a3, f13);

Error: COMPILER_WARNING: [#def516]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:345:47: note[note]: called from here
#  343|           Lib_IntVector_Intrinsics_vec256 a01 = Lib_IntVector_Intrinsics_vec256_add64(a0, f10);
#  344|           Lib_IntVector_Intrinsics_vec256 a11 = Lib_IntVector_Intrinsics_vec256_add64(a1, f11);
#  345|->         Lib_IntVector_Intrinsics_vec256 a21 = Lib_IntVector_Intrinsics_vec256_add64(a2, f12);
#  346|           Lib_IntVector_Intrinsics_vec256 a31 = Lib_IntVector_Intrinsics_vec256_add64(a3, f13);
#  347|           Lib_IntVector_Intrinsics_vec256 a41 = Lib_IntVector_Intrinsics_vec256_add64(a4, f14);

Error: COMPILER_WARNING: [#def517]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:346:47: note[note]: called from here
#  344|           Lib_IntVector_Intrinsics_vec256 a11 = Lib_IntVector_Intrinsics_vec256_add64(a1, f11);
#  345|           Lib_IntVector_Intrinsics_vec256 a21 = Lib_IntVector_Intrinsics_vec256_add64(a2, f12);
#  346|->         Lib_IntVector_Intrinsics_vec256 a31 = Lib_IntVector_Intrinsics_vec256_add64(a3, f13);
#  347|           Lib_IntVector_Intrinsics_vec256 a41 = Lib_IntVector_Intrinsics_vec256_add64(a4, f14);
#  348|           Lib_IntVector_Intrinsics_vec256 a02 = Lib_IntVector_Intrinsics_vec256_mul64(r0, a01);

Error: COMPILER_WARNING: [#def518]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:347:47: note[note]: called from here
#  345|           Lib_IntVector_Intrinsics_vec256 a21 = Lib_IntVector_Intrinsics_vec256_add64(a2, f12);
#  346|           Lib_IntVector_Intrinsics_vec256 a31 = Lib_IntVector_Intrinsics_vec256_add64(a3, f13);
#  347|->         Lib_IntVector_Intrinsics_vec256 a41 = Lib_IntVector_Intrinsics_vec256_add64(a4, f14);
#  348|           Lib_IntVector_Intrinsics_vec256 a02 = Lib_IntVector_Intrinsics_vec256_mul64(r0, a01);
#  349|           Lib_IntVector_Intrinsics_vec256 a12 = Lib_IntVector_Intrinsics_vec256_mul64(r11, a01);

Error: COMPILER_WARNING: [#def519]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:348:47: note[note]: called from here
#  346|           Lib_IntVector_Intrinsics_vec256 a31 = Lib_IntVector_Intrinsics_vec256_add64(a3, f13);
#  347|           Lib_IntVector_Intrinsics_vec256 a41 = Lib_IntVector_Intrinsics_vec256_add64(a4, f14);
#  348|->         Lib_IntVector_Intrinsics_vec256 a02 = Lib_IntVector_Intrinsics_vec256_mul64(r0, a01);
#  349|           Lib_IntVector_Intrinsics_vec256 a12 = Lib_IntVector_Intrinsics_vec256_mul64(r11, a01);
#  350|           Lib_IntVector_Intrinsics_vec256 a22 = Lib_IntVector_Intrinsics_vec256_mul64(r2, a01);

Error: COMPILER_WARNING: [#def520]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:349:47: note[note]: called from here
#  347|           Lib_IntVector_Intrinsics_vec256 a41 = Lib_IntVector_Intrinsics_vec256_add64(a4, f14);
#  348|           Lib_IntVector_Intrinsics_vec256 a02 = Lib_IntVector_Intrinsics_vec256_mul64(r0, a01);
#  349|->         Lib_IntVector_Intrinsics_vec256 a12 = Lib_IntVector_Intrinsics_vec256_mul64(r11, a01);
#  350|           Lib_IntVector_Intrinsics_vec256 a22 = Lib_IntVector_Intrinsics_vec256_mul64(r2, a01);
#  351|           Lib_IntVector_Intrinsics_vec256 a32 = Lib_IntVector_Intrinsics_vec256_mul64(r3, a01);

Error: COMPILER_WARNING: [#def521]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:350:47: note[note]: called from here
#  348|           Lib_IntVector_Intrinsics_vec256 a02 = Lib_IntVector_Intrinsics_vec256_mul64(r0, a01);
#  349|           Lib_IntVector_Intrinsics_vec256 a12 = Lib_IntVector_Intrinsics_vec256_mul64(r11, a01);
#  350|->         Lib_IntVector_Intrinsics_vec256 a22 = Lib_IntVector_Intrinsics_vec256_mul64(r2, a01);
#  351|           Lib_IntVector_Intrinsics_vec256 a32 = Lib_IntVector_Intrinsics_vec256_mul64(r3, a01);
#  352|           Lib_IntVector_Intrinsics_vec256 a42 = Lib_IntVector_Intrinsics_vec256_mul64(r4, a01);

Error: COMPILER_WARNING: [#def522]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:351:47: note[note]: called from here
#  349|           Lib_IntVector_Intrinsics_vec256 a12 = Lib_IntVector_Intrinsics_vec256_mul64(r11, a01);
#  350|           Lib_IntVector_Intrinsics_vec256 a22 = Lib_IntVector_Intrinsics_vec256_mul64(r2, a01);
#  351|->         Lib_IntVector_Intrinsics_vec256 a32 = Lib_IntVector_Intrinsics_vec256_mul64(r3, a01);
#  352|           Lib_IntVector_Intrinsics_vec256 a42 = Lib_IntVector_Intrinsics_vec256_mul64(r4, a01);
#  353|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def523]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:352:47: note[note]: called from here
#  350|           Lib_IntVector_Intrinsics_vec256 a22 = Lib_IntVector_Intrinsics_vec256_mul64(r2, a01);
#  351|           Lib_IntVector_Intrinsics_vec256 a32 = Lib_IntVector_Intrinsics_vec256_mul64(r3, a01);
#  352|->         Lib_IntVector_Intrinsics_vec256 a42 = Lib_IntVector_Intrinsics_vec256_mul64(r4, a01);
#  353|           Lib_IntVector_Intrinsics_vec256
#  354|               a03 =

Error: COMPILER_WARNING: [#def524]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:355:17: note[note]: called from here
#  353|           Lib_IntVector_Intrinsics_vec256
#  354|               a03 =
#  355|->                 Lib_IntVector_Intrinsics_vec256_add64(a02,
#  356|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r54, a11));
#  357|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def525]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:359:17: note[note]: called from here
#  357|           Lib_IntVector_Intrinsics_vec256
#  358|               a13 =
#  359|->                 Lib_IntVector_Intrinsics_vec256_add64(a12,
#  360|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r0, a11));
#  361|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def526]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:363:17: note[note]: called from here
#  361|           Lib_IntVector_Intrinsics_vec256
#  362|               a23 =
#  363|->                 Lib_IntVector_Intrinsics_vec256_add64(a22,
#  364|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r11, a11));
#  365|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def527]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:367:17: note[note]: called from here
#  365|           Lib_IntVector_Intrinsics_vec256
#  366|               a33 =
#  367|->                 Lib_IntVector_Intrinsics_vec256_add64(a32,
#  368|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r2, a11));
#  369|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def528]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:371:17: note[note]: called from here
#  369|           Lib_IntVector_Intrinsics_vec256
#  370|               a43 =
#  371|->                 Lib_IntVector_Intrinsics_vec256_add64(a42,
#  372|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r3, a11));
#  373|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def529]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:375:17: note[note]: called from here
#  373|           Lib_IntVector_Intrinsics_vec256
#  374|               a04 =
#  375|->                 Lib_IntVector_Intrinsics_vec256_add64(a03,
#  376|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r53, a21));
#  377|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def530]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:379:17: note[note]: called from here
#  377|           Lib_IntVector_Intrinsics_vec256
#  378|               a14 =
#  379|->                 Lib_IntVector_Intrinsics_vec256_add64(a13,
#  380|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r54, a21));
#  381|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def531]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:383:17: note[note]: called from here
#  381|           Lib_IntVector_Intrinsics_vec256
#  382|               a24 =
#  383|->                 Lib_IntVector_Intrinsics_vec256_add64(a23,
#  384|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r0, a21));
#  385|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def532]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:387:17: note[note]: called from here
#  385|           Lib_IntVector_Intrinsics_vec256
#  386|               a34 =
#  387|->                 Lib_IntVector_Intrinsics_vec256_add64(a33,
#  388|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r11, a21));
#  389|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def533]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:391:17: note[note]: called from here
#  389|           Lib_IntVector_Intrinsics_vec256
#  390|               a44 =
#  391|->                 Lib_IntVector_Intrinsics_vec256_add64(a43,
#  392|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r2, a21));
#  393|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def534]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:395:17: note[note]: called from here
#  393|           Lib_IntVector_Intrinsics_vec256
#  394|               a05 =
#  395|->                 Lib_IntVector_Intrinsics_vec256_add64(a04,
#  396|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r52, a31));
#  397|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def535]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:399:17: note[note]: called from here
#  397|           Lib_IntVector_Intrinsics_vec256
#  398|               a15 =
#  399|->                 Lib_IntVector_Intrinsics_vec256_add64(a14,
#  400|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r53, a31));
#  401|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def536]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:403:17: note[note]: called from here
#  401|           Lib_IntVector_Intrinsics_vec256
#  402|               a25 =
#  403|->                 Lib_IntVector_Intrinsics_vec256_add64(a24,
#  404|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r54, a31));
#  405|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def537]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:407:17: note[note]: called from here
#  405|           Lib_IntVector_Intrinsics_vec256
#  406|               a35 =
#  407|->                 Lib_IntVector_Intrinsics_vec256_add64(a34,
#  408|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r0, a31));
#  409|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def538]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:411:17: note[note]: called from here
#  409|           Lib_IntVector_Intrinsics_vec256
#  410|               a45 =
#  411|->                 Lib_IntVector_Intrinsics_vec256_add64(a44,
#  412|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r11, a31));
#  413|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def539]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:415:17: note[note]: called from here
#  413|           Lib_IntVector_Intrinsics_vec256
#  414|               a06 =
#  415|->                 Lib_IntVector_Intrinsics_vec256_add64(a05,
#  416|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r51, a41));
#  417|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def540]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:419:17: note[note]: called from here
#  417|           Lib_IntVector_Intrinsics_vec256
#  418|               a16 =
#  419|->                 Lib_IntVector_Intrinsics_vec256_add64(a15,
#  420|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r52, a41));
#  421|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def541]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:423:17: note[note]: called from here
#  421|           Lib_IntVector_Intrinsics_vec256
#  422|               a26 =
#  423|->                 Lib_IntVector_Intrinsics_vec256_add64(a25,
#  424|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r53, a41));
#  425|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def542]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:427:17: note[note]: called from here
#  425|           Lib_IntVector_Intrinsics_vec256
#  426|               a36 =
#  427|->                 Lib_IntVector_Intrinsics_vec256_add64(a35,
#  428|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r54, a41));
#  429|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def543]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:431:17: note[note]: called from here
#  429|           Lib_IntVector_Intrinsics_vec256
#  430|               a46 =
#  431|->                 Lib_IntVector_Intrinsics_vec256_add64(a45,
#  432|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r0, a41));
#  433|           Lib_IntVector_Intrinsics_vec256 t01 = a06;

Error: COMPILER_WARNING: [#def544]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:439:22: note[note]: called from here
#  437|           Lib_IntVector_Intrinsics_vec256 t4 = a46;
#  438|           Lib_IntVector_Intrinsics_vec256
#  439|->             mask26 = Lib_IntVector_Intrinsics_vec256_load64((uint64_t)0x3ffffffU);
#  440|           Lib_IntVector_Intrinsics_vec256
#  441|               z0 = Lib_IntVector_Intrinsics_vec256_shift_right64(t01, (uint32_t)26U);

Error: COMPILER_WARNING: [#def545]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:441:18: note[note]: called from here
#  439|               mask26 = Lib_IntVector_Intrinsics_vec256_load64((uint64_t)0x3ffffffU);
#  440|           Lib_IntVector_Intrinsics_vec256
#  441|->             z0 = Lib_IntVector_Intrinsics_vec256_shift_right64(t01, (uint32_t)26U);
#  442|           Lib_IntVector_Intrinsics_vec256
#  443|               z1 = Lib_IntVector_Intrinsics_vec256_shift_right64(t3, (uint32_t)26U);

Error: COMPILER_WARNING: [#def546]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:443:18: note[note]: called from here
#  441|               z0 = Lib_IntVector_Intrinsics_vec256_shift_right64(t01, (uint32_t)26U);
#  442|           Lib_IntVector_Intrinsics_vec256
#  443|->             z1 = Lib_IntVector_Intrinsics_vec256_shift_right64(t3, (uint32_t)26U);
#  444|           Lib_IntVector_Intrinsics_vec256 x0 = Lib_IntVector_Intrinsics_vec256_and(t01, mask26);
#  445|           Lib_IntVector_Intrinsics_vec256 x3 = Lib_IntVector_Intrinsics_vec256_and(t3, mask26);

Error: COMPILER_WARNING: [#def547]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:444:46: note[note]: called from here
#  442|           Lib_IntVector_Intrinsics_vec256
#  443|               z1 = Lib_IntVector_Intrinsics_vec256_shift_right64(t3, (uint32_t)26U);
#  444|->         Lib_IntVector_Intrinsics_vec256 x0 = Lib_IntVector_Intrinsics_vec256_and(t01, mask26);
#  445|           Lib_IntVector_Intrinsics_vec256 x3 = Lib_IntVector_Intrinsics_vec256_and(t3, mask26);
#  446|           Lib_IntVector_Intrinsics_vec256 x1 = Lib_IntVector_Intrinsics_vec256_add64(t11, z0);

Error: COMPILER_WARNING: [#def548]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:445:46: note[note]: called from here
#  443|               z1 = Lib_IntVector_Intrinsics_vec256_shift_right64(t3, (uint32_t)26U);
#  444|           Lib_IntVector_Intrinsics_vec256 x0 = Lib_IntVector_Intrinsics_vec256_and(t01, mask26);
#  445|->         Lib_IntVector_Intrinsics_vec256 x3 = Lib_IntVector_Intrinsics_vec256_and(t3, mask26);
#  446|           Lib_IntVector_Intrinsics_vec256 x1 = Lib_IntVector_Intrinsics_vec256_add64(t11, z0);
#  447|           Lib_IntVector_Intrinsics_vec256 x4 = Lib_IntVector_Intrinsics_vec256_add64(t4, z1);

Error: COMPILER_WARNING: [#def549]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:446:46: note[note]: called from here
#  444|           Lib_IntVector_Intrinsics_vec256 x0 = Lib_IntVector_Intrinsics_vec256_and(t01, mask26);
#  445|           Lib_IntVector_Intrinsics_vec256 x3 = Lib_IntVector_Intrinsics_vec256_and(t3, mask26);
#  446|->         Lib_IntVector_Intrinsics_vec256 x1 = Lib_IntVector_Intrinsics_vec256_add64(t11, z0);
#  447|           Lib_IntVector_Intrinsics_vec256 x4 = Lib_IntVector_Intrinsics_vec256_add64(t4, z1);
#  448|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def550]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:447:46: note[note]: called from here
#  445|           Lib_IntVector_Intrinsics_vec256 x3 = Lib_IntVector_Intrinsics_vec256_and(t3, mask26);
#  446|           Lib_IntVector_Intrinsics_vec256 x1 = Lib_IntVector_Intrinsics_vec256_add64(t11, z0);
#  447|->         Lib_IntVector_Intrinsics_vec256 x4 = Lib_IntVector_Intrinsics_vec256_add64(t4, z1);
#  448|           Lib_IntVector_Intrinsics_vec256
#  449|               z01 = Lib_IntVector_Intrinsics_vec256_shift_right64(x1, (uint32_t)26U);

Error: COMPILER_WARNING: [#def551]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:449:19: note[note]: called from here
#  447|           Lib_IntVector_Intrinsics_vec256 x4 = Lib_IntVector_Intrinsics_vec256_add64(t4, z1);
#  448|           Lib_IntVector_Intrinsics_vec256
#  449|->             z01 = Lib_IntVector_Intrinsics_vec256_shift_right64(x1, (uint32_t)26U);
#  450|           Lib_IntVector_Intrinsics_vec256
#  451|               z11 = Lib_IntVector_Intrinsics_vec256_shift_right64(x4, (uint32_t)26U);

Error: COMPILER_WARNING: [#def552]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:451:19: note[note]: called from here
#  449|               z01 = Lib_IntVector_Intrinsics_vec256_shift_right64(x1, (uint32_t)26U);
#  450|           Lib_IntVector_Intrinsics_vec256
#  451|->             z11 = Lib_IntVector_Intrinsics_vec256_shift_right64(x4, (uint32_t)26U);
#  452|           Lib_IntVector_Intrinsics_vec256
#  453|               t = Lib_IntVector_Intrinsics_vec256_shift_left64(z11, (uint32_t)2U);

Error: COMPILER_WARNING: [#def553]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:453:17: note[note]: called from here
#  451|               z11 = Lib_IntVector_Intrinsics_vec256_shift_right64(x4, (uint32_t)26U);
#  452|           Lib_IntVector_Intrinsics_vec256
#  453|->             t = Lib_IntVector_Intrinsics_vec256_shift_left64(z11, (uint32_t)2U);
#  454|           Lib_IntVector_Intrinsics_vec256 z12 = Lib_IntVector_Intrinsics_vec256_add64(z11, t);
#  455|           Lib_IntVector_Intrinsics_vec256 x11 = Lib_IntVector_Intrinsics_vec256_and(x1, mask26);

Error: COMPILER_WARNING: [#def554]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:454:47: note[note]: called from here
#  452|           Lib_IntVector_Intrinsics_vec256
#  453|               t = Lib_IntVector_Intrinsics_vec256_shift_left64(z11, (uint32_t)2U);
#  454|->         Lib_IntVector_Intrinsics_vec256 z12 = Lib_IntVector_Intrinsics_vec256_add64(z11, t);
#  455|           Lib_IntVector_Intrinsics_vec256 x11 = Lib_IntVector_Intrinsics_vec256_and(x1, mask26);
#  456|           Lib_IntVector_Intrinsics_vec256 x41 = Lib_IntVector_Intrinsics_vec256_and(x4, mask26);

Error: COMPILER_WARNING: [#def555]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:455:47: note[note]: called from here
#  453|               t = Lib_IntVector_Intrinsics_vec256_shift_left64(z11, (uint32_t)2U);
#  454|           Lib_IntVector_Intrinsics_vec256 z12 = Lib_IntVector_Intrinsics_vec256_add64(z11, t);
#  455|->         Lib_IntVector_Intrinsics_vec256 x11 = Lib_IntVector_Intrinsics_vec256_and(x1, mask26);
#  456|           Lib_IntVector_Intrinsics_vec256 x41 = Lib_IntVector_Intrinsics_vec256_and(x4, mask26);
#  457|           Lib_IntVector_Intrinsics_vec256 x2 = Lib_IntVector_Intrinsics_vec256_add64(t2, z01);

Error: COMPILER_WARNING: [#def556]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:456:47: note[note]: called from here
#  454|           Lib_IntVector_Intrinsics_vec256 z12 = Lib_IntVector_Intrinsics_vec256_add64(z11, t);
#  455|           Lib_IntVector_Intrinsics_vec256 x11 = Lib_IntVector_Intrinsics_vec256_and(x1, mask26);
#  456|->         Lib_IntVector_Intrinsics_vec256 x41 = Lib_IntVector_Intrinsics_vec256_and(x4, mask26);
#  457|           Lib_IntVector_Intrinsics_vec256 x2 = Lib_IntVector_Intrinsics_vec256_add64(t2, z01);
#  458|           Lib_IntVector_Intrinsics_vec256 x01 = Lib_IntVector_Intrinsics_vec256_add64(x0, z12);

Error: COMPILER_WARNING: [#def557]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:457:46: note[note]: called from here
#  455|           Lib_IntVector_Intrinsics_vec256 x11 = Lib_IntVector_Intrinsics_vec256_and(x1, mask26);
#  456|           Lib_IntVector_Intrinsics_vec256 x41 = Lib_IntVector_Intrinsics_vec256_and(x4, mask26);
#  457|->         Lib_IntVector_Intrinsics_vec256 x2 = Lib_IntVector_Intrinsics_vec256_add64(t2, z01);
#  458|           Lib_IntVector_Intrinsics_vec256 x01 = Lib_IntVector_Intrinsics_vec256_add64(x0, z12);
#  459|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def558]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:458:47: note[note]: called from here
#  456|           Lib_IntVector_Intrinsics_vec256 x41 = Lib_IntVector_Intrinsics_vec256_and(x4, mask26);
#  457|           Lib_IntVector_Intrinsics_vec256 x2 = Lib_IntVector_Intrinsics_vec256_add64(t2, z01);
#  458|->         Lib_IntVector_Intrinsics_vec256 x01 = Lib_IntVector_Intrinsics_vec256_add64(x0, z12);
#  459|           Lib_IntVector_Intrinsics_vec256
#  460|               z02 = Lib_IntVector_Intrinsics_vec256_shift_right64(x2, (uint32_t)26U);

Error: COMPILER_WARNING: [#def559]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:460:19: note[note]: called from here
#  458|           Lib_IntVector_Intrinsics_vec256 x01 = Lib_IntVector_Intrinsics_vec256_add64(x0, z12);
#  459|           Lib_IntVector_Intrinsics_vec256
#  460|->             z02 = Lib_IntVector_Intrinsics_vec256_shift_right64(x2, (uint32_t)26U);
#  461|           Lib_IntVector_Intrinsics_vec256
#  462|               z13 = Lib_IntVector_Intrinsics_vec256_shift_right64(x01, (uint32_t)26U);

Error: COMPILER_WARNING: [#def560]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:462:19: note[note]: called from here
#  460|               z02 = Lib_IntVector_Intrinsics_vec256_shift_right64(x2, (uint32_t)26U);
#  461|           Lib_IntVector_Intrinsics_vec256
#  462|->             z13 = Lib_IntVector_Intrinsics_vec256_shift_right64(x01, (uint32_t)26U);
#  463|           Lib_IntVector_Intrinsics_vec256 x21 = Lib_IntVector_Intrinsics_vec256_and(x2, mask26);
#  464|           Lib_IntVector_Intrinsics_vec256 x02 = Lib_IntVector_Intrinsics_vec256_and(x01, mask26);

Error: COMPILER_WARNING: [#def561]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:463:47: note[note]: called from here
#  461|           Lib_IntVector_Intrinsics_vec256
#  462|               z13 = Lib_IntVector_Intrinsics_vec256_shift_right64(x01, (uint32_t)26U);
#  463|->         Lib_IntVector_Intrinsics_vec256 x21 = Lib_IntVector_Intrinsics_vec256_and(x2, mask26);
#  464|           Lib_IntVector_Intrinsics_vec256 x02 = Lib_IntVector_Intrinsics_vec256_and(x01, mask26);
#  465|           Lib_IntVector_Intrinsics_vec256 x31 = Lib_IntVector_Intrinsics_vec256_add64(x3, z02);

Error: COMPILER_WARNING: [#def562]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:464:47: note[note]: called from here
#  462|               z13 = Lib_IntVector_Intrinsics_vec256_shift_right64(x01, (uint32_t)26U);
#  463|           Lib_IntVector_Intrinsics_vec256 x21 = Lib_IntVector_Intrinsics_vec256_and(x2, mask26);
#  464|->         Lib_IntVector_Intrinsics_vec256 x02 = Lib_IntVector_Intrinsics_vec256_and(x01, mask26);
#  465|           Lib_IntVector_Intrinsics_vec256 x31 = Lib_IntVector_Intrinsics_vec256_add64(x3, z02);
#  466|           Lib_IntVector_Intrinsics_vec256 x12 = Lib_IntVector_Intrinsics_vec256_add64(x11, z13);

Error: COMPILER_WARNING: [#def563]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:465:47: note[note]: called from here
#  463|           Lib_IntVector_Intrinsics_vec256 x21 = Lib_IntVector_Intrinsics_vec256_and(x2, mask26);
#  464|           Lib_IntVector_Intrinsics_vec256 x02 = Lib_IntVector_Intrinsics_vec256_and(x01, mask26);
#  465|->         Lib_IntVector_Intrinsics_vec256 x31 = Lib_IntVector_Intrinsics_vec256_add64(x3, z02);
#  466|           Lib_IntVector_Intrinsics_vec256 x12 = Lib_IntVector_Intrinsics_vec256_add64(x11, z13);
#  467|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def564]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:466:47: note[note]: called from here
#  464|           Lib_IntVector_Intrinsics_vec256 x02 = Lib_IntVector_Intrinsics_vec256_and(x01, mask26);
#  465|           Lib_IntVector_Intrinsics_vec256 x31 = Lib_IntVector_Intrinsics_vec256_add64(x3, z02);
#  466|->         Lib_IntVector_Intrinsics_vec256 x12 = Lib_IntVector_Intrinsics_vec256_add64(x11, z13);
#  467|           Lib_IntVector_Intrinsics_vec256
#  468|               z03 = Lib_IntVector_Intrinsics_vec256_shift_right64(x31, (uint32_t)26U);

Error: COMPILER_WARNING: [#def565]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:468:19: note[note]: called from here
#  466|           Lib_IntVector_Intrinsics_vec256 x12 = Lib_IntVector_Intrinsics_vec256_add64(x11, z13);
#  467|           Lib_IntVector_Intrinsics_vec256
#  468|->             z03 = Lib_IntVector_Intrinsics_vec256_shift_right64(x31, (uint32_t)26U);
#  469|           Lib_IntVector_Intrinsics_vec256 x32 = Lib_IntVector_Intrinsics_vec256_and(x31, mask26);
#  470|           Lib_IntVector_Intrinsics_vec256 x42 = Lib_IntVector_Intrinsics_vec256_add64(x41, z03);

Error: COMPILER_WARNING: [#def566]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:469:47: note[note]: called from here
#  467|           Lib_IntVector_Intrinsics_vec256
#  468|               z03 = Lib_IntVector_Intrinsics_vec256_shift_right64(x31, (uint32_t)26U);
#  469|->         Lib_IntVector_Intrinsics_vec256 x32 = Lib_IntVector_Intrinsics_vec256_and(x31, mask26);
#  470|           Lib_IntVector_Intrinsics_vec256 x42 = Lib_IntVector_Intrinsics_vec256_add64(x41, z03);
#  471|           Lib_IntVector_Intrinsics_vec256 o0 = x02;

Error: COMPILER_WARNING: [#def567]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:470:47: note[note]: called from here
#  468|               z03 = Lib_IntVector_Intrinsics_vec256_shift_right64(x31, (uint32_t)26U);
#  469|           Lib_IntVector_Intrinsics_vec256 x32 = Lib_IntVector_Intrinsics_vec256_and(x31, mask26);
#  470|->         Lib_IntVector_Intrinsics_vec256 x42 = Lib_IntVector_Intrinsics_vec256_add64(x41, z03);
#  471|           Lib_IntVector_Intrinsics_vec256 o0 = x02;
#  472|           Lib_IntVector_Intrinsics_vec256 o1 = x12;

Error: COMPILER_WARNING: [#def568]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:492:46: note[note]: called from here
#  490|           uint64_t u = load64_le(tmp + (uint32_t)8U);
#  491|           uint64_t hi = u;
#  492|->         Lib_IntVector_Intrinsics_vec256 f0 = Lib_IntVector_Intrinsics_vec256_load64(lo);
#  493|           Lib_IntVector_Intrinsics_vec256 f1 = Lib_IntVector_Intrinsics_vec256_load64(hi);
#  494|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def569]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:493:46: note[note]: called from here
#  491|           uint64_t hi = u;
#  492|           Lib_IntVector_Intrinsics_vec256 f0 = Lib_IntVector_Intrinsics_vec256_load64(lo);
#  493|->         Lib_IntVector_Intrinsics_vec256 f1 = Lib_IntVector_Intrinsics_vec256_load64(hi);
#  494|           Lib_IntVector_Intrinsics_vec256
#  495|               f010 =

Error: COMPILER_WARNING: [#def570]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:496:17: note[note]: called from here
#  494|           Lib_IntVector_Intrinsics_vec256
#  495|               f010 =
#  496|->                 Lib_IntVector_Intrinsics_vec256_and(f0,
#  497|                                                       Lib_IntVector_Intrinsics_vec256_load64((uint64_t)0x3ffffffU));
#  498|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def571]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:500:17: note[note]: called from here
#  498|           Lib_IntVector_Intrinsics_vec256
#  499|               f110 =
#  500|->                 Lib_IntVector_Intrinsics_vec256_and(Lib_IntVector_Intrinsics_vec256_shift_right64(f0,
#  501|                                                                                                     (uint32_t)26U),
#  502|                                                       Lib_IntVector_Intrinsics_vec256_load64((uint64_t)0x3ffffffU));

Error: COMPILER_WARNING: [#def572]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:505:17: note[note]: called from here
#  503|           Lib_IntVector_Intrinsics_vec256
#  504|               f20 =
#  505|->                 Lib_IntVector_Intrinsics_vec256_or(Lib_IntVector_Intrinsics_vec256_shift_right64(f0,
#  506|                                                                                                    (uint32_t)52U),
#  507|                                                      Lib_IntVector_Intrinsics_vec256_shift_left64(Lib_IntVector_Intrinsics_vec256_and(f1,

Error: COMPILER_WARNING: [#def573]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:512:17: note[note]: called from here
#  510|           Lib_IntVector_Intrinsics_vec256
#  511|               f30 =
#  512|->                 Lib_IntVector_Intrinsics_vec256_and(Lib_IntVector_Intrinsics_vec256_shift_right64(f1,
#  513|                                                                                                     (uint32_t)14U),
#  514|                                                       Lib_IntVector_Intrinsics_vec256_load64((uint64_t)0x3ffffffU));

Error: COMPILER_WARNING: [#def574]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:516:19: note[note]: called from here
#  514|                                                       Lib_IntVector_Intrinsics_vec256_load64((uint64_t)0x3ffffffU));
#  515|           Lib_IntVector_Intrinsics_vec256
#  516|->             f40 = Lib_IntVector_Intrinsics_vec256_shift_right64(f1, (uint32_t)40U);
#  517|           Lib_IntVector_Intrinsics_vec256 f01 = f010;
#  518|           Lib_IntVector_Intrinsics_vec256 f111 = f110;

Error: COMPILER_WARNING: [#def575]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:528:48: note[note]: called from here
#  526|           e[4U] = f4;
#  527|           uint64_t b = (uint64_t)1U << rem1 * (uint32_t)8U % (uint32_t)26U;
#  528|->         Lib_IntVector_Intrinsics_vec256 mask = Lib_IntVector_Intrinsics_vec256_load64(b);
#  529|           Lib_IntVector_Intrinsics_vec256 fi = e[rem1 * (uint32_t)8U / (uint32_t)26U];
#  530|           e[rem1 * (uint32_t)8U / (uint32_t)26U] = Lib_IntVector_Intrinsics_vec256_or(fi, mask);

Error: COMPILER_WARNING: [#def576]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:530:50: note[note]: called from here
#  528|           Lib_IntVector_Intrinsics_vec256 mask = Lib_IntVector_Intrinsics_vec256_load64(b);
#  529|           Lib_IntVector_Intrinsics_vec256 fi = e[rem1 * (uint32_t)8U / (uint32_t)26U];
#  530|->         e[rem1 * (uint32_t)8U / (uint32_t)26U] = Lib_IntVector_Intrinsics_vec256_or(fi, mask);
#  531|           Lib_IntVector_Intrinsics_vec256 *r1 = pre0;
#  532|           Lib_IntVector_Intrinsics_vec256 *r5 = pre0 + (uint32_t)5U;

Error: COMPILER_WARNING: [#def577]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:552:47: note[note]: called from here
#  550|           Lib_IntVector_Intrinsics_vec256 a3 = acc0[3U];
#  551|           Lib_IntVector_Intrinsics_vec256 a4 = acc0[4U];
#  552|->         Lib_IntVector_Intrinsics_vec256 a01 = Lib_IntVector_Intrinsics_vec256_add64(a0, f10);
#  553|           Lib_IntVector_Intrinsics_vec256 a11 = Lib_IntVector_Intrinsics_vec256_add64(a1, f11);
#  554|           Lib_IntVector_Intrinsics_vec256 a21 = Lib_IntVector_Intrinsics_vec256_add64(a2, f12);

Error: COMPILER_WARNING: [#def578]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:553:47: note[note]: called from here
#  551|           Lib_IntVector_Intrinsics_vec256 a4 = acc0[4U];
#  552|           Lib_IntVector_Intrinsics_vec256 a01 = Lib_IntVector_Intrinsics_vec256_add64(a0, f10);
#  553|->         Lib_IntVector_Intrinsics_vec256 a11 = Lib_IntVector_Intrinsics_vec256_add64(a1, f11);
#  554|           Lib_IntVector_Intrinsics_vec256 a21 = Lib_IntVector_Intrinsics_vec256_add64(a2, f12);
#  555|           Lib_IntVector_Intrinsics_vec256 a31 = Lib_IntVector_Intrinsics_vec256_add64(a3, f13);

Error: COMPILER_WARNING: [#def579]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:554:47: note[note]: called from here
#  552|           Lib_IntVector_Intrinsics_vec256 a01 = Lib_IntVector_Intrinsics_vec256_add64(a0, f10);
#  553|           Lib_IntVector_Intrinsics_vec256 a11 = Lib_IntVector_Intrinsics_vec256_add64(a1, f11);
#  554|->         Lib_IntVector_Intrinsics_vec256 a21 = Lib_IntVector_Intrinsics_vec256_add64(a2, f12);
#  555|           Lib_IntVector_Intrinsics_vec256 a31 = Lib_IntVector_Intrinsics_vec256_add64(a3, f13);
#  556|           Lib_IntVector_Intrinsics_vec256 a41 = Lib_IntVector_Intrinsics_vec256_add64(a4, f14);

Error: COMPILER_WARNING: [#def580]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:555:47: note[note]: called from here
#  553|           Lib_IntVector_Intrinsics_vec256 a11 = Lib_IntVector_Intrinsics_vec256_add64(a1, f11);
#  554|           Lib_IntVector_Intrinsics_vec256 a21 = Lib_IntVector_Intrinsics_vec256_add64(a2, f12);
#  555|->         Lib_IntVector_Intrinsics_vec256 a31 = Lib_IntVector_Intrinsics_vec256_add64(a3, f13);
#  556|           Lib_IntVector_Intrinsics_vec256 a41 = Lib_IntVector_Intrinsics_vec256_add64(a4, f14);
#  557|           Lib_IntVector_Intrinsics_vec256 a02 = Lib_IntVector_Intrinsics_vec256_mul64(r0, a01);

Error: COMPILER_WARNING: [#def581]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:556:47: note[note]: called from here
#  554|           Lib_IntVector_Intrinsics_vec256 a21 = Lib_IntVector_Intrinsics_vec256_add64(a2, f12);
#  555|           Lib_IntVector_Intrinsics_vec256 a31 = Lib_IntVector_Intrinsics_vec256_add64(a3, f13);
#  556|->         Lib_IntVector_Intrinsics_vec256 a41 = Lib_IntVector_Intrinsics_vec256_add64(a4, f14);
#  557|           Lib_IntVector_Intrinsics_vec256 a02 = Lib_IntVector_Intrinsics_vec256_mul64(r0, a01);
#  558|           Lib_IntVector_Intrinsics_vec256 a12 = Lib_IntVector_Intrinsics_vec256_mul64(r11, a01);

Error: COMPILER_WARNING: [#def582]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:557:47: note[note]: called from here
#  555|           Lib_IntVector_Intrinsics_vec256 a31 = Lib_IntVector_Intrinsics_vec256_add64(a3, f13);
#  556|           Lib_IntVector_Intrinsics_vec256 a41 = Lib_IntVector_Intrinsics_vec256_add64(a4, f14);
#  557|->         Lib_IntVector_Intrinsics_vec256 a02 = Lib_IntVector_Intrinsics_vec256_mul64(r0, a01);
#  558|           Lib_IntVector_Intrinsics_vec256 a12 = Lib_IntVector_Intrinsics_vec256_mul64(r11, a01);
#  559|           Lib_IntVector_Intrinsics_vec256 a22 = Lib_IntVector_Intrinsics_vec256_mul64(r2, a01);

Error: COMPILER_WARNING: [#def583]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:558:47: note[note]: called from here
#  556|           Lib_IntVector_Intrinsics_vec256 a41 = Lib_IntVector_Intrinsics_vec256_add64(a4, f14);
#  557|           Lib_IntVector_Intrinsics_vec256 a02 = Lib_IntVector_Intrinsics_vec256_mul64(r0, a01);
#  558|->         Lib_IntVector_Intrinsics_vec256 a12 = Lib_IntVector_Intrinsics_vec256_mul64(r11, a01);
#  559|           Lib_IntVector_Intrinsics_vec256 a22 = Lib_IntVector_Intrinsics_vec256_mul64(r2, a01);
#  560|           Lib_IntVector_Intrinsics_vec256 a32 = Lib_IntVector_Intrinsics_vec256_mul64(r3, a01);

Error: COMPILER_WARNING: [#def584]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:559:47: note[note]: called from here
#  557|           Lib_IntVector_Intrinsics_vec256 a02 = Lib_IntVector_Intrinsics_vec256_mul64(r0, a01);
#  558|           Lib_IntVector_Intrinsics_vec256 a12 = Lib_IntVector_Intrinsics_vec256_mul64(r11, a01);
#  559|->         Lib_IntVector_Intrinsics_vec256 a22 = Lib_IntVector_Intrinsics_vec256_mul64(r2, a01);
#  560|           Lib_IntVector_Intrinsics_vec256 a32 = Lib_IntVector_Intrinsics_vec256_mul64(r3, a01);
#  561|           Lib_IntVector_Intrinsics_vec256 a42 = Lib_IntVector_Intrinsics_vec256_mul64(r4, a01);

Error: COMPILER_WARNING: [#def585]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:560:47: note[note]: called from here
#  558|           Lib_IntVector_Intrinsics_vec256 a12 = Lib_IntVector_Intrinsics_vec256_mul64(r11, a01);
#  559|           Lib_IntVector_Intrinsics_vec256 a22 = Lib_IntVector_Intrinsics_vec256_mul64(r2, a01);
#  560|->         Lib_IntVector_Intrinsics_vec256 a32 = Lib_IntVector_Intrinsics_vec256_mul64(r3, a01);
#  561|           Lib_IntVector_Intrinsics_vec256 a42 = Lib_IntVector_Intrinsics_vec256_mul64(r4, a01);
#  562|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def586]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:561:47: note[note]: called from here
#  559|           Lib_IntVector_Intrinsics_vec256 a22 = Lib_IntVector_Intrinsics_vec256_mul64(r2, a01);
#  560|           Lib_IntVector_Intrinsics_vec256 a32 = Lib_IntVector_Intrinsics_vec256_mul64(r3, a01);
#  561|->         Lib_IntVector_Intrinsics_vec256 a42 = Lib_IntVector_Intrinsics_vec256_mul64(r4, a01);
#  562|           Lib_IntVector_Intrinsics_vec256
#  563|               a03 =

Error: COMPILER_WARNING: [#def587]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:564:17: note[note]: called from here
#  562|           Lib_IntVector_Intrinsics_vec256
#  563|               a03 =
#  564|->                 Lib_IntVector_Intrinsics_vec256_add64(a02,
#  565|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r54, a11));
#  566|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def588]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:568:17: note[note]: called from here
#  566|           Lib_IntVector_Intrinsics_vec256
#  567|               a13 =
#  568|->                 Lib_IntVector_Intrinsics_vec256_add64(a12,
#  569|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r0, a11));
#  570|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def589]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:572:17: note[note]: called from here
#  570|           Lib_IntVector_Intrinsics_vec256
#  571|               a23 =
#  572|->                 Lib_IntVector_Intrinsics_vec256_add64(a22,
#  573|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r11, a11));
#  574|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def590]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:576:17: note[note]: called from here
#  574|           Lib_IntVector_Intrinsics_vec256
#  575|               a33 =
#  576|->                 Lib_IntVector_Intrinsics_vec256_add64(a32,
#  577|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r2, a11));
#  578|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def591]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:580:17: note[note]: called from here
#  578|           Lib_IntVector_Intrinsics_vec256
#  579|               a43 =
#  580|->                 Lib_IntVector_Intrinsics_vec256_add64(a42,
#  581|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r3, a11));
#  582|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def592]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:584:17: note[note]: called from here
#  582|           Lib_IntVector_Intrinsics_vec256
#  583|               a04 =
#  584|->                 Lib_IntVector_Intrinsics_vec256_add64(a03,
#  585|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r53, a21));
#  586|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def593]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:588:17: note[note]: called from here
#  586|           Lib_IntVector_Intrinsics_vec256
#  587|               a14 =
#  588|->                 Lib_IntVector_Intrinsics_vec256_add64(a13,
#  589|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r54, a21));
#  590|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def594]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:592:17: note[note]: called from here
#  590|           Lib_IntVector_Intrinsics_vec256
#  591|               a24 =
#  592|->                 Lib_IntVector_Intrinsics_vec256_add64(a23,
#  593|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r0, a21));
#  594|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def595]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:596:17: note[note]: called from here
#  594|           Lib_IntVector_Intrinsics_vec256
#  595|               a34 =
#  596|->                 Lib_IntVector_Intrinsics_vec256_add64(a33,
#  597|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r11, a21));
#  598|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def596]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:600:17: note[note]: called from here
#  598|           Lib_IntVector_Intrinsics_vec256
#  599|               a44 =
#  600|->                 Lib_IntVector_Intrinsics_vec256_add64(a43,
#  601|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r2, a21));
#  602|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def597]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:604:17: note[note]: called from here
#  602|           Lib_IntVector_Intrinsics_vec256
#  603|               a05 =
#  604|->                 Lib_IntVector_Intrinsics_vec256_add64(a04,
#  605|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r52, a31));
#  606|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def598]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:608:17: note[note]: called from here
#  606|           Lib_IntVector_Intrinsics_vec256
#  607|               a15 =
#  608|->                 Lib_IntVector_Intrinsics_vec256_add64(a14,
#  609|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r53, a31));
#  610|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def599]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:612:17: note[note]: called from here
#  610|           Lib_IntVector_Intrinsics_vec256
#  611|               a25 =
#  612|->                 Lib_IntVector_Intrinsics_vec256_add64(a24,
#  613|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r54, a31));
#  614|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def600]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:616:17: note[note]: called from here
#  614|           Lib_IntVector_Intrinsics_vec256
#  615|               a35 =
#  616|->                 Lib_IntVector_Intrinsics_vec256_add64(a34,
#  617|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r0, a31));
#  618|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def601]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:620:17: note[note]: called from here
#  618|           Lib_IntVector_Intrinsics_vec256
#  619|               a45 =
#  620|->                 Lib_IntVector_Intrinsics_vec256_add64(a44,
#  621|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r11, a31));
#  622|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def602]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:624:17: note[note]: called from here
#  622|           Lib_IntVector_Intrinsics_vec256
#  623|               a06 =
#  624|->                 Lib_IntVector_Intrinsics_vec256_add64(a05,
#  625|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r51, a41));
#  626|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def603]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:628:17: note[note]: called from here
#  626|           Lib_IntVector_Intrinsics_vec256
#  627|               a16 =
#  628|->                 Lib_IntVector_Intrinsics_vec256_add64(a15,
#  629|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r52, a41));
#  630|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def604]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:632:17: note[note]: called from here
#  630|           Lib_IntVector_Intrinsics_vec256
#  631|               a26 =
#  632|->                 Lib_IntVector_Intrinsics_vec256_add64(a25,
#  633|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r53, a41));
#  634|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def605]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:636:17: note[note]: called from here
#  634|           Lib_IntVector_Intrinsics_vec256
#  635|               a36 =
#  636|->                 Lib_IntVector_Intrinsics_vec256_add64(a35,
#  637|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r54, a41));
#  638|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def606]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:640:17: note[note]: called from here
#  638|           Lib_IntVector_Intrinsics_vec256
#  639|               a46 =
#  640|->                 Lib_IntVector_Intrinsics_vec256_add64(a45,
#  641|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r0, a41));
#  642|           Lib_IntVector_Intrinsics_vec256 t01 = a06;

Error: COMPILER_WARNING: [#def607]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:648:22: note[note]: called from here
#  646|           Lib_IntVector_Intrinsics_vec256 t4 = a46;
#  647|           Lib_IntVector_Intrinsics_vec256
#  648|->             mask26 = Lib_IntVector_Intrinsics_vec256_load64((uint64_t)0x3ffffffU);
#  649|           Lib_IntVector_Intrinsics_vec256
#  650|               z0 = Lib_IntVector_Intrinsics_vec256_shift_right64(t01, (uint32_t)26U);

Error: COMPILER_WARNING: [#def608]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:650:18: note[note]: called from here
#  648|               mask26 = Lib_IntVector_Intrinsics_vec256_load64((uint64_t)0x3ffffffU);
#  649|           Lib_IntVector_Intrinsics_vec256
#  650|->             z0 = Lib_IntVector_Intrinsics_vec256_shift_right64(t01, (uint32_t)26U);
#  651|           Lib_IntVector_Intrinsics_vec256
#  652|               z1 = Lib_IntVector_Intrinsics_vec256_shift_right64(t3, (uint32_t)26U);

Error: COMPILER_WARNING: [#def609]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:652:18: note[note]: called from here
#  650|               z0 = Lib_IntVector_Intrinsics_vec256_shift_right64(t01, (uint32_t)26U);
#  651|           Lib_IntVector_Intrinsics_vec256
#  652|->             z1 = Lib_IntVector_Intrinsics_vec256_shift_right64(t3, (uint32_t)26U);
#  653|           Lib_IntVector_Intrinsics_vec256 x0 = Lib_IntVector_Intrinsics_vec256_and(t01, mask26);
#  654|           Lib_IntVector_Intrinsics_vec256 x3 = Lib_IntVector_Intrinsics_vec256_and(t3, mask26);

Error: COMPILER_WARNING: [#def610]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:653:46: note[note]: called from here
#  651|           Lib_IntVector_Intrinsics_vec256
#  652|               z1 = Lib_IntVector_Intrinsics_vec256_shift_right64(t3, (uint32_t)26U);
#  653|->         Lib_IntVector_Intrinsics_vec256 x0 = Lib_IntVector_Intrinsics_vec256_and(t01, mask26);
#  654|           Lib_IntVector_Intrinsics_vec256 x3 = Lib_IntVector_Intrinsics_vec256_and(t3, mask26);
#  655|           Lib_IntVector_Intrinsics_vec256 x1 = Lib_IntVector_Intrinsics_vec256_add64(t11, z0);

Error: COMPILER_WARNING: [#def611]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:654:46: note[note]: called from here
#  652|               z1 = Lib_IntVector_Intrinsics_vec256_shift_right64(t3, (uint32_t)26U);
#  653|           Lib_IntVector_Intrinsics_vec256 x0 = Lib_IntVector_Intrinsics_vec256_and(t01, mask26);
#  654|->         Lib_IntVector_Intrinsics_vec256 x3 = Lib_IntVector_Intrinsics_vec256_and(t3, mask26);
#  655|           Lib_IntVector_Intrinsics_vec256 x1 = Lib_IntVector_Intrinsics_vec256_add64(t11, z0);
#  656|           Lib_IntVector_Intrinsics_vec256 x4 = Lib_IntVector_Intrinsics_vec256_add64(t4, z1);

Error: COMPILER_WARNING: [#def612]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:655:46: note[note]: called from here
#  653|           Lib_IntVector_Intrinsics_vec256 x0 = Lib_IntVector_Intrinsics_vec256_and(t01, mask26);
#  654|           Lib_IntVector_Intrinsics_vec256 x3 = Lib_IntVector_Intrinsics_vec256_and(t3, mask26);
#  655|->         Lib_IntVector_Intrinsics_vec256 x1 = Lib_IntVector_Intrinsics_vec256_add64(t11, z0);
#  656|           Lib_IntVector_Intrinsics_vec256 x4 = Lib_IntVector_Intrinsics_vec256_add64(t4, z1);
#  657|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def613]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:656:46: note[note]: called from here
#  654|           Lib_IntVector_Intrinsics_vec256 x3 = Lib_IntVector_Intrinsics_vec256_and(t3, mask26);
#  655|           Lib_IntVector_Intrinsics_vec256 x1 = Lib_IntVector_Intrinsics_vec256_add64(t11, z0);
#  656|->         Lib_IntVector_Intrinsics_vec256 x4 = Lib_IntVector_Intrinsics_vec256_add64(t4, z1);
#  657|           Lib_IntVector_Intrinsics_vec256
#  658|               z01 = Lib_IntVector_Intrinsics_vec256_shift_right64(x1, (uint32_t)26U);

Error: COMPILER_WARNING: [#def614]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:658:19: note[note]: called from here
#  656|           Lib_IntVector_Intrinsics_vec256 x4 = Lib_IntVector_Intrinsics_vec256_add64(t4, z1);
#  657|           Lib_IntVector_Intrinsics_vec256
#  658|->             z01 = Lib_IntVector_Intrinsics_vec256_shift_right64(x1, (uint32_t)26U);
#  659|           Lib_IntVector_Intrinsics_vec256
#  660|               z11 = Lib_IntVector_Intrinsics_vec256_shift_right64(x4, (uint32_t)26U);

Error: COMPILER_WARNING: [#def615]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:660:19: note[note]: called from here
#  658|               z01 = Lib_IntVector_Intrinsics_vec256_shift_right64(x1, (uint32_t)26U);
#  659|           Lib_IntVector_Intrinsics_vec256
#  660|->             z11 = Lib_IntVector_Intrinsics_vec256_shift_right64(x4, (uint32_t)26U);
#  661|           Lib_IntVector_Intrinsics_vec256
#  662|               t = Lib_IntVector_Intrinsics_vec256_shift_left64(z11, (uint32_t)2U);

Error: COMPILER_WARNING: [#def616]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:662:17: note[note]: called from here
#  660|               z11 = Lib_IntVector_Intrinsics_vec256_shift_right64(x4, (uint32_t)26U);
#  661|           Lib_IntVector_Intrinsics_vec256
#  662|->             t = Lib_IntVector_Intrinsics_vec256_shift_left64(z11, (uint32_t)2U);
#  663|           Lib_IntVector_Intrinsics_vec256 z12 = Lib_IntVector_Intrinsics_vec256_add64(z11, t);
#  664|           Lib_IntVector_Intrinsics_vec256 x11 = Lib_IntVector_Intrinsics_vec256_and(x1, mask26);

Error: COMPILER_WARNING: [#def617]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:663:47: note[note]: called from here
#  661|           Lib_IntVector_Intrinsics_vec256
#  662|               t = Lib_IntVector_Intrinsics_vec256_shift_left64(z11, (uint32_t)2U);
#  663|->         Lib_IntVector_Intrinsics_vec256 z12 = Lib_IntVector_Intrinsics_vec256_add64(z11, t);
#  664|           Lib_IntVector_Intrinsics_vec256 x11 = Lib_IntVector_Intrinsics_vec256_and(x1, mask26);
#  665|           Lib_IntVector_Intrinsics_vec256 x41 = Lib_IntVector_Intrinsics_vec256_and(x4, mask26);

Error: COMPILER_WARNING: [#def618]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:664:47: note[note]: called from here
#  662|               t = Lib_IntVector_Intrinsics_vec256_shift_left64(z11, (uint32_t)2U);
#  663|           Lib_IntVector_Intrinsics_vec256 z12 = Lib_IntVector_Intrinsics_vec256_add64(z11, t);
#  664|->         Lib_IntVector_Intrinsics_vec256 x11 = Lib_IntVector_Intrinsics_vec256_and(x1, mask26);
#  665|           Lib_IntVector_Intrinsics_vec256 x41 = Lib_IntVector_Intrinsics_vec256_and(x4, mask26);
#  666|           Lib_IntVector_Intrinsics_vec256 x2 = Lib_IntVector_Intrinsics_vec256_add64(t2, z01);

Error: COMPILER_WARNING: [#def619]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:665:47: note[note]: called from here
#  663|           Lib_IntVector_Intrinsics_vec256 z12 = Lib_IntVector_Intrinsics_vec256_add64(z11, t);
#  664|           Lib_IntVector_Intrinsics_vec256 x11 = Lib_IntVector_Intrinsics_vec256_and(x1, mask26);
#  665|->         Lib_IntVector_Intrinsics_vec256 x41 = Lib_IntVector_Intrinsics_vec256_and(x4, mask26);
#  666|           Lib_IntVector_Intrinsics_vec256 x2 = Lib_IntVector_Intrinsics_vec256_add64(t2, z01);
#  667|           Lib_IntVector_Intrinsics_vec256 x01 = Lib_IntVector_Intrinsics_vec256_add64(x0, z12);

Error: COMPILER_WARNING: [#def620]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:666:46: note[note]: called from here
#  664|           Lib_IntVector_Intrinsics_vec256 x11 = Lib_IntVector_Intrinsics_vec256_and(x1, mask26);
#  665|           Lib_IntVector_Intrinsics_vec256 x41 = Lib_IntVector_Intrinsics_vec256_and(x4, mask26);
#  666|->         Lib_IntVector_Intrinsics_vec256 x2 = Lib_IntVector_Intrinsics_vec256_add64(t2, z01);
#  667|           Lib_IntVector_Intrinsics_vec256 x01 = Lib_IntVector_Intrinsics_vec256_add64(x0, z12);
#  668|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def621]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:667:47: note[note]: called from here
#  665|           Lib_IntVector_Intrinsics_vec256 x41 = Lib_IntVector_Intrinsics_vec256_and(x4, mask26);
#  666|           Lib_IntVector_Intrinsics_vec256 x2 = Lib_IntVector_Intrinsics_vec256_add64(t2, z01);
#  667|->         Lib_IntVector_Intrinsics_vec256 x01 = Lib_IntVector_Intrinsics_vec256_add64(x0, z12);
#  668|           Lib_IntVector_Intrinsics_vec256
#  669|               z02 = Lib_IntVector_Intrinsics_vec256_shift_right64(x2, (uint32_t)26U);

Error: COMPILER_WARNING: [#def622]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:669:19: note[note]: called from here
#  667|           Lib_IntVector_Intrinsics_vec256 x01 = Lib_IntVector_Intrinsics_vec256_add64(x0, z12);
#  668|           Lib_IntVector_Intrinsics_vec256
#  669|->             z02 = Lib_IntVector_Intrinsics_vec256_shift_right64(x2, (uint32_t)26U);
#  670|           Lib_IntVector_Intrinsics_vec256
#  671|               z13 = Lib_IntVector_Intrinsics_vec256_shift_right64(x01, (uint32_t)26U);

Error: COMPILER_WARNING: [#def623]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:671:19: note[note]: called from here
#  669|               z02 = Lib_IntVector_Intrinsics_vec256_shift_right64(x2, (uint32_t)26U);
#  670|           Lib_IntVector_Intrinsics_vec256
#  671|->             z13 = Lib_IntVector_Intrinsics_vec256_shift_right64(x01, (uint32_t)26U);
#  672|           Lib_IntVector_Intrinsics_vec256 x21 = Lib_IntVector_Intrinsics_vec256_and(x2, mask26);
#  673|           Lib_IntVector_Intrinsics_vec256 x02 = Lib_IntVector_Intrinsics_vec256_and(x01, mask26);

Error: COMPILER_WARNING: [#def624]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:672:47: note[note]: called from here
#  670|           Lib_IntVector_Intrinsics_vec256
#  671|               z13 = Lib_IntVector_Intrinsics_vec256_shift_right64(x01, (uint32_t)26U);
#  672|->         Lib_IntVector_Intrinsics_vec256 x21 = Lib_IntVector_Intrinsics_vec256_and(x2, mask26);
#  673|           Lib_IntVector_Intrinsics_vec256 x02 = Lib_IntVector_Intrinsics_vec256_and(x01, mask26);
#  674|           Lib_IntVector_Intrinsics_vec256 x31 = Lib_IntVector_Intrinsics_vec256_add64(x3, z02);

Error: COMPILER_WARNING: [#def625]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:673:47: note[note]: called from here
#  671|               z13 = Lib_IntVector_Intrinsics_vec256_shift_right64(x01, (uint32_t)26U);
#  672|           Lib_IntVector_Intrinsics_vec256 x21 = Lib_IntVector_Intrinsics_vec256_and(x2, mask26);
#  673|->         Lib_IntVector_Intrinsics_vec256 x02 = Lib_IntVector_Intrinsics_vec256_and(x01, mask26);
#  674|           Lib_IntVector_Intrinsics_vec256 x31 = Lib_IntVector_Intrinsics_vec256_add64(x3, z02);
#  675|           Lib_IntVector_Intrinsics_vec256 x12 = Lib_IntVector_Intrinsics_vec256_add64(x11, z13);

Error: COMPILER_WARNING: [#def626]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:674:47: note[note]: called from here
#  672|           Lib_IntVector_Intrinsics_vec256 x21 = Lib_IntVector_Intrinsics_vec256_and(x2, mask26);
#  673|           Lib_IntVector_Intrinsics_vec256 x02 = Lib_IntVector_Intrinsics_vec256_and(x01, mask26);
#  674|->         Lib_IntVector_Intrinsics_vec256 x31 = Lib_IntVector_Intrinsics_vec256_add64(x3, z02);
#  675|           Lib_IntVector_Intrinsics_vec256 x12 = Lib_IntVector_Intrinsics_vec256_add64(x11, z13);
#  676|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def627]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:675:47: note[note]: called from here
#  673|           Lib_IntVector_Intrinsics_vec256 x02 = Lib_IntVector_Intrinsics_vec256_and(x01, mask26);
#  674|           Lib_IntVector_Intrinsics_vec256 x31 = Lib_IntVector_Intrinsics_vec256_add64(x3, z02);
#  675|->         Lib_IntVector_Intrinsics_vec256 x12 = Lib_IntVector_Intrinsics_vec256_add64(x11, z13);
#  676|           Lib_IntVector_Intrinsics_vec256
#  677|               z03 = Lib_IntVector_Intrinsics_vec256_shift_right64(x31, (uint32_t)26U);

Error: COMPILER_WARNING: [#def628]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:677:19: note[note]: called from here
#  675|           Lib_IntVector_Intrinsics_vec256 x12 = Lib_IntVector_Intrinsics_vec256_add64(x11, z13);
#  676|           Lib_IntVector_Intrinsics_vec256
#  677|->             z03 = Lib_IntVector_Intrinsics_vec256_shift_right64(x31, (uint32_t)26U);
#  678|           Lib_IntVector_Intrinsics_vec256 x32 = Lib_IntVector_Intrinsics_vec256_and(x31, mask26);
#  679|           Lib_IntVector_Intrinsics_vec256 x42 = Lib_IntVector_Intrinsics_vec256_add64(x41, z03);

Error: COMPILER_WARNING: [#def629]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:678:47: note[note]: called from here
#  676|           Lib_IntVector_Intrinsics_vec256
#  677|               z03 = Lib_IntVector_Intrinsics_vec256_shift_right64(x31, (uint32_t)26U);
#  678|->         Lib_IntVector_Intrinsics_vec256 x32 = Lib_IntVector_Intrinsics_vec256_and(x31, mask26);
#  679|           Lib_IntVector_Intrinsics_vec256 x42 = Lib_IntVector_Intrinsics_vec256_add64(x41, z03);
#  680|           Lib_IntVector_Intrinsics_vec256 o0 = x02;

Error: COMPILER_WARNING: [#def630]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:679:47: note[note]: called from here
#  677|               z03 = Lib_IntVector_Intrinsics_vec256_shift_right64(x31, (uint32_t)26U);
#  678|           Lib_IntVector_Intrinsics_vec256 x32 = Lib_IntVector_Intrinsics_vec256_and(x31, mask26);
#  679|->         Lib_IntVector_Intrinsics_vec256 x42 = Lib_IntVector_Intrinsics_vec256_add64(x41, z03);
#  680|           Lib_IntVector_Intrinsics_vec256 o0 = x02;
#  681|           Lib_IntVector_Intrinsics_vec256 o1 = x12;

Error: COMPILER_WARNING: [#def631]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:702:46: note[note]: called from here
#  700|           uint64_t u = load64_le(tmp + (uint32_t)8U);
#  701|           uint64_t hi = u;
#  702|->         Lib_IntVector_Intrinsics_vec256 f0 = Lib_IntVector_Intrinsics_vec256_load64(lo);
#  703|           Lib_IntVector_Intrinsics_vec256 f1 = Lib_IntVector_Intrinsics_vec256_load64(hi);
#  704|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def632]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:703:46: note[note]: called from here
#  701|           uint64_t hi = u;
#  702|           Lib_IntVector_Intrinsics_vec256 f0 = Lib_IntVector_Intrinsics_vec256_load64(lo);
#  703|->         Lib_IntVector_Intrinsics_vec256 f1 = Lib_IntVector_Intrinsics_vec256_load64(hi);
#  704|           Lib_IntVector_Intrinsics_vec256
#  705|               f010 =

Error: COMPILER_WARNING: [#def633]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:706:17: note[note]: called from here
#  704|           Lib_IntVector_Intrinsics_vec256
#  705|               f010 =
#  706|->                 Lib_IntVector_Intrinsics_vec256_and(f0,
#  707|                                                       Lib_IntVector_Intrinsics_vec256_load64((uint64_t)0x3ffffffU));
#  708|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def634]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:710:17: note[note]: called from here
#  708|           Lib_IntVector_Intrinsics_vec256
#  709|               f110 =
#  710|->                 Lib_IntVector_Intrinsics_vec256_and(Lib_IntVector_Intrinsics_vec256_shift_right64(f0,
#  711|                                                                                                     (uint32_t)26U),
#  712|                                                       Lib_IntVector_Intrinsics_vec256_load64((uint64_t)0x3ffffffU));

Error: COMPILER_WARNING: [#def635]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:715:17: note[note]: called from here
#  713|           Lib_IntVector_Intrinsics_vec256
#  714|               f20 =
#  715|->                 Lib_IntVector_Intrinsics_vec256_or(Lib_IntVector_Intrinsics_vec256_shift_right64(f0,
#  716|                                                                                                    (uint32_t)52U),
#  717|                                                      Lib_IntVector_Intrinsics_vec256_shift_left64(Lib_IntVector_Intrinsics_vec256_and(f1,

Error: COMPILER_WARNING: [#def636]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:722:17: note[note]: called from here
#  720|           Lib_IntVector_Intrinsics_vec256
#  721|               f30 =
#  722|->                 Lib_IntVector_Intrinsics_vec256_and(Lib_IntVector_Intrinsics_vec256_shift_right64(f1,
#  723|                                                                                                     (uint32_t)14U),
#  724|                                                       Lib_IntVector_Intrinsics_vec256_load64((uint64_t)0x3ffffffU));

Error: COMPILER_WARNING: [#def637]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:726:19: note[note]: called from here
#  724|                                                       Lib_IntVector_Intrinsics_vec256_load64((uint64_t)0x3ffffffU));
#  725|           Lib_IntVector_Intrinsics_vec256
#  726|->             f40 = Lib_IntVector_Intrinsics_vec256_shift_right64(f1, (uint32_t)40U);
#  727|           Lib_IntVector_Intrinsics_vec256 f01 = f010;
#  728|           Lib_IntVector_Intrinsics_vec256 f111 = f110;

Error: COMPILER_WARNING: [#def638]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:738:48: note[note]: called from here
#  736|           e[4U] = f41;
#  737|           uint64_t b = (uint64_t)0x1000000U;
#  738|->         Lib_IntVector_Intrinsics_vec256 mask = Lib_IntVector_Intrinsics_vec256_load64(b);
#  739|           Lib_IntVector_Intrinsics_vec256 f4 = e[4U];
#  740|           e[4U] = Lib_IntVector_Intrinsics_vec256_or(f4, mask);

Error: COMPILER_WARNING: [#def639]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:740:17: note[note]: called from here
#  738|           Lib_IntVector_Intrinsics_vec256 mask = Lib_IntVector_Intrinsics_vec256_load64(b);
#  739|           Lib_IntVector_Intrinsics_vec256 f4 = e[4U];
#  740|->         e[4U] = Lib_IntVector_Intrinsics_vec256_or(f4, mask);
#  741|           Lib_IntVector_Intrinsics_vec256 *r1 = pre;
#  742|           Lib_IntVector_Intrinsics_vec256 *r5 = pre + (uint32_t)5U;

Error: COMPILER_WARNING: [#def640]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:762:47: note[note]: called from here
#  760|           Lib_IntVector_Intrinsics_vec256 a3 = acc[3U];
#  761|           Lib_IntVector_Intrinsics_vec256 a4 = acc[4U];
#  762|->         Lib_IntVector_Intrinsics_vec256 a01 = Lib_IntVector_Intrinsics_vec256_add64(a0, f10);
#  763|           Lib_IntVector_Intrinsics_vec256 a11 = Lib_IntVector_Intrinsics_vec256_add64(a1, f11);
#  764|           Lib_IntVector_Intrinsics_vec256 a21 = Lib_IntVector_Intrinsics_vec256_add64(a2, f12);

Error: COMPILER_WARNING: [#def641]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:763:47: note[note]: called from here
#  761|           Lib_IntVector_Intrinsics_vec256 a4 = acc[4U];
#  762|           Lib_IntVector_Intrinsics_vec256 a01 = Lib_IntVector_Intrinsics_vec256_add64(a0, f10);
#  763|->         Lib_IntVector_Intrinsics_vec256 a11 = Lib_IntVector_Intrinsics_vec256_add64(a1, f11);
#  764|           Lib_IntVector_Intrinsics_vec256 a21 = Lib_IntVector_Intrinsics_vec256_add64(a2, f12);
#  765|           Lib_IntVector_Intrinsics_vec256 a31 = Lib_IntVector_Intrinsics_vec256_add64(a3, f13);

Error: COMPILER_WARNING: [#def642]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:764:47: note[note]: called from here
#  762|           Lib_IntVector_Intrinsics_vec256 a01 = Lib_IntVector_Intrinsics_vec256_add64(a0, f10);
#  763|           Lib_IntVector_Intrinsics_vec256 a11 = Lib_IntVector_Intrinsics_vec256_add64(a1, f11);
#  764|->         Lib_IntVector_Intrinsics_vec256 a21 = Lib_IntVector_Intrinsics_vec256_add64(a2, f12);
#  765|           Lib_IntVector_Intrinsics_vec256 a31 = Lib_IntVector_Intrinsics_vec256_add64(a3, f13);
#  766|           Lib_IntVector_Intrinsics_vec256 a41 = Lib_IntVector_Intrinsics_vec256_add64(a4, f14);

Error: COMPILER_WARNING: [#def643]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:765:47: note[note]: called from here
#  763|           Lib_IntVector_Intrinsics_vec256 a11 = Lib_IntVector_Intrinsics_vec256_add64(a1, f11);
#  764|           Lib_IntVector_Intrinsics_vec256 a21 = Lib_IntVector_Intrinsics_vec256_add64(a2, f12);
#  765|->         Lib_IntVector_Intrinsics_vec256 a31 = Lib_IntVector_Intrinsics_vec256_add64(a3, f13);
#  766|           Lib_IntVector_Intrinsics_vec256 a41 = Lib_IntVector_Intrinsics_vec256_add64(a4, f14);
#  767|           Lib_IntVector_Intrinsics_vec256 a02 = Lib_IntVector_Intrinsics_vec256_mul64(r0, a01);

Error: COMPILER_WARNING: [#def644]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:766:47: note[note]: called from here
#  764|           Lib_IntVector_Intrinsics_vec256 a21 = Lib_IntVector_Intrinsics_vec256_add64(a2, f12);
#  765|           Lib_IntVector_Intrinsics_vec256 a31 = Lib_IntVector_Intrinsics_vec256_add64(a3, f13);
#  766|->         Lib_IntVector_Intrinsics_vec256 a41 = Lib_IntVector_Intrinsics_vec256_add64(a4, f14);
#  767|           Lib_IntVector_Intrinsics_vec256 a02 = Lib_IntVector_Intrinsics_vec256_mul64(r0, a01);
#  768|           Lib_IntVector_Intrinsics_vec256 a12 = Lib_IntVector_Intrinsics_vec256_mul64(r11, a01);

Error: COMPILER_WARNING: [#def645]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:767:47: note[note]: called from here
#  765|           Lib_IntVector_Intrinsics_vec256 a31 = Lib_IntVector_Intrinsics_vec256_add64(a3, f13);
#  766|           Lib_IntVector_Intrinsics_vec256 a41 = Lib_IntVector_Intrinsics_vec256_add64(a4, f14);
#  767|->         Lib_IntVector_Intrinsics_vec256 a02 = Lib_IntVector_Intrinsics_vec256_mul64(r0, a01);
#  768|           Lib_IntVector_Intrinsics_vec256 a12 = Lib_IntVector_Intrinsics_vec256_mul64(r11, a01);
#  769|           Lib_IntVector_Intrinsics_vec256 a22 = Lib_IntVector_Intrinsics_vec256_mul64(r2, a01);

Error: COMPILER_WARNING: [#def646]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:768:47: note[note]: called from here
#  766|           Lib_IntVector_Intrinsics_vec256 a41 = Lib_IntVector_Intrinsics_vec256_add64(a4, f14);
#  767|           Lib_IntVector_Intrinsics_vec256 a02 = Lib_IntVector_Intrinsics_vec256_mul64(r0, a01);
#  768|->         Lib_IntVector_Intrinsics_vec256 a12 = Lib_IntVector_Intrinsics_vec256_mul64(r11, a01);
#  769|           Lib_IntVector_Intrinsics_vec256 a22 = Lib_IntVector_Intrinsics_vec256_mul64(r2, a01);
#  770|           Lib_IntVector_Intrinsics_vec256 a32 = Lib_IntVector_Intrinsics_vec256_mul64(r3, a01);

Error: COMPILER_WARNING: [#def647]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:769:47: note[note]: called from here
#  767|           Lib_IntVector_Intrinsics_vec256 a02 = Lib_IntVector_Intrinsics_vec256_mul64(r0, a01);
#  768|           Lib_IntVector_Intrinsics_vec256 a12 = Lib_IntVector_Intrinsics_vec256_mul64(r11, a01);
#  769|->         Lib_IntVector_Intrinsics_vec256 a22 = Lib_IntVector_Intrinsics_vec256_mul64(r2, a01);
#  770|           Lib_IntVector_Intrinsics_vec256 a32 = Lib_IntVector_Intrinsics_vec256_mul64(r3, a01);
#  771|           Lib_IntVector_Intrinsics_vec256 a42 = Lib_IntVector_Intrinsics_vec256_mul64(r4, a01);

Error: COMPILER_WARNING: [#def648]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:770:47: note[note]: called from here
#  768|           Lib_IntVector_Intrinsics_vec256 a12 = Lib_IntVector_Intrinsics_vec256_mul64(r11, a01);
#  769|           Lib_IntVector_Intrinsics_vec256 a22 = Lib_IntVector_Intrinsics_vec256_mul64(r2, a01);
#  770|->         Lib_IntVector_Intrinsics_vec256 a32 = Lib_IntVector_Intrinsics_vec256_mul64(r3, a01);
#  771|           Lib_IntVector_Intrinsics_vec256 a42 = Lib_IntVector_Intrinsics_vec256_mul64(r4, a01);
#  772|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def649]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:771:47: note[note]: called from here
#  769|           Lib_IntVector_Intrinsics_vec256 a22 = Lib_IntVector_Intrinsics_vec256_mul64(r2, a01);
#  770|           Lib_IntVector_Intrinsics_vec256 a32 = Lib_IntVector_Intrinsics_vec256_mul64(r3, a01);
#  771|->         Lib_IntVector_Intrinsics_vec256 a42 = Lib_IntVector_Intrinsics_vec256_mul64(r4, a01);
#  772|           Lib_IntVector_Intrinsics_vec256
#  773|               a03 =

Error: COMPILER_WARNING: [#def650]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:774:17: note[note]: called from here
#  772|           Lib_IntVector_Intrinsics_vec256
#  773|               a03 =
#  774|->                 Lib_IntVector_Intrinsics_vec256_add64(a02,
#  775|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r54, a11));
#  776|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def651]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:778:17: note[note]: called from here
#  776|           Lib_IntVector_Intrinsics_vec256
#  777|               a13 =
#  778|->                 Lib_IntVector_Intrinsics_vec256_add64(a12,
#  779|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r0, a11));
#  780|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def652]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:782:17: note[note]: called from here
#  780|           Lib_IntVector_Intrinsics_vec256
#  781|               a23 =
#  782|->                 Lib_IntVector_Intrinsics_vec256_add64(a22,
#  783|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r11, a11));
#  784|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def653]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:786:17: note[note]: called from here
#  784|           Lib_IntVector_Intrinsics_vec256
#  785|               a33 =
#  786|->                 Lib_IntVector_Intrinsics_vec256_add64(a32,
#  787|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r2, a11));
#  788|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def654]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:790:17: note[note]: called from here
#  788|           Lib_IntVector_Intrinsics_vec256
#  789|               a43 =
#  790|->                 Lib_IntVector_Intrinsics_vec256_add64(a42,
#  791|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r3, a11));
#  792|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def655]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:794:17: note[note]: called from here
#  792|           Lib_IntVector_Intrinsics_vec256
#  793|               a04 =
#  794|->                 Lib_IntVector_Intrinsics_vec256_add64(a03,
#  795|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r53, a21));
#  796|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def656]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:798:17: note[note]: called from here
#  796|           Lib_IntVector_Intrinsics_vec256
#  797|               a14 =
#  798|->                 Lib_IntVector_Intrinsics_vec256_add64(a13,
#  799|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r54, a21));
#  800|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def657]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:802:17: note[note]: called from here
#  800|           Lib_IntVector_Intrinsics_vec256
#  801|               a24 =
#  802|->                 Lib_IntVector_Intrinsics_vec256_add64(a23,
#  803|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r0, a21));
#  804|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def658]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:806:17: note[note]: called from here
#  804|           Lib_IntVector_Intrinsics_vec256
#  805|               a34 =
#  806|->                 Lib_IntVector_Intrinsics_vec256_add64(a33,
#  807|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r11, a21));
#  808|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def659]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:810:17: note[note]: called from here
#  808|           Lib_IntVector_Intrinsics_vec256
#  809|               a44 =
#  810|->                 Lib_IntVector_Intrinsics_vec256_add64(a43,
#  811|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r2, a21));
#  812|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def660]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:814:17: note[note]: called from here
#  812|           Lib_IntVector_Intrinsics_vec256
#  813|               a05 =
#  814|->                 Lib_IntVector_Intrinsics_vec256_add64(a04,
#  815|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r52, a31));
#  816|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def661]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:818:17: note[note]: called from here
#  816|           Lib_IntVector_Intrinsics_vec256
#  817|               a15 =
#  818|->                 Lib_IntVector_Intrinsics_vec256_add64(a14,
#  819|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r53, a31));
#  820|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def662]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:822:17: note[note]: called from here
#  820|           Lib_IntVector_Intrinsics_vec256
#  821|               a25 =
#  822|->                 Lib_IntVector_Intrinsics_vec256_add64(a24,
#  823|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r54, a31));
#  824|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def663]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:826:17: note[note]: called from here
#  824|           Lib_IntVector_Intrinsics_vec256
#  825|               a35 =
#  826|->                 Lib_IntVector_Intrinsics_vec256_add64(a34,
#  827|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r0, a31));
#  828|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def664]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:830:17: note[note]: called from here
#  828|           Lib_IntVector_Intrinsics_vec256
#  829|               a45 =
#  830|->                 Lib_IntVector_Intrinsics_vec256_add64(a44,
#  831|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r11, a31));
#  832|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def665]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:834:17: note[note]: called from here
#  832|           Lib_IntVector_Intrinsics_vec256
#  833|               a06 =
#  834|->                 Lib_IntVector_Intrinsics_vec256_add64(a05,
#  835|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r51, a41));
#  836|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def666]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:838:17: note[note]: called from here
#  836|           Lib_IntVector_Intrinsics_vec256
#  837|               a16 =
#  838|->                 Lib_IntVector_Intrinsics_vec256_add64(a15,
#  839|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r52, a41));
#  840|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def667]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:842:17: note[note]: called from here
#  840|           Lib_IntVector_Intrinsics_vec256
#  841|               a26 =
#  842|->                 Lib_IntVector_Intrinsics_vec256_add64(a25,
#  843|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r53, a41));
#  844|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def668]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:846:17: note[note]: called from here
#  844|           Lib_IntVector_Intrinsics_vec256
#  845|               a36 =
#  846|->                 Lib_IntVector_Intrinsics_vec256_add64(a35,
#  847|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r54, a41));
#  848|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def669]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:850:17: note[note]: called from here
#  848|           Lib_IntVector_Intrinsics_vec256
#  849|               a46 =
#  850|->                 Lib_IntVector_Intrinsics_vec256_add64(a45,
#  851|                                                         Lib_IntVector_Intrinsics_vec256_mul64(r0, a41));
#  852|           Lib_IntVector_Intrinsics_vec256 t0 = a06;

Error: COMPILER_WARNING: [#def670]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:858:22: note[note]: called from here
#  856|           Lib_IntVector_Intrinsics_vec256 t4 = a46;
#  857|           Lib_IntVector_Intrinsics_vec256
#  858|->             mask26 = Lib_IntVector_Intrinsics_vec256_load64((uint64_t)0x3ffffffU);
#  859|           Lib_IntVector_Intrinsics_vec256
#  860|               z0 = Lib_IntVector_Intrinsics_vec256_shift_right64(t0, (uint32_t)26U);

Error: COMPILER_WARNING: [#def671]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:860:18: note[note]: called from here
#  858|               mask26 = Lib_IntVector_Intrinsics_vec256_load64((uint64_t)0x3ffffffU);
#  859|           Lib_IntVector_Intrinsics_vec256
#  860|->             z0 = Lib_IntVector_Intrinsics_vec256_shift_right64(t0, (uint32_t)26U);
#  861|           Lib_IntVector_Intrinsics_vec256
#  862|               z1 = Lib_IntVector_Intrinsics_vec256_shift_right64(t3, (uint32_t)26U);

Error: COMPILER_WARNING: [#def672]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:862:18: note[note]: called from here
#  860|               z0 = Lib_IntVector_Intrinsics_vec256_shift_right64(t0, (uint32_t)26U);
#  861|           Lib_IntVector_Intrinsics_vec256
#  862|->             z1 = Lib_IntVector_Intrinsics_vec256_shift_right64(t3, (uint32_t)26U);
#  863|           Lib_IntVector_Intrinsics_vec256 x0 = Lib_IntVector_Intrinsics_vec256_and(t0, mask26);
#  864|           Lib_IntVector_Intrinsics_vec256 x3 = Lib_IntVector_Intrinsics_vec256_and(t3, mask26);

Error: COMPILER_WARNING: [#def673]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:863:46: note[note]: called from here
#  861|           Lib_IntVector_Intrinsics_vec256
#  862|               z1 = Lib_IntVector_Intrinsics_vec256_shift_right64(t3, (uint32_t)26U);
#  863|->         Lib_IntVector_Intrinsics_vec256 x0 = Lib_IntVector_Intrinsics_vec256_and(t0, mask26);
#  864|           Lib_IntVector_Intrinsics_vec256 x3 = Lib_IntVector_Intrinsics_vec256_and(t3, mask26);
#  865|           Lib_IntVector_Intrinsics_vec256 x1 = Lib_IntVector_Intrinsics_vec256_add64(t1, z0);

Error: COMPILER_WARNING: [#def674]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:864:46: note[note]: called from here
#  862|               z1 = Lib_IntVector_Intrinsics_vec256_shift_right64(t3, (uint32_t)26U);
#  863|           Lib_IntVector_Intrinsics_vec256 x0 = Lib_IntVector_Intrinsics_vec256_and(t0, mask26);
#  864|->         Lib_IntVector_Intrinsics_vec256 x3 = Lib_IntVector_Intrinsics_vec256_and(t3, mask26);
#  865|           Lib_IntVector_Intrinsics_vec256 x1 = Lib_IntVector_Intrinsics_vec256_add64(t1, z0);
#  866|           Lib_IntVector_Intrinsics_vec256 x4 = Lib_IntVector_Intrinsics_vec256_add64(t4, z1);

Error: COMPILER_WARNING: [#def675]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:865:46: note[note]: called from here
#  863|           Lib_IntVector_Intrinsics_vec256 x0 = Lib_IntVector_Intrinsics_vec256_and(t0, mask26);
#  864|           Lib_IntVector_Intrinsics_vec256 x3 = Lib_IntVector_Intrinsics_vec256_and(t3, mask26);
#  865|->         Lib_IntVector_Intrinsics_vec256 x1 = Lib_IntVector_Intrinsics_vec256_add64(t1, z0);
#  866|           Lib_IntVector_Intrinsics_vec256 x4 = Lib_IntVector_Intrinsics_vec256_add64(t4, z1);
#  867|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def676]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:866:46: note[note]: called from here
#  864|           Lib_IntVector_Intrinsics_vec256 x3 = Lib_IntVector_Intrinsics_vec256_and(t3, mask26);
#  865|           Lib_IntVector_Intrinsics_vec256 x1 = Lib_IntVector_Intrinsics_vec256_add64(t1, z0);
#  866|->         Lib_IntVector_Intrinsics_vec256 x4 = Lib_IntVector_Intrinsics_vec256_add64(t4, z1);
#  867|           Lib_IntVector_Intrinsics_vec256
#  868|               z01 = Lib_IntVector_Intrinsics_vec256_shift_right64(x1, (uint32_t)26U);

Error: COMPILER_WARNING: [#def677]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:868:19: note[note]: called from here
#  866|           Lib_IntVector_Intrinsics_vec256 x4 = Lib_IntVector_Intrinsics_vec256_add64(t4, z1);
#  867|           Lib_IntVector_Intrinsics_vec256
#  868|->             z01 = Lib_IntVector_Intrinsics_vec256_shift_right64(x1, (uint32_t)26U);
#  869|           Lib_IntVector_Intrinsics_vec256
#  870|               z11 = Lib_IntVector_Intrinsics_vec256_shift_right64(x4, (uint32_t)26U);

Error: COMPILER_WARNING: [#def678]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:870:19: note[note]: called from here
#  868|               z01 = Lib_IntVector_Intrinsics_vec256_shift_right64(x1, (uint32_t)26U);
#  869|           Lib_IntVector_Intrinsics_vec256
#  870|->             z11 = Lib_IntVector_Intrinsics_vec256_shift_right64(x4, (uint32_t)26U);
#  871|           Lib_IntVector_Intrinsics_vec256
#  872|               t = Lib_IntVector_Intrinsics_vec256_shift_left64(z11, (uint32_t)2U);

Error: COMPILER_WARNING: [#def679]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:872:17: note[note]: called from here
#  870|               z11 = Lib_IntVector_Intrinsics_vec256_shift_right64(x4, (uint32_t)26U);
#  871|           Lib_IntVector_Intrinsics_vec256
#  872|->             t = Lib_IntVector_Intrinsics_vec256_shift_left64(z11, (uint32_t)2U);
#  873|           Lib_IntVector_Intrinsics_vec256 z12 = Lib_IntVector_Intrinsics_vec256_add64(z11, t);
#  874|           Lib_IntVector_Intrinsics_vec256 x11 = Lib_IntVector_Intrinsics_vec256_and(x1, mask26);

Error: COMPILER_WARNING: [#def680]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:873:47: note[note]: called from here
#  871|           Lib_IntVector_Intrinsics_vec256
#  872|               t = Lib_IntVector_Intrinsics_vec256_shift_left64(z11, (uint32_t)2U);
#  873|->         Lib_IntVector_Intrinsics_vec256 z12 = Lib_IntVector_Intrinsics_vec256_add64(z11, t);
#  874|           Lib_IntVector_Intrinsics_vec256 x11 = Lib_IntVector_Intrinsics_vec256_and(x1, mask26);
#  875|           Lib_IntVector_Intrinsics_vec256 x41 = Lib_IntVector_Intrinsics_vec256_and(x4, mask26);

Error: COMPILER_WARNING: [#def681]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:874:47: note[note]: called from here
#  872|               t = Lib_IntVector_Intrinsics_vec256_shift_left64(z11, (uint32_t)2U);
#  873|           Lib_IntVector_Intrinsics_vec256 z12 = Lib_IntVector_Intrinsics_vec256_add64(z11, t);
#  874|->         Lib_IntVector_Intrinsics_vec256 x11 = Lib_IntVector_Intrinsics_vec256_and(x1, mask26);
#  875|           Lib_IntVector_Intrinsics_vec256 x41 = Lib_IntVector_Intrinsics_vec256_and(x4, mask26);
#  876|           Lib_IntVector_Intrinsics_vec256 x2 = Lib_IntVector_Intrinsics_vec256_add64(t2, z01);

Error: COMPILER_WARNING: [#def682]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:875:47: note[note]: called from here
#  873|           Lib_IntVector_Intrinsics_vec256 z12 = Lib_IntVector_Intrinsics_vec256_add64(z11, t);
#  874|           Lib_IntVector_Intrinsics_vec256 x11 = Lib_IntVector_Intrinsics_vec256_and(x1, mask26);
#  875|->         Lib_IntVector_Intrinsics_vec256 x41 = Lib_IntVector_Intrinsics_vec256_and(x4, mask26);
#  876|           Lib_IntVector_Intrinsics_vec256 x2 = Lib_IntVector_Intrinsics_vec256_add64(t2, z01);
#  877|           Lib_IntVector_Intrinsics_vec256 x01 = Lib_IntVector_Intrinsics_vec256_add64(x0, z12);

Error: COMPILER_WARNING: [#def683]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:876:46: note[note]: called from here
#  874|           Lib_IntVector_Intrinsics_vec256 x11 = Lib_IntVector_Intrinsics_vec256_and(x1, mask26);
#  875|           Lib_IntVector_Intrinsics_vec256 x41 = Lib_IntVector_Intrinsics_vec256_and(x4, mask26);
#  876|->         Lib_IntVector_Intrinsics_vec256 x2 = Lib_IntVector_Intrinsics_vec256_add64(t2, z01);
#  877|           Lib_IntVector_Intrinsics_vec256 x01 = Lib_IntVector_Intrinsics_vec256_add64(x0, z12);
#  878|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def684]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:877:47: note[note]: called from here
#  875|           Lib_IntVector_Intrinsics_vec256 x41 = Lib_IntVector_Intrinsics_vec256_and(x4, mask26);
#  876|           Lib_IntVector_Intrinsics_vec256 x2 = Lib_IntVector_Intrinsics_vec256_add64(t2, z01);
#  877|->         Lib_IntVector_Intrinsics_vec256 x01 = Lib_IntVector_Intrinsics_vec256_add64(x0, z12);
#  878|           Lib_IntVector_Intrinsics_vec256
#  879|               z02 = Lib_IntVector_Intrinsics_vec256_shift_right64(x2, (uint32_t)26U);

Error: COMPILER_WARNING: [#def685]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:879:19: note[note]: called from here
#  877|           Lib_IntVector_Intrinsics_vec256 x01 = Lib_IntVector_Intrinsics_vec256_add64(x0, z12);
#  878|           Lib_IntVector_Intrinsics_vec256
#  879|->             z02 = Lib_IntVector_Intrinsics_vec256_shift_right64(x2, (uint32_t)26U);
#  880|           Lib_IntVector_Intrinsics_vec256
#  881|               z13 = Lib_IntVector_Intrinsics_vec256_shift_right64(x01, (uint32_t)26U);

Error: COMPILER_WARNING: [#def686]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:881:19: note[note]: called from here
#  879|               z02 = Lib_IntVector_Intrinsics_vec256_shift_right64(x2, (uint32_t)26U);
#  880|           Lib_IntVector_Intrinsics_vec256
#  881|->             z13 = Lib_IntVector_Intrinsics_vec256_shift_right64(x01, (uint32_t)26U);
#  882|           Lib_IntVector_Intrinsics_vec256 x21 = Lib_IntVector_Intrinsics_vec256_and(x2, mask26);
#  883|           Lib_IntVector_Intrinsics_vec256 x02 = Lib_IntVector_Intrinsics_vec256_and(x01, mask26);

Error: COMPILER_WARNING: [#def687]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:882:47: note[note]: called from here
#  880|           Lib_IntVector_Intrinsics_vec256
#  881|               z13 = Lib_IntVector_Intrinsics_vec256_shift_right64(x01, (uint32_t)26U);
#  882|->         Lib_IntVector_Intrinsics_vec256 x21 = Lib_IntVector_Intrinsics_vec256_and(x2, mask26);
#  883|           Lib_IntVector_Intrinsics_vec256 x02 = Lib_IntVector_Intrinsics_vec256_and(x01, mask26);
#  884|           Lib_IntVector_Intrinsics_vec256 x31 = Lib_IntVector_Intrinsics_vec256_add64(x3, z02);

Error: COMPILER_WARNING: [#def688]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:883:47: note[note]: called from here
#  881|               z13 = Lib_IntVector_Intrinsics_vec256_shift_right64(x01, (uint32_t)26U);
#  882|           Lib_IntVector_Intrinsics_vec256 x21 = Lib_IntVector_Intrinsics_vec256_and(x2, mask26);
#  883|->         Lib_IntVector_Intrinsics_vec256 x02 = Lib_IntVector_Intrinsics_vec256_and(x01, mask26);
#  884|           Lib_IntVector_Intrinsics_vec256 x31 = Lib_IntVector_Intrinsics_vec256_add64(x3, z02);
#  885|           Lib_IntVector_Intrinsics_vec256 x12 = Lib_IntVector_Intrinsics_vec256_add64(x11, z13);

Error: COMPILER_WARNING: [#def689]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:884:47: note[note]: called from here
#  882|           Lib_IntVector_Intrinsics_vec256 x21 = Lib_IntVector_Intrinsics_vec256_and(x2, mask26);
#  883|           Lib_IntVector_Intrinsics_vec256 x02 = Lib_IntVector_Intrinsics_vec256_and(x01, mask26);
#  884|->         Lib_IntVector_Intrinsics_vec256 x31 = Lib_IntVector_Intrinsics_vec256_add64(x3, z02);
#  885|           Lib_IntVector_Intrinsics_vec256 x12 = Lib_IntVector_Intrinsics_vec256_add64(x11, z13);
#  886|           Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def690]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:885:47: note[note]: called from here
#  883|           Lib_IntVector_Intrinsics_vec256 x02 = Lib_IntVector_Intrinsics_vec256_and(x01, mask26);
#  884|           Lib_IntVector_Intrinsics_vec256 x31 = Lib_IntVector_Intrinsics_vec256_add64(x3, z02);
#  885|->         Lib_IntVector_Intrinsics_vec256 x12 = Lib_IntVector_Intrinsics_vec256_add64(x11, z13);
#  886|           Lib_IntVector_Intrinsics_vec256
#  887|               z03 = Lib_IntVector_Intrinsics_vec256_shift_right64(x31, (uint32_t)26U);

Error: COMPILER_WARNING: [#def691]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:887:19: note[note]: called from here
#  885|           Lib_IntVector_Intrinsics_vec256 x12 = Lib_IntVector_Intrinsics_vec256_add64(x11, z13);
#  886|           Lib_IntVector_Intrinsics_vec256
#  887|->             z03 = Lib_IntVector_Intrinsics_vec256_shift_right64(x31, (uint32_t)26U);
#  888|           Lib_IntVector_Intrinsics_vec256 x32 = Lib_IntVector_Intrinsics_vec256_and(x31, mask26);
#  889|           Lib_IntVector_Intrinsics_vec256 x42 = Lib_IntVector_Intrinsics_vec256_add64(x41, z03);

Error: COMPILER_WARNING: [#def692]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:888:47: note[note]: called from here
#  886|           Lib_IntVector_Intrinsics_vec256
#  887|               z03 = Lib_IntVector_Intrinsics_vec256_shift_right64(x31, (uint32_t)26U);
#  888|->         Lib_IntVector_Intrinsics_vec256 x32 = Lib_IntVector_Intrinsics_vec256_and(x31, mask26);
#  889|           Lib_IntVector_Intrinsics_vec256 x42 = Lib_IntVector_Intrinsics_vec256_add64(x41, z03);
#  890|           Lib_IntVector_Intrinsics_vec256 o0 = x02;

Error: COMPILER_WARNING: [#def693]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:889:47: note[note]: called from here
#  887|               z03 = Lib_IntVector_Intrinsics_vec256_shift_right64(x31, (uint32_t)26U);
#  888|           Lib_IntVector_Intrinsics_vec256 x32 = Lib_IntVector_Intrinsics_vec256_and(x31, mask26);
#  889|->         Lib_IntVector_Intrinsics_vec256 x42 = Lib_IntVector_Intrinsics_vec256_add64(x41, z03);
#  890|           Lib_IntVector_Intrinsics_vec256 o0 = x02;
#  891|           Lib_IntVector_Intrinsics_vec256 o1 = x12;

Error: COMPILER_WARNING: [#def694]
nss-3_119_1/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: [#def695]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20_Vec256.c:193:5: note[note]: called from here
#  191|                       uint32_t x = r;
#  192|                       os[i] = x;);
#  193|->     KRML_MAYBE_FOR16(i,
#  194|                        (uint32_t)0U,
#  195|                        (uint32_t)16U,

Error: COMPILER_WARNING: [#def696]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20_Vec256.c:203:13: note[note]: called from here
#  201|       Lib_IntVector_Intrinsics_vec256
#  202|           ctr1 =
#  203|->             Lib_IntVector_Intrinsics_vec256_load32s((uint32_t)0U,
#  204|                                                       (uint32_t)1U,
#  205|                                                       (uint32_t)2U,

Error: COMPILER_WARNING: [#def697]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Chacha20_Vec256.c:212:16: note[note]: called from here
#  210|                                                       (uint32_t)7U);
#  211|       Lib_IntVector_Intrinsics_vec256 c12 = ctx[12U];
#  212|->     ctx[12U] = Lib_IntVector_Intrinsics_vec256_add32(c12, ctr1);
#  213|   }
#  214|   

Error: COMPILER_WARNING: [#def698]
nss-3_119_1/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: [#def699]
nss-3_119_1/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: COMPILER_WARNING: [#def700]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Poly1305_256.c:32:42: note[note]: called from here
#   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: COMPILER_WARNING: [#def701]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Poly1305_256.c:34:14: note[note]: called from here
#   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);
#   35|       Lib_IntVector_Intrinsics_vec256
#   36|           mask26 = Lib_IntVector_Intrinsics_vec256_load64((uint64_t)0x3ffffffU);

Error: COMPILER_WARNING: [#def702]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Poly1305_256.c:36:18: note[note]: called from here
#   34|           hi = Lib_IntVector_Intrinsics_vec256_load64_le(b + (uint32_t)32U);
#   35|       Lib_IntVector_Intrinsics_vec256
#   36|->         mask26 = Lib_IntVector_Intrinsics_vec256_load64((uint64_t)0x3ffffffU);
#   37|       Lib_IntVector_Intrinsics_vec256 m0 = Lib_IntVector_Intrinsics_vec256_interleave_low128(lo, hi);
#   38|       Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def703]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Poly1305_256.c:37:42: note[note]: called from here
#   35|       Lib_IntVector_Intrinsics_vec256
#   36|           mask26 = Lib_IntVector_Intrinsics_vec256_load64((uint64_t)0x3ffffffU);
#   37|->     Lib_IntVector_Intrinsics_vec256 m0 = Lib_IntVector_Intrinsics_vec256_interleave_low128(lo, hi);
#   38|       Lib_IntVector_Intrinsics_vec256
#   39|           m1 = Lib_IntVector_Intrinsics_vec256_interleave_high128(lo, hi);

Error: COMPILER_WARNING: [#def704]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Poly1305_256.c:39:14: note[note]: called from here
#   37|       Lib_IntVector_Intrinsics_vec256 m0 = Lib_IntVector_Intrinsics_vec256_interleave_low128(lo, hi);
#   38|       Lib_IntVector_Intrinsics_vec256
#   39|->         m1 = Lib_IntVector_Intrinsics_vec256_interleave_high128(lo, hi);
#   40|       Lib_IntVector_Intrinsics_vec256
#   41|           m2 = Lib_IntVector_Intrinsics_vec256_shift_right(m0, (uint32_t)48U);

Error: COMPILER_WARNING: [#def705]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Poly1305_256.c:41:14: note[note]: called from here
#   39|           m1 = Lib_IntVector_Intrinsics_vec256_interleave_high128(lo, hi);
#   40|       Lib_IntVector_Intrinsics_vec256
#   41|->         m2 = Lib_IntVector_Intrinsics_vec256_shift_right(m0, (uint32_t)48U);
#   42|       Lib_IntVector_Intrinsics_vec256
#   43|           m3 = Lib_IntVector_Intrinsics_vec256_shift_right(m1, (uint32_t)48U);

Error: COMPILER_WARNING: [#def706]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Poly1305_256.c:43:14: note[note]: called from here
#   41|           m2 = Lib_IntVector_Intrinsics_vec256_shift_right(m0, (uint32_t)48U);
#   42|       Lib_IntVector_Intrinsics_vec256
#   43|->         m3 = Lib_IntVector_Intrinsics_vec256_shift_right(m1, (uint32_t)48U);
#   44|       Lib_IntVector_Intrinsics_vec256 m4 = Lib_IntVector_Intrinsics_vec256_interleave_high64(m0, m1);
#   45|       Lib_IntVector_Intrinsics_vec256 t0 = Lib_IntVector_Intrinsics_vec256_interleave_low64(m0, m1);

Error: COMPILER_WARNING: [#def707]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Poly1305_256.c:44:42: note[note]: called from here
#   42|       Lib_IntVector_Intrinsics_vec256
#   43|           m3 = Lib_IntVector_Intrinsics_vec256_shift_right(m1, (uint32_t)48U);
#   44|->     Lib_IntVector_Intrinsics_vec256 m4 = Lib_IntVector_Intrinsics_vec256_interleave_high64(m0, m1);
#   45|       Lib_IntVector_Intrinsics_vec256 t0 = Lib_IntVector_Intrinsics_vec256_interleave_low64(m0, m1);
#   46|       Lib_IntVector_Intrinsics_vec256 t3 = Lib_IntVector_Intrinsics_vec256_interleave_low64(m2, m3);

Error: COMPILER_WARNING: [#def708]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Poly1305_256.c:45:42: note[note]: called from here
#   43|           m3 = Lib_IntVector_Intrinsics_vec256_shift_right(m1, (uint32_t)48U);
#   44|       Lib_IntVector_Intrinsics_vec256 m4 = Lib_IntVector_Intrinsics_vec256_interleave_high64(m0, m1);
#   45|->     Lib_IntVector_Intrinsics_vec256 t0 = Lib_IntVector_Intrinsics_vec256_interleave_low64(m0, m1);
#   46|       Lib_IntVector_Intrinsics_vec256 t3 = Lib_IntVector_Intrinsics_vec256_interleave_low64(m2, m3);
#   47|       Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def709]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Poly1305_256.c:46:42: note[note]: called from here
#   44|       Lib_IntVector_Intrinsics_vec256 m4 = Lib_IntVector_Intrinsics_vec256_interleave_high64(m0, m1);
#   45|       Lib_IntVector_Intrinsics_vec256 t0 = Lib_IntVector_Intrinsics_vec256_interleave_low64(m0, m1);
#   46|->     Lib_IntVector_Intrinsics_vec256 t3 = Lib_IntVector_Intrinsics_vec256_interleave_low64(m2, m3);
#   47|       Lib_IntVector_Intrinsics_vec256
#   48|           t2 = Lib_IntVector_Intrinsics_vec256_shift_right64(t3, (uint32_t)4U);

Error: COMPILER_WARNING: [#def710]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Poly1305_256.c:48:14: note[note]: called from here
#   46|       Lib_IntVector_Intrinsics_vec256 t3 = Lib_IntVector_Intrinsics_vec256_interleave_low64(m2, m3);
#   47|       Lib_IntVector_Intrinsics_vec256
#   48|->         t2 = Lib_IntVector_Intrinsics_vec256_shift_right64(t3, (uint32_t)4U);
#   49|       Lib_IntVector_Intrinsics_vec256 o20 = Lib_IntVector_Intrinsics_vec256_and(t2, mask26);
#   50|       Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def711]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Poly1305_256.c:49:43: note[note]: called from here
#   47|       Lib_IntVector_Intrinsics_vec256
#   48|           t2 = Lib_IntVector_Intrinsics_vec256_shift_right64(t3, (uint32_t)4U);
#   49|->     Lib_IntVector_Intrinsics_vec256 o20 = Lib_IntVector_Intrinsics_vec256_and(t2, mask26);
#   50|       Lib_IntVector_Intrinsics_vec256
#   51|           t1 = Lib_IntVector_Intrinsics_vec256_shift_right64(t0, (uint32_t)26U);

Error: COMPILER_WARNING: [#def712]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Poly1305_256.c:51:14: note[note]: called from here
#   49|       Lib_IntVector_Intrinsics_vec256 o20 = Lib_IntVector_Intrinsics_vec256_and(t2, mask26);
#   50|       Lib_IntVector_Intrinsics_vec256
#   51|->         t1 = Lib_IntVector_Intrinsics_vec256_shift_right64(t0, (uint32_t)26U);
#   52|       Lib_IntVector_Intrinsics_vec256 o10 = Lib_IntVector_Intrinsics_vec256_and(t1, mask26);
#   53|       Lib_IntVector_Intrinsics_vec256 o5 = Lib_IntVector_Intrinsics_vec256_and(t0, mask26);

Error: COMPILER_WARNING: [#def713]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Poly1305_256.c:52:43: note[note]: called from here
#   50|       Lib_IntVector_Intrinsics_vec256
#   51|           t1 = Lib_IntVector_Intrinsics_vec256_shift_right64(t0, (uint32_t)26U);
#   52|->     Lib_IntVector_Intrinsics_vec256 o10 = Lib_IntVector_Intrinsics_vec256_and(t1, mask26);
#   53|       Lib_IntVector_Intrinsics_vec256 o5 = Lib_IntVector_Intrinsics_vec256_and(t0, mask26);
#   54|       Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def714]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Poly1305_256.c:53:42: note[note]: called from here
#   51|           t1 = Lib_IntVector_Intrinsics_vec256_shift_right64(t0, (uint32_t)26U);
#   52|       Lib_IntVector_Intrinsics_vec256 o10 = Lib_IntVector_Intrinsics_vec256_and(t1, mask26);
#   53|->     Lib_IntVector_Intrinsics_vec256 o5 = Lib_IntVector_Intrinsics_vec256_and(t0, mask26);
#   54|       Lib_IntVector_Intrinsics_vec256
#   55|           t31 = Lib_IntVector_Intrinsics_vec256_shift_right64(t3, (uint32_t)30U);

Error: COMPILER_WARNING: [#def715]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Poly1305_256.c:55:15: note[note]: called from here
#   53|       Lib_IntVector_Intrinsics_vec256 o5 = Lib_IntVector_Intrinsics_vec256_and(t0, mask26);
#   54|       Lib_IntVector_Intrinsics_vec256
#   55|->         t31 = Lib_IntVector_Intrinsics_vec256_shift_right64(t3, (uint32_t)30U);
#   56|       Lib_IntVector_Intrinsics_vec256 o30 = Lib_IntVector_Intrinsics_vec256_and(t31, mask26);
#   57|       Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def716]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Poly1305_256.c:56:43: note[note]: called from here
#   54|       Lib_IntVector_Intrinsics_vec256
#   55|           t31 = Lib_IntVector_Intrinsics_vec256_shift_right64(t3, (uint32_t)30U);
#   56|->     Lib_IntVector_Intrinsics_vec256 o30 = Lib_IntVector_Intrinsics_vec256_and(t31, mask26);
#   57|       Lib_IntVector_Intrinsics_vec256
#   58|           o40 = Lib_IntVector_Intrinsics_vec256_shift_right64(m4, (uint32_t)40U);

Error: COMPILER_WARNING: [#def717]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Poly1305_256.c:58:15: note[note]: called from here
#   56|       Lib_IntVector_Intrinsics_vec256 o30 = Lib_IntVector_Intrinsics_vec256_and(t31, mask26);
#   57|       Lib_IntVector_Intrinsics_vec256
#   58|->         o40 = Lib_IntVector_Intrinsics_vec256_shift_right64(m4, (uint32_t)40U);
#   59|       Lib_IntVector_Intrinsics_vec256 o0 = o5;
#   60|       Lib_IntVector_Intrinsics_vec256 o1 = o10;

Error: COMPILER_WARNING: [#def718]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Poly1305_256.c:70:44: note[note]: called from here
#   68|       e[4U] = o4;
#   69|       uint64_t b1 = (uint64_t)0x1000000U;
#   70|->     Lib_IntVector_Intrinsics_vec256 mask = Lib_IntVector_Intrinsics_vec256_load64(b1);
#   71|       Lib_IntVector_Intrinsics_vec256 f40 = e[4U];
#   72|       e[4U] = Lib_IntVector_Intrinsics_vec256_or(f40, mask);

Error: COMPILER_WARNING: [#def719]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Poly1305_256.c:72:13: note[note]: called from here
#   70|       Lib_IntVector_Intrinsics_vec256 mask = Lib_IntVector_Intrinsics_vec256_load64(b1);
#   71|       Lib_IntVector_Intrinsics_vec256 f40 = e[4U];
#   72|->     e[4U] = Lib_IntVector_Intrinsics_vec256_or(f40, mask);
#   73|       Lib_IntVector_Intrinsics_vec256 acc0 = acc[0U];
#   74|       Lib_IntVector_Intrinsics_vec256 acc1 = acc[1U];

Error: COMPILER_WARNING: [#def720]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Poly1305_256.c:83:42: note[note]: called from here
#   81|       Lib_IntVector_Intrinsics_vec256 e3 = e[3U];
#   82|       Lib_IntVector_Intrinsics_vec256 e4 = e[4U];
#   83|->     Lib_IntVector_Intrinsics_vec256 r0 = Lib_IntVector_Intrinsics_vec256_zero;
#   84|       Lib_IntVector_Intrinsics_vec256 r1 = Lib_IntVector_Intrinsics_vec256_zero;
#   85|       Lib_IntVector_Intrinsics_vec256 r2 = Lib_IntVector_Intrinsics_vec256_zero;

Error: COMPILER_WARNING: [#def721]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Poly1305_256.c:84:42: note[note]: called from here
#   82|       Lib_IntVector_Intrinsics_vec256 e4 = e[4U];
#   83|       Lib_IntVector_Intrinsics_vec256 r0 = Lib_IntVector_Intrinsics_vec256_zero;
#   84|->     Lib_IntVector_Intrinsics_vec256 r1 = Lib_IntVector_Intrinsics_vec256_zero;
#   85|       Lib_IntVector_Intrinsics_vec256 r2 = Lib_IntVector_Intrinsics_vec256_zero;
#   86|       Lib_IntVector_Intrinsics_vec256 r3 = Lib_IntVector_Intrinsics_vec256_zero;

Error: COMPILER_WARNING: [#def722]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Poly1305_256.c:85:42: note[note]: called from here
#   83|       Lib_IntVector_Intrinsics_vec256 r0 = Lib_IntVector_Intrinsics_vec256_zero;
#   84|       Lib_IntVector_Intrinsics_vec256 r1 = Lib_IntVector_Intrinsics_vec256_zero;
#   85|->     Lib_IntVector_Intrinsics_vec256 r2 = Lib_IntVector_Intrinsics_vec256_zero;
#   86|       Lib_IntVector_Intrinsics_vec256 r3 = Lib_IntVector_Intrinsics_vec256_zero;
#   87|       Lib_IntVector_Intrinsics_vec256 r4 = Lib_IntVector_Intrinsics_vec256_zero;

Error: COMPILER_WARNING: [#def723]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Poly1305_256.c:86:42: note[note]: called from here
#   84|       Lib_IntVector_Intrinsics_vec256 r1 = Lib_IntVector_Intrinsics_vec256_zero;
#   85|       Lib_IntVector_Intrinsics_vec256 r2 = Lib_IntVector_Intrinsics_vec256_zero;
#   86|->     Lib_IntVector_Intrinsics_vec256 r3 = Lib_IntVector_Intrinsics_vec256_zero;
#   87|       Lib_IntVector_Intrinsics_vec256 r4 = Lib_IntVector_Intrinsics_vec256_zero;
#   88|       Lib_IntVector_Intrinsics_vec256

Error: COMPILER_WARNING: [#def724]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Poly1305_256.c:87:42: note[note]: called from here
#   85|       Lib_IntVector_Intrinsics_vec256 r2 = Lib_IntVector_Intrinsics_vec256_zero;
#   86|       Lib_IntVector_Intrinsics_vec256 r3 = Lib_IntVector_Intrinsics_vec256_zero;
#   87|->     Lib_IntVector_Intrinsics_vec256 r4 = Lib_IntVector_Intrinsics_vec256_zero;
#   88|       Lib_IntVector_Intrinsics_vec256
#   89|           r01 =

Error: COMPILER_WARNING: [#def725]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Poly1305_256.c:90:13: note[note]: called from here
#   88|       Lib_IntVector_Intrinsics_vec256
#   89|           r01 =
#   90|->             Lib_IntVector_Intrinsics_vec256_insert64(r0,
#   91|                                                        Lib_IntVector_Intrinsics_vec256_extract64(acc0, (uint32_t)0U),
#   92|                                                        (uint32_t)0U);

Error: COMPILER_WARNING: [#def726]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Poly1305_256.c:95:13: note[note]: called from here
#   93|       Lib_IntVector_Intrinsics_vec256
#   94|           r11 =
#   95|->             Lib_IntVector_Intrinsics_vec256_insert64(r1,
#   96|                                                        Lib_IntVector_Intrinsics_vec256_extract64(acc1, (uint32_t)0U),
#   97|                                                        (uint32_t)0U);

Error: COMPILER_WARNING: [#def727]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Poly1305_256.c:100:13: note[note]: called from here
#   98|       Lib_IntVector_Intrinsics_vec256
#   99|           r21 =
#  100|->             Lib_IntVector_Intrinsics_vec256_insert64(r2,
#  101|                                                        Lib_IntVector_Intrinsics_vec256_extract64(acc2, (uint32_t)0U),
#  102|                                                        (uint32_t)0U);

Error: COMPILER_WARNING: [#def728]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Poly1305_256.c:105:13: note[note]: called from here
#  103|       Lib_IntVector_Intrinsics_vec256
#  104|           r31 =
#  105|->             Lib_IntVector_Intrinsics_vec256_insert64(r3,
#  106|                                                        Lib_IntVector_Intrinsics_vec256_extract64(acc3, (uint32_t)0U),
#  107|                                                        (uint32_t)0U);

Error: COMPILER_WARNING: [#def729]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Poly1305_256.c:110:13: note[note]: called from here
#  108|       Lib_IntVector_Intrinsics_vec256
#  109|           r41 =
#  110|->             Lib_IntVector_Intrinsics_vec256_insert64(r4,
#  111|                                                        Lib_IntVector_Intrinsics_vec256_extract64(acc4, (uint32_t)0U),
#  112|                                                        (uint32_t)0U);

Error: COMPILER_WARNING: [#def730]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Poly1305_256.c:113:42: note[note]: called from here
#  111|                                                        Lib_IntVector_Intrinsics_vec256_extract64(acc4, (uint32_t)0U),
#  112|                                                        (uint32_t)0U);
#  113|->     Lib_IntVector_Intrinsics_vec256 f0 = Lib_IntVector_Intrinsics_vec256_add64(r01, e0);
#  114|       Lib_IntVector_Intrinsics_vec256 f1 = Lib_IntVector_Intrinsics_vec256_add64(r11, e1);
#  115|       Lib_IntVector_Intrinsics_vec256 f2 = Lib_IntVector_Intrinsics_vec256_add64(r21, e2);

Error: COMPILER_WARNING: [#def731]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Poly1305_256.c:114:42: note[note]: called from here
#  112|                                                        (uint32_t)0U);
#  113|       Lib_IntVector_Intrinsics_vec256 f0 = Lib_IntVector_Intrinsics_vec256_add64(r01, e0);
#  114|->     Lib_IntVector_Intrinsics_vec256 f1 = Lib_IntVector_Intrinsics_vec256_add64(r11, e1);
#  115|       Lib_IntVector_Intrinsics_vec256 f2 = Lib_IntVector_Intrinsics_vec256_add64(r21, e2);
#  116|       Lib_IntVector_Intrinsics_vec256 f3 = Lib_IntVector_Intrinsics_vec256_add64(r31, e3);

Error: COMPILER_WARNING: [#def732]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Poly1305_256.c:115:42: note[note]: called from here
#  113|       Lib_IntVector_Intrinsics_vec256 f0 = Lib_IntVector_Intrinsics_vec256_add64(r01, e0);
#  114|       Lib_IntVector_Intrinsics_vec256 f1 = Lib_IntVector_Intrinsics_vec256_add64(r11, e1);
#  115|->     Lib_IntVector_Intrinsics_vec256 f2 = Lib_IntVector_Intrinsics_vec256_add64(r21, e2);
#  116|       Lib_IntVector_Intrinsics_vec256 f3 = Lib_IntVector_Intrinsics_vec256_add64(r31, e3);
#  117|       Lib_IntVector_Intrinsics_vec256 f4 = Lib_IntVector_Intrinsics_vec256_add64(r41, e4);

Error: COMPILER_WARNING: [#def733]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Poly1305_256.c:116:42: note[note]: called from here
#  114|       Lib_IntVector_Intrinsics_vec256 f1 = Lib_IntVector_Intrinsics_vec256_add64(r11, e1);
#  115|       Lib_IntVector_Intrinsics_vec256 f2 = Lib_IntVector_Intrinsics_vec256_add64(r21, e2);
#  116|->     Lib_IntVector_Intrinsics_vec256 f3 = Lib_IntVector_Intrinsics_vec256_add64(r31, e3);
#  117|       Lib_IntVector_Intrinsics_vec256 f4 = Lib_IntVector_Intrinsics_vec256_add64(r41, e4);
#  118|       Lib_IntVector_Intrinsics_vec256 acc01 = f0;

Error: COMPILER_WARNING: [#def734]
nss-3_119_1/nss/lib/freebl/verified/Hacl_Poly1305_256.c:117:42: note[note]: called from here
#  115|       Lib_IntVector_Intrinsics_vec256 f2 = Lib_IntVector_Intrinsics_vec256_add64(r21, e2);
#  116|       Lib_IntVector_Intrinsics_vec256 f3 = Lib_IntVector_Intrinsics_vec256_add64(r31, e3);
#  117|->     Lib_IntVector_Intrinsics_vec256 f4 = Lib_IntVector_Intrinsics_vec256_add64(r41, e4);
#  118|       Lib_IntVector_Intrinsics_vec256 acc01 = f0;
#  119|       Lib_IntVector_Intrinsics_vec256 acc11 = f1;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def735]
nss-3_119_1/nss/lib/jar/jar.c:460:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘signer’
nss-3_119_1/nss/lib/jar/jar.c:322:1: enter_function: entry to ‘JAR_find_next’
nss-3_119_1/nss/lib/jar/jar.c:337:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/jar/jar.c:337:8: branch_false: ...to here
nss-3_119_1/nss/lib/jar/jar.c:385:12: branch_false: following ‘false’ branch (when ‘list’ is non-NULL)...
nss-3_119_1/nss/lib/jar/jar.c:391:13: branch_false: ...to here
nss-3_119_1/nss/lib/jar/jar.c:391:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/jar/jar.c:407:13: branch_false: ...to here
nss-3_119_1/nss/lib/jar/jar.c:407:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/jar/jar.c:426:13: branch_false: ...to here
nss-3_119_1/nss/lib/jar/jar.c:426:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/jar/jar.c:426:12: branch_false: ...to here
nss-3_119_1/nss/lib/jar/jar.c:433:17: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/jar/jar.c:435:17: branch_false: ...to here
nss-3_119_1/nss/lib/jar/jar.c:441:16: branch_true: following ‘true’ branch...
nss-3_119_1/nss/lib/jar/jar.c:445:21: branch_true: ...to here
nss-3_119_1/nss/lib/jar/jar.c:445:21: call_function: calling ‘jar_find_first_cert’ from ‘JAR_find_next’
#  458|   {
#  459|       ZZLink *link;
#  460|->     ZZList *list = signer->certs;
#  461|       int status = JAR_ERR_PNF;
#  462|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def736]
nss-3_119_1/nss/lib/libpkix/pkix/certsel/pkix_comcertselparams.c:82:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
nss-3_119_1/nss/lib/libpkix/pkix/certsel/pkix_comcertselparams.c:62:1: enter_function: entry to ‘pkix_ComCertSelParams_Duplicate’
nss-3_119_1/nss/lib/libpkix/pkix/certsel/pkix_comcertselparams.c:68:32: release_memory: ‘paramsDuplicate’ is NULL
nss-3_119_1/nss/lib/libpkix/pkix/certsel/pkix_comcertselparams.c:71:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix/certsel/pkix_comcertselparams.c:73:9: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix/certsel/pkix_comcertselparams.c:73:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix/certsel/pkix_comcertselparams.c:79:9: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix/certsel/pkix_comcertselparams.c:79:9: call_function: calling ‘PKIX_ComCertSelParams_Create’ from ‘pkix_ComCertSelParams_Duplicate’
nss-3_119_1/nss/lib/libpkix/pkix/certsel/pkix_comcertselparams.c:79:9: return_function: returning to ‘pkix_ComCertSelParams_Duplicate’ from ‘PKIX_ComCertSelParams_Create’
nss-3_119_1/nss/lib/libpkix/pkix/certsel/pkix_comcertselparams.c:79:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix/certsel/pkix_comcertselparams.c:82:24: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix/certsel/pkix_comcertselparams.c:82:24: release_memory: ‘paramsDuplicate’ is NULL
nss-3_119_1/nss/lib/libpkix/pkix/certsel/pkix_comcertselparams.c:82:9: danger: dereference of NULL ‘paramsDuplicate’
#   80|                       PKIX_COMCERTSELPARAMSCREATEFAILED);
#   81|   
#   82|->         paramsDuplicate->minPathLength = params->minPathLength;
#   83|           paramsDuplicate->matchAllSubjAltNames = params->matchAllSubjAltNames;
#   84|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def737]
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:456:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:430:1: enter_function: entry to ‘pkix_List_Duplicate’
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:436:20: release_memory: ‘listDuplicate’ is NULL
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:439:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:441:9: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:441:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:446:13: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:446:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:452:17: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:452:17: call_function: calling ‘pkix_List_Create_Internal’ from ‘pkix_List_Duplicate’
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:452:17: return_function: returning to ‘pkix_List_Duplicate’ from ‘pkix_List_Create_Internal’
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:452:17: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:456:30: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:456:30: release_memory: ‘listDuplicate’ is NULL
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:456:17: danger: dereference of NULL ‘listDuplicate’
#  454|                               PKIX_LISTCREATEINTERNALFAILED);
#  455|   
#  456|->                 listDuplicate->length = list->length;
#  457|   
#  458|                   PKIX_INCREF(list->item);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def738]
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1421:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1387:1: enter_function: entry to ‘PKIX_List_AppendItem’
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1393:20: release_memory: ‘newElement’ is NULL
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1397:9: branch_false: following ‘false’ branch (when ‘list’ is non-NULL)...
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1399:13: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1399:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1403:14: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1403:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1407:9: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1416:9: call_function: calling ‘pkix_List_Create_Internal’ from ‘PKIX_List_AppendItem’
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1416:9: return_function: returning to ‘PKIX_List_AppendItem’ from ‘pkix_List_Create_Internal’
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1416:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1420:9: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1420:9: branch_false: following ‘false’ branch (when ‘item’ is NULL)...
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1421:19: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1421:19: release_memory: ‘newElement’ is NULL
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1421:9: danger: dereference of NULL ‘newElement’
# 1419|   
# 1420|           PKIX_INCREF(item);
# 1421|->         newElement->item = item;
# 1422|   
# 1423|           PKIX_CHECK(PKIX_PL_Object_InvalidateCache

Error: GCC_ANALYZER_WARNING (CWE-476): [#def739]
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1471:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1442:1: enter_function: entry to ‘PKIX_List_InsertItem’
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1448:20: release_memory: ‘element’ is NULL
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1449:20: release_memory: ‘element’ is NULL
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1452:9: branch_false: following ‘false’ branch (when ‘list’ is non-NULL)...
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1455:13: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1455:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1459:14: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1459:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1464:9: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1464:9: call_function: calling ‘pkix_List_Create_Internal’ from ‘PKIX_List_InsertItem’
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1464:9: return_function: returning to ‘PKIX_List_InsertItem’ from ‘pkix_List_Create_Internal’
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1464:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1467:13: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1467:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1468:13: branch_true: ...to here
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1468:13: call_function: calling ‘pkix_List_GetElement’ from ‘PKIX_List_InsertItem’
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1468:13: return_function: returning to ‘PKIX_List_InsertItem’ from ‘pkix_List_GetElement’
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1468:13: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1471:36: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1471:20: release_memory: ‘newElem’ is NULL
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1471:13: danger: dereference of NULL ‘newElem’
# 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): [#def740]
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1471:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘element’
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1442:1: enter_function: entry to ‘PKIX_List_InsertItem’
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1448:20: release_memory: ‘element’ is NULL
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1449:20: release_memory: ‘element’ is NULL
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1452:9: branch_false: following ‘false’ branch (when ‘list’ is non-NULL)...
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1455:13: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1455:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1459:14: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1459:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1464:9: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1464:9: call_function: calling ‘pkix_List_Create_Internal’ from ‘PKIX_List_InsertItem’
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1464:9: return_function: returning to ‘PKIX_List_InsertItem’ from ‘pkix_List_Create_Internal’
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1464:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1467:13: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1467:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1468:13: branch_true: ...to here
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1468:13: call_function: calling ‘pkix_List_GetElement’ from ‘PKIX_List_InsertItem’
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1468:13: return_function: returning to ‘PKIX_List_InsertItem’ from ‘pkix_List_GetElement’
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1468:13: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1471:36: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1471:36: release_memory: ‘element’ is NULL
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1471:20: release_memory: ‘element’ is NULL
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1471:29: danger: dereference of NULL ‘element’
# 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): [#def741]
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1482:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1442:1: enter_function: entry to ‘PKIX_List_InsertItem’
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1448:20: release_memory: ‘element’ is NULL
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1449:20: release_memory: ‘element’ is NULL
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1452:9: branch_false: following ‘false’ branch (when ‘list’ is non-NULL)...
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1455:13: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1455:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1459:14: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1459:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1464:9: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1464:9: call_function: calling ‘pkix_List_Create_Internal’ from ‘PKIX_List_InsertItem’
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1464:9: return_function: returning to ‘PKIX_List_InsertItem’ from ‘pkix_List_Create_Internal’
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1464:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1467:13: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1467:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1481:13: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1481:13: branch_false: following ‘false’ branch (when ‘item’ is NULL)...
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1482:20: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1482:20: release_memory: ‘newElem’ is NULL
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1482:13: danger: dereference of NULL ‘newElem’
# 1480|           } else {
# 1481|               PKIX_INCREF(item);
# 1482|->             newElem->item = item;
# 1483|               newElem->next = NULL;
# 1484|               list->next = newElem;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def742]
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1520:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘element’
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1502:1: enter_function: entry to ‘PKIX_List_GetItem’
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1508:20: release_memory: ‘element’ is NULL
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1511:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1513:14: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1513:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1517:9: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1517:9: call_function: calling ‘pkix_List_GetElement’ from ‘PKIX_List_GetItem’
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1517:9: return_function: returning to ‘PKIX_List_GetItem’ from ‘pkix_List_GetElement’
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1517:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1520:9: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1520:9: release_memory: ‘element’ is NULL
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1520:9: danger: dereference of NULL ‘element’
# 1518|                       PKIX_LISTGETELEMENTFAILED);
# 1519|   
# 1520|->         PKIX_INCREF(element->item);
# 1521|           *pItem = element->item;
# 1522|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def743]
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1555:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘element’
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1532:1: enter_function: entry to ‘PKIX_List_SetItem’
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1538:20: release_memory: ‘element’ is NULL
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1541:9: branch_false: following ‘false’ branch (when ‘list’ is non-NULL)...
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1543:13: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1543:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1547:14: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1547:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1551:9: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1551:9: call_function: calling ‘pkix_List_GetElement’ from ‘PKIX_List_SetItem’
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1551:9: return_function: returning to ‘PKIX_List_SetItem’ from ‘pkix_List_GetElement’
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1551:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1555:9: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1555:9: release_memory: ‘element’ is NULL
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1555:9: danger: dereference of NULL ‘element’
# 1553|   
# 1554|           /* DecRef old contents */
# 1555|->         PKIX_DECREF(element->item);
# 1556|   
# 1557|           /* Set New Contents */

Error: GCC_ANALYZER_WARNING (CWE-476): [#def744]
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1598:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘element’
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1574:1: enter_function: entry to ‘PKIX_List_DeleteItem’
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1579:20: release_memory: ‘element’ is NULL
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1580:20: release_memory: ‘element’ is NULL
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1584:9: branch_false: following ‘false’ branch (when ‘list’ is non-NULL)...
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1586:13: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1586:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1590:14: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1590:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1594:9: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1594:9: call_function: calling ‘pkix_List_GetElement’ from ‘PKIX_List_DeleteItem’
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1594:9: return_function: returning to ‘PKIX_List_DeleteItem’ from ‘pkix_List_GetElement’
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1594:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1598:9: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1598:9: release_memory: ‘element’ is NULL
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1598:9: danger: dereference of NULL ‘element’
# 1596|   
# 1597|           /* DecRef old contents */
# 1598|->         PKIX_DECREF(element->item);
# 1599|   
# 1600|           nextElement = element->next;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def745]
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1623:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1574:1: enter_function: entry to ‘PKIX_List_DeleteItem’
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1579:20: release_memory: ‘element’ is NULL
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1580:20: release_memory: ‘element’ is NULL
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1584:9: branch_false: following ‘false’ branch (when ‘list’ is non-NULL)...
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1586:13: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1586:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1590:14: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1590:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1594:9: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1594:9: call_function: calling ‘pkix_List_GetElement’ from ‘PKIX_List_DeleteItem’
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1594:9: return_function: returning to ‘PKIX_List_DeleteItem’ from ‘pkix_List_GetElement’
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1594:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1598:9: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1598:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1600:9: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1602:12: branch_false: following ‘false’ branch (when ‘nextElement’ is NULL)...
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1616:20: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1616:20: branch_true: following ‘true’ branch (when ‘index != 0’)...
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1617:25: branch_true: ...to here
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1617:25: call_function: calling ‘pkix_List_GetElement’ from ‘PKIX_List_DeleteItem’
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1617:25: return_function: returning to ‘PKIX_List_DeleteItem’ from ‘pkix_List_GetElement’
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1617:25: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1623:28: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1623:28: release_memory: ‘prevElement’ is NULL
nss-3_119_1/nss/lib/libpkix/pkix/util/pkix_list.c:1623:17: danger: dereference of NULL ‘prevElement’
# 1621|                           prevElement = list;
# 1622|                   }
# 1623|->                 prevElement->next = NULL;
# 1624|   
# 1625|                   /* Delete the element */

Error: GCC_ANALYZER_WARNING (CWE-476): [#def746]
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_aiamgr.c:371:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘hcv1’
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_aiamgr.c:248:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_aiamgr.c:254:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_aiamgr.c:256:17: branch_true: ...to here
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_aiamgr.c:256:17: branch_true: following ‘true’ branch...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_aiamgr.c:256:17: branch_true: ...to here
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_aiamgr.c:370:16: branch_true: following ‘true’ branch...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_aiamgr.c:371:19: branch_true: ...to here
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_aiamgr.c:371:19: danger: dereference of NULL ‘hcv1’
#  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): [#def747]
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_aiamgr.c:375:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘hcv1’
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_aiamgr.c:248:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_aiamgr.c:254:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_aiamgr.c:256:17: branch_true: ...to here
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_aiamgr.c:256:17: branch_true: following ‘true’ branch...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_aiamgr.c:256:17: branch_true: ...to here
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_aiamgr.c:370:16: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_aiamgr.c:374:17: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_aiamgr.c:374:16: branch_true: following ‘true’ branch...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_aiamgr.c:375:19: branch_true: ...to here
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_aiamgr.c:375:19: danger: dereference of NULL ‘hcv1’
#  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): [#def748]
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:629:22: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘requestParams.nc’
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:565:1: enter_function: entry to ‘pkix_pl_LdapCertStore_GetCert’
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:586:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:601:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:605:9: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:605:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:613:9: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:613:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:617:9: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:617:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:621:13: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:621:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:622:17: branch_true: ...to here
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:622:17: call_function: calling ‘pkix_pl_LdapCertStore_MakeNameAVAList’ from ‘pkix_pl_LdapCertStore_GetCert’
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:622:17: return_function: returning to ‘pkix_pl_LdapCertStore_GetCert’ from ‘pkix_pl_LdapCertStore_MakeNameAVAList’
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:622:17: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:629:22: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:629:22: danger: use of uninitialized value ‘requestParams.nc’ here
#  627|                           PKIX_LDAPCERTSTOREMAKENAMEAVALISTFAILED);
#  628|   
#  629|->                 if (*requestParams.nc == NULL) {
#  630|                           /*
#  631|                            * The subjectName may not include any components

Error: GCC_ANALYZER_WARNING (CWE-457): [#def749]
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:899:30: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘requestParams.nc’
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:822:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:852:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:856:9: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:856:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:860:9: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:860:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:870:13: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:870:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:872:17: branch_true: ...to here
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:872:17: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:876:21: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:876:20: branch_true: following ‘true’ branch...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:882:25: branch_true: ...to here
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:882:25: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:889:25: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:889:25: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:897:25: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:897:25: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:899:30: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c:899:30: danger: use of uninitialized value ‘requestParams.nc’ here
#  897|                           PKIX_DECREF(issuer);
#  898|   
#  899|->                         if (*requestParams.nc == NULL) {
#  900|                                   /*
#  901|                                           * The issuer may not include any

Error: GCC_ANALYZER_WARNING (CWE-476): [#def750]
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapdefaultclient.c:2470:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘encoded’
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapdefaultclient.c:2456:18: release_memory: ‘encoded’ is NULL
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapdefaultclient.c:2459:9: branch_false: following ‘false’ branch (when ‘client’ is non-NULL)...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapdefaultclient.c:2461:13: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapdefaultclient.c:2461:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapdefaultclient.c:2462:17: branch_true: ...to here
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapdefaultclient.c:2462:17: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapdefaultclient.c:2469:17: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapdefaultclient.c:2470:17: release_memory: ‘encoded’ is NULL
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapdefaultclient.c:2470:17: danger: dereference of NULL ‘encoded’
# 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-476): [#def751]
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crlentry.c:764:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crlentry.c:728:1: enter_function: entry to ‘pkix_pl_CRLEntry_Create’
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crlentry.c:734:27: release_memory: ‘crlEntry’ is NULL
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crlentry.c:742:9: branch_false: following ‘false’ branch (when ‘pCrlEntryList’ is non-NULL)...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crlentry.c:746:9: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crlentry.c:746:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crlentry.c:749:12: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crlentry.c:749:12: branch_true: following ‘true’ branch (when ‘nssCrlEntries’ is non-NULL)...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crlentry.c:749:12: branch_true: ...to here
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crlentry.c:750:20: branch_true: following ‘true’ branch...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crlentry.c:751:17: branch_true: ...to here
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crlentry.c:751:17: call_function: calling ‘pkix_pl_CRLEntry_CreateEntry’ from ‘pkix_pl_CRLEntry_Create’
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crlentry.c:751:17: return_function: returning to ‘pkix_pl_CRLEntry_Create’ from ‘pkix_pl_CRLEntry_CreateEntry’
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crlentry.c:751:17: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crlentry.c:756:36: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crlentry.c:760:17: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crlentry.c:764:25: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crlentry.c:764:25: release_memory: ‘crlEntry’ is NULL
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crlentry.c:764:17: danger: dereference of NULL ‘crlEntry’
#  762|                               PKIX_BIGINTCREATEWITHBYTESFAILED);
#  763|   
#  764|->                 crlEntry->serialNumber = serialNumber;
#  765|                   crlEntry->nssCrlEntry = *entries;
#  766|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def752]
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:164:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘objectHeader’
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:817:1: enter_function: entry to ‘PKIX_PL_Object_DecRef’
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:822:25: release_memory: ‘objectHeader’ is NULL
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:826:9: branch_false: following ‘false’ branch (when ‘object’ is non-NULL)...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:828:12: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:840:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:845:9: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:845:9: call_function: calling ‘pkix_pl_Object_GetHeader’ from ‘PKIX_PL_Object_DecRef’
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:845:9: return_function: returning to ‘PKIX_PL_Object_DecRef’ from ‘pkix_pl_Object_GetHeader’
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:845:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:848:20: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:850:12: branch_true: following ‘true’ branch (when ‘refCount == 0’)...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:853:47: branch_true: ...to here
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:856:16: branch_false: following ‘false’ branch (when ‘objType <= 60’)...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:886:17: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:904:31: call_function: calling ‘pkix_pl_Object_Destroy’ from ‘PKIX_PL_Object_DecRef’
#  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): [#def753]
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:853:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘objectHeader’
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:817:1: enter_function: entry to ‘PKIX_PL_Object_DecRef’
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:822:25: release_memory: ‘objectHeader’ is NULL
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:826:9: branch_false: following ‘false’ branch (when ‘object’ is non-NULL)...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:828:12: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:840:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:845:9: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:845:9: call_function: calling ‘pkix_pl_Object_GetHeader’ from ‘PKIX_PL_Object_DecRef’
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:845:9: return_function: returning to ‘PKIX_PL_Object_DecRef’ from ‘pkix_pl_Object_GetHeader’
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:845:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:848:20: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:848:20: release_memory: ‘objectHeader’ is NULL
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:850:12: branch_true: following ‘true’ branch (when ‘refCount == 0’)...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:853:47: branch_true: ...to here
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:853:47: release_memory: ‘objectHeader’ is NULL
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:853:25: danger: dereference of NULL ‘objectHeader’
#  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): [#def754]
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:947:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘firstObjectHeader’
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:923:1: enter_function: entry to ‘PKIX_PL_Object_Equals’
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:929:25: release_memory: ‘firstObjectHeader’ is NULL
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:930:25: release_memory: ‘firstObjectHeader’ is NULL
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:936:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:938:9: call_function: calling ‘pkix_pl_Object_GetHeader’ from ‘PKIX_PL_Object_Equals’
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:938:9: return_function: returning to ‘PKIX_PL_Object_Equals’ from ‘pkix_pl_Object_GetHeader’
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:938:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:942:9: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:942:9: call_function: calling ‘pkix_pl_Object_GetHeader’ from ‘PKIX_PL_Object_Equals’
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:942:9: return_function: returning to ‘PKIX_PL_Object_Equals’ from ‘pkix_pl_Object_GetHeader’
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:942:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:947:30: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:947:30: release_memory: ‘firstObjectHeader’ is NULL
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:947:13: danger: dereference of NULL ‘firstObjectHeader’
#  945|   
#  946|           /* if hashcodes are cached but not equal, objects can't be equal */
#  947|->         if (firstObjectHeader->hashcodeCached &&
#  948|               secondObjectHeader->hashcodeCached){
#  949|                   if (firstObjectHeader->hashcode !=

Error: GCC_ANALYZER_WARNING (CWE-476): [#def755]
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1025:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘firstObjectHeader’
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1008:1: enter_function: entry to ‘PKIX_PL_Object_Duplicate’
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1013:25: release_memory: ‘firstObjectHeader’ is NULL
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1019:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1021:9: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1021:9: call_function: calling ‘pkix_pl_Object_GetHeader’ from ‘PKIX_PL_Object_Duplicate’
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1021:9: return_function: returning to ‘PKIX_PL_Object_Duplicate’ from ‘pkix_pl_Object_GetHeader’
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1021:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1025:36: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1025:36: release_memory: ‘firstObjectHeader’ is NULL
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1025:9: danger: dereference of NULL ‘firstObjectHeader’
# 1023|                       PKIX_RECEIVEDCORRUPTEDOBJECTARGUMENT);
# 1024|   
# 1025|->         objType = firstObjectHeader->type;
# 1026|   
# 1027|           if (objType >= PKIX_NUMTYPES) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def756]
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1096:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘objectHeader’
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1078:1: enter_function: entry to ‘PKIX_PL_Object_Hashcode’
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1083:25: release_memory: ‘objectHeader’ is NULL
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1089:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1092:9: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1092:9: call_function: calling ‘pkix_pl_Object_GetHeader’ from ‘PKIX_PL_Object_Hashcode’
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1092:9: return_function: returning to ‘PKIX_PL_Object_Hashcode’ from ‘pkix_pl_Object_GetHeader’
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1092:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1096:26: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1096:26: release_memory: ‘objectHeader’ is NULL
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1096:14: danger: dereference of NULL ‘objectHeader’
# 1094|   
# 1095|           /* if we don't have a cached copy from before, we create one */
# 1096|->         if (!objectHeader->hashcodeCached){
# 1097|   
# 1098|                   PKIX_UInt32 objType = objectHeader->type;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def757]
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1190:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘objectHeader’
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1172:1: enter_function: entry to ‘PKIX_PL_Object_ToString’
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1177:25: release_memory: ‘objectHeader’ is NULL
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1183:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1186:9: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1186:9: call_function: calling ‘pkix_pl_Object_GetHeader’ from ‘PKIX_PL_Object_ToString’
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1186:9: return_function: returning to ‘PKIX_PL_Object_ToString’ from ‘pkix_pl_Object_GetHeader’
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1186:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1190:26: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1190:26: release_memory: ‘objectHeader’ is NULL
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1190:14: danger: dereference of NULL ‘objectHeader’
# 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): [#def758]
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1287:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1270:1: enter_function: entry to ‘PKIX_PL_Object_InvalidateCache’
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1274:25: release_memory: ‘objectHeader’ is NULL
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1277:9: branch_false: following ‘false’ branch (when ‘object’ is non-NULL)...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1280:9: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1280:9: call_function: calling ‘pkix_pl_Object_GetHeader’ from ‘PKIX_PL_Object_InvalidateCache’
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1280:9: return_function: returning to ‘PKIX_PL_Object_InvalidateCache’ from ‘pkix_pl_Object_GetHeader’
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1280:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1283:9: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1283:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1287:21: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1287:21: release_memory: ‘objectHeader’ is NULL
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1287:9: danger: dereference of NULL ‘objectHeader’
# 1285|   
# 1286|           /* invalidate hashcode */
# 1287|->         objectHeader->hashcode = 0;
# 1288|           objectHeader->hashcodeCached = PKIX_FALSE;
# 1289|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def759]
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1329:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘firstObjectHeader’
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1304:1: enter_function: entry to ‘PKIX_PL_Object_Compare’
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1310:25: release_memory: ‘firstObjectHeader’ is NULL
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1317:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1320:9: call_function: calling ‘pkix_pl_Object_GetHeader’ from ‘PKIX_PL_Object_Compare’
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1320:9: return_function: returning to ‘PKIX_PL_Object_Compare’ from ‘pkix_pl_Object_GetHeader’
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1320:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1325:9: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1325:9: call_function: calling ‘pkix_pl_Object_GetHeader’ from ‘PKIX_PL_Object_Compare’
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1325:9: return_function: returning to ‘PKIX_PL_Object_Compare’ from ‘pkix_pl_Object_GetHeader’
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1325:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1329:36: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1329:36: release_memory: ‘firstObjectHeader’ is NULL
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1329:9: danger: dereference of NULL ‘firstObjectHeader’
# 1327|                       PKIX_RECEIVEDCORRUPTEDOBJECTARGUMENT);
# 1328|   
# 1329|->         objType = firstObjectHeader->type;
# 1330|   
# 1331|           if (objType >= PKIX_NUMTYPES){

Error: GCC_ANALYZER_WARNING (CWE-476): [#def760]
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1435:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘objectHeader’
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1421:1: enter_function: entry to ‘PKIX_PL_Object_GetType’
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1426:25: release_memory: ‘objectHeader’ is NULL
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1429:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1432:9: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1432:9: call_function: calling ‘pkix_pl_Object_GetHeader’ from ‘PKIX_PL_Object_GetType’
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1432:9: return_function: returning to ‘PKIX_PL_Object_GetType’ from ‘pkix_pl_Object_GetHeader’
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1432:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1435:30: branch_false: ...to here
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1435:30: release_memory: ‘objectHeader’ is NULL
nss-3_119_1/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c:1435:18: danger: dereference of NULL ‘objectHeader’
# 1433|                       PKIX_RECEIVEDCORRUPTEDOBJECTARGUMENT);
# 1434|   
# 1435|->         *pType = objectHeader->type;
# 1436|   
# 1437|   cleanup:

Error: GCC_ANALYZER_WARNING (CWE-775): [#def761]
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3394:14: warning[-Wanalyzer-file-leak]: leak of FILE ‘outfile’
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3414:1: enter_function: entry to ‘print_final_statistics’
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3425:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3427:19: branch_true: ...to here
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3427:19: acquire_resource: opened here
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3429:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3433:5: branch_false: ...to here
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3440:17: branch_true: following ‘true’ branch...
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3441:24: branch_true: ...to here
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3450:18: call_function: calling ‘getPrintTime’ from ‘print_final_statistics’
# 3392|       }
# 3393|   
# 3394|->     prTime = PR_IntervalToSeconds(time);
# 3395|   
# 3396|       if (prTime >= 600) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def762]
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3394:14: warning[-Wanalyzer-malloc-leak]: leak of ‘outfile’
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3414:1: enter_function: entry to ‘print_final_statistics’
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3425:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3427:19: branch_true: ...to here
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3427:19: acquire_memory: allocated here
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3429:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3433:5: branch_false: ...to here
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3440:17: branch_true: following ‘true’ branch...
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3441:24: branch_true: ...to here
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3450:18: call_function: calling ‘getPrintTime’ from ‘print_final_statistics’
# 3392|       }
# 3393|   
# 3394|->     prTime = PR_IntervalToSeconds(time);
# 3395|   
# 3396|       if (prTime >= 600) {

Error: GCC_ANALYZER_WARNING (CWE-775): [#def763]
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3404:14: warning[-Wanalyzer-file-leak]: leak of FILE ‘outfile’
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3414:1: enter_function: entry to ‘print_final_statistics’
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3425:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3427:19: branch_true: ...to here
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3427:19: acquire_resource: opened here
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3429:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3433:5: branch_false: ...to here
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3440:17: branch_true: following ‘true’ branch...
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3441:24: branch_true: ...to here
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3450:18: call_function: calling ‘getPrintTime’ from ‘print_final_statistics’
# 3402|           return prTime;
# 3403|       }
# 3404|->     prTime = PR_IntervalToMilliseconds(time);
# 3405|       if (prTime >= 10) {
# 3406|           *type = "ms";

Error: GCC_ANALYZER_WARNING (CWE-401): [#def764]
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3404:14: warning[-Wanalyzer-malloc-leak]: leak of ‘outfile’
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3414:1: enter_function: entry to ‘print_final_statistics’
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3425:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3427:19: branch_true: ...to here
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3427:19: acquire_memory: allocated here
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3429:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3433:5: branch_false: ...to here
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3440:17: branch_true: following ‘true’ branch...
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3441:24: branch_true: ...to here
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3450:18: call_function: calling ‘getPrintTime’ from ‘print_final_statistics’
# 3402|           return prTime;
# 3403|       }
# 3404|->     prTime = PR_IntervalToMilliseconds(time);
# 3405|       if (prTime >= 10) {
# 3406|           *type = "ms";

Error: GCC_ANALYZER_WARNING (CWE-775): [#def765]
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3410:12: warning[-Wanalyzer-file-leak]: leak of FILE ‘outfile’
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3414:1: enter_function: entry to ‘print_final_statistics’
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3425:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3427:19: branch_true: ...to here
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3427:19: acquire_resource: opened here
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3429:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3433:5: branch_false: ...to here
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3440:17: branch_true: following ‘true’ branch...
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3441:24: branch_true: ...to here
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3450:18: call_function: calling ‘getPrintTime’ from ‘print_final_statistics’
# 3408|       }
# 3409|       *type = "us";
# 3410|->     return PR_IntervalToMicroseconds(time);
# 3411|   }
# 3412|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def766]
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3410:12: warning[-Wanalyzer-malloc-leak]: leak of ‘outfile’
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3414:1: enter_function: entry to ‘print_final_statistics’
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3425:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3427:19: branch_true: ...to here
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3427:19: acquire_memory: allocated here
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3429:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3433:5: branch_false: ...to here
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3440:17: branch_true: following ‘true’ branch...
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3441:24: branch_true: ...to here
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3450:18: call_function: calling ‘getPrintTime’ from ‘print_final_statistics’
# 3408|       }
# 3409|       *type = "us";
# 3410|->     return PR_IntervalToMicroseconds(time);
# 3411|   }
# 3412|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def767]
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3442:27: warning[-Wanalyzer-file-leak]: leak of FILE ‘outfile’
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3425:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3427:19: branch_true: ...to here
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3427:19: acquire_resource: opened here
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3429:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3433:5: branch_false: ...to here
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3440:17: branch_true: following ‘true’ branch...
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3441:24: branch_true: ...to here
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3442:27: throw: if ‘PR_IntervalToMicroseconds’ throws an exception...
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3442:27: danger: ‘outfile’ leaks here; was opened at [(3)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/2)
# 3440|       for (i = 0; i < nssdbg_prof_size; i++) {
# 3441|           PRIntervalTime time = nssdbg_prof_data[i].time;
# 3442|->         PRUint32 usTime = PR_IntervalToMicroseconds(time);
# 3443|           PRUint32 prTime = 0;
# 3444|           PRUint32 calls = nssdbg_prof_data[i].calls;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def768]
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3442:27: warning[-Wanalyzer-malloc-leak]: leak of ‘outfile’
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3425:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3427:19: branch_true: ...to here
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3427:19: acquire_memory: allocated here
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3429:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3433:5: branch_false: ...to here
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3440:17: branch_true: following ‘true’ branch...
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3441:24: branch_true: ...to here
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3442:27: throw: if ‘PR_IntervalToMicroseconds’ throws an exception...
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3442:27: danger: ‘outfile’ leaks here; was allocated at [(3)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/2)
# 3440|       for (i = 0; i < nssdbg_prof_size; i++) {
# 3441|           PRIntervalTime time = nssdbg_prof_data[i].time;
# 3442|->         PRUint32 usTime = PR_IntervalToMicroseconds(time);
# 3443|           PRUint32 prTime = 0;
# 3444|           PRUint32 calls = nssdbg_prof_data[i].calls;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def769]
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3467:5: warning[-Wanalyzer-file-leak]: leak of FILE ‘outfile’
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3425:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3427:19: branch_true: ...to here
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3427:19: acquire_resource: opened here
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3429:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3433:5: branch_false: ...to here
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3467:5: throw: if ‘fflush’ throws an exception...
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3467:5: danger: ‘outfile’ leaks here; was opened at [(3)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/2)
# 3465|       fprintf(outfile, "\n\nMaximum number of concurrent open sessions: %d\n\n",
# 3466|               maxOpenSessions);
# 3467|->     fflush(outfile);
# 3468|       if (outfile != stdout) {
# 3469|           fclose(outfile);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def770]
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3467:5: warning[-Wanalyzer-malloc-leak]: leak of ‘outfile’
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3425:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3427:19: branch_true: ...to here
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3427:19: acquire_memory: allocated here
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3429:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3433:5: branch_false: ...to here
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3467:5: throw: if ‘fflush’ throws an exception...
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3467:5: danger: ‘outfile’ leaks here; was allocated at [(3)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/2)
# 3465|       fprintf(outfile, "\n\nMaximum number of concurrent open sessions: %d\n\n",
# 3466|               maxOpenSessions);
# 3467|->     fflush(outfile);
# 3468|       if (outfile != stdout) {
# 3469|           fclose(outfile);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def771]
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3471:1: warning[-Wanalyzer-file-leak]: leak of FILE ‘outfile’
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3425:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3427:19: branch_true: ...to here
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3427:19: acquire_resource: opened here
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3429:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3433:5: branch_false: ...to here
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3468:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3471:1: branch_false: ...to here
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3471:1: danger: ‘outfile’ leaks here; was opened at [(3)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/2)
# 3469|           fclose(outfile);
# 3470|       }
# 3471|-> }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def772]
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3471:1: warning[-Wanalyzer-malloc-leak]: leak of ‘outfile’
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3425:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3427:19: branch_true: ...to here
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3427:19: acquire_memory: allocated here
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3429:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3433:5: branch_false: ...to here
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3468:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3471:1: branch_false: ...to here
nss-3_119_1/nss/lib/pk11wrap/debug_module.c:3471:1: danger: ‘outfile’ leaks here; was allocated at [(3)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/2)
# 3469|           fclose(outfile);
# 3470|       }
# 3471|-> }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def773]
nss-3_119_1/nss/lib/pk11wrap/pk11akey.c:2823:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pubKeyData’
nss-3_119_1/nss/lib/pk11wrap/pk11akey.c:2053:1: enter_function: entry to ‘SECKEY_SetPublicValue’
nss-3_119_1/nss/lib/pk11wrap/pk11akey.c:2062:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/pk11wrap/pk11akey.c:2063:9: branch_false: ...to here
nss-3_119_1/nss/lib/pk11wrap/pk11akey.c:2062:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/pk11wrap/pk11akey.c:2063:38: branch_false: ...to here
nss-3_119_1/nss/lib/pk11wrap/pk11akey.c:2062:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/pk11wrap/pk11akey.c:2068:5: branch_false: ...to here
nss-3_119_1/nss/lib/pk11wrap/pk11akey.c:2077:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/pk11wrap/pk11akey.c:2081:5: branch_false: ...to here
nss-3_119_1/nss/lib/pk11wrap/pk11akey.c:2143:8: branch_true: following ‘true’ branch (when ‘rv == 0’)...
nss-3_119_1/nss/lib/pk11wrap/pk11akey.c:2144:14: branch_true: ...to here
nss-3_119_1/nss/lib/pk11wrap/pk11akey.c:2144:14: call_function: calling ‘PK11_ImportPublicKey’ from ‘SECKEY_SetPublicValue’
# 2821|       SECStatus rv;
# 2822|   
# 2823|->     if (pubKeyData->len <= SHA1_LENGTH) {
# 2824|           /* probably an already hashed value. The strongest known public
# 2825|            * key values <= 160 bits would be less than 40 bit symetric in

Error: GCC_ANALYZER_WARNING (CWE-457): [#def774]
nss-3_119_1/nss/lib/pk11wrap/pk11akey.c:2823:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*pubKeyData.len’
nss-3_119_1/nss/lib/pk11wrap/pk11akey.c:2053:1: enter_function: entry to ‘SECKEY_SetPublicValue’
nss-3_119_1/nss/lib/pk11wrap/pk11akey.c:2062:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/pk11wrap/pk11akey.c:2063:9: branch_false: ...to here
nss-3_119_1/nss/lib/pk11wrap/pk11akey.c:2062:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/pk11wrap/pk11akey.c:2063:38: branch_false: ...to here
nss-3_119_1/nss/lib/pk11wrap/pk11akey.c:2062:9: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/pk11wrap/pk11akey.c:2068:5: branch_false: ...to here
nss-3_119_1/nss/lib/pk11wrap/pk11akey.c:2077:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/pk11wrap/pk11akey.c:2081:5: branch_false: ...to here
nss-3_119_1/nss/lib/pk11wrap/pk11akey.c:2131:16: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/pk11wrap/pk11akey.c:2135:39: branch_false: ...to here
nss-3_119_1/nss/lib/pk11wrap/pk11akey.c:2136:16: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/pk11wrap/pk11akey.c:2144:14: branch_false: ...to here
nss-3_119_1/nss/lib/pk11wrap/pk11akey.c:2144:14: call_function: calling ‘PK11_ImportPublicKey’ from ‘SECKEY_SetPublicValue’
# 2821|       SECStatus rv;
# 2822|   
# 2823|->     if (pubKeyData->len <= SHA1_LENGTH) {
# 2824|           /* probably an already hashed value. The strongest known public
# 2825|            * key values <= 160 bits would be less than 40 bit symetric in

Error: GCC_ANALYZER_WARNING (CWE-476): [#def775]
nss-3_119_1/nss/lib/pk11wrap/pk11slot.c:481:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘slot’
nss-3_119_1/nss/lib/pk11wrap/pk11slot.c:1866:1: enter_function: entry to ‘PK11_IsInternalKeySlot’
nss-3_119_1/nss/lib/pk11wrap/pk11slot.c:1871:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/pk11wrap/pk11slot.c:1875:16: branch_false: ...to here
nss-3_119_1/nss/lib/pk11wrap/pk11slot.c:1875:16: call_function: calling ‘PK11_GetInternalKeySlot’ from ‘PK11_IsInternalKeySlot’
nss-3_119_1/nss/lib/pk11wrap/pk11slot.c:1875:16: return_function: returning to ‘PK11_IsInternalKeySlot’ from ‘PK11_GetInternalKeySlot’
nss-3_119_1/nss/lib/pk11wrap/pk11slot.c:1877:5: call_function: calling ‘PK11_FreeSlot’ from ‘PK11_IsInternalKeySlot’
#  479|   
#  480|       /* free up all the sessions on this slot */
#  481|->     if (slot->functionList) {
#  482|           PK11_GETTAB(slot)
#  483|               ->C_CloseAllSessions(slot->slotID);

Error: CPPCHECK_WARNING (CWE-909): [#def776]
nss-3_119_1/nss/lib/pkcs7/p7decode.c:1693: error[uninitStructMember]: Uninitialized struct member: holder.len
# 1691|           if (sigkey != NULL) {
# 1692|               PORT_Assert(sig == &holder);
# 1693|->             PORT_ZFree(holder.data, holder.len);
# 1694|           }
# 1695|       }

Error: GCC_ANALYZER_WARNING (CWE-688): [#def777]
nss-3_119_1/nss/lib/smime/cmsdecode.c:575:9: warning[-Wanalyzer-null-argument]: use of NULL ‘data’ where non-null expected
nss-3_119_1/nss/lib/smime/cmsdecode.c:463:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/smime/cmsdecode.c:469:9: branch_false: ...to here
nss-3_119_1/nss/lib/smime/cmsdecode.c:469:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/lib/smime/cmsdecode.c:491:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/smime/cmsdecode.c:498:12: branch_false: ...to here
nss-3_119_1/nss/lib/smime/cmsdecode.c:498:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/smime/cmsdecode.c:514:43: branch_false: ...to here
nss-3_119_1/nss/lib/smime/cmsdecode.c:516:12: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/smime/cmsdecode.c:525:9: branch_false: ...to here
nss-3_119_1/nss/lib/smime/cmsdecode.c:528:8: branch_false: following ‘false’ branch (when ‘len != 0’)...
nss-3_119_1/nss/lib/smime/cmsdecode.c:534:9: branch_false: ...to here
nss-3_119_1/nss/lib/smime/cmsdecode.c:534:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/lib/smime/cmsdecode.c:534:31: branch_true: ...to here
nss-3_119_1/nss/lib/smime/cmsdecode.c:544:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/smime/cmsdecode.c:550:13: branch_false: ...to here
nss-3_119_1/nss/lib/smime/cmsdecode.c:550:12: branch_true: following ‘true’ branch...
nss-3_119_1/nss/lib/smime/cmsdecode.c:553:28: branch_true: ...to here
nss-3_119_1/nss/lib/smime/cmsdecode.c:575:9: danger: argument 2 (‘data’) NULL where non-null expected
#  573|   
#  574|           /* copy it in */
#  575|->         PORT_Memcpy(dataItem->data + offset, data, len);
#  576|           dataItem->len += len;
#  577|       }

Error: CPPCHECK_WARNING (CWE-190): [#def778]
nss-3_119_1/nss/lib/softoken/pkcs11u.c:1366: error[integerOverflow]: Signed integer overflow for expression '0-1'.
# 1364|       if (so) {
# 1365|           PZ_Lock(session->objectLock);
# 1366|->         sftkqueue_add(&so->sessionList, 0, session->objects, 0);
# 1367|           so->session = session;
# 1368|           PZ_Unlock(session->objectLock);

Error: CPPCHECK_WARNING (CWE-190): [#def779]
nss-3_119_1/nss/lib/softoken/pkcs11u.c:1389: error[integerOverflow]: Signed integer overflow for expression '0-1'.
# 1387|           session = so->session;
# 1388|           PZ_Lock(session->objectLock);
# 1389|->         sftkqueue_delete(&so->sessionList, 0, session->objects, 0);
# 1390|           PZ_Unlock(session->objectLock);
# 1391|           PZ_Lock(slot->objectLock);

Error: CPPCHECK_WARNING (CWE-758): [#def780]
nss-3_119_1/nss/lib/softoken/pkcs11u.c:2245: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 2243|   {
# 2244|       PR_STATIC_ASSERT(CKR_OK == 0);
# 2245|->     return ~PORT_CT_NOT_ZERO(rv);
# 2246|   }
# 2247|   

Error: CPPCHECK_WARNING (CWE-758): [#def781]
nss-3_119_1/nss/lib/softoken/pkcs11u.c:2259: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 2257|   
# 2258|       /* If padSize <= blockSize, set goodPad to all-1s and all-0s otherwise.*/
# 2259|->     unsigned int goodPad = PORT_CT_DUPLICATE_MSB_TO_ALL(~(blockSize - padSize));
# 2260|       /* padSize should not be 0 */
# 2261|       goodPad &= PORT_CT_NOT_ZERO(padSize);

Error: CPPCHECK_WARNING (CWE-758): [#def782]
nss-3_119_1/nss/lib/softoken/pkcs11u.c:2261: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 2259|       unsigned int goodPad = PORT_CT_DUPLICATE_MSB_TO_ALL(~(blockSize - padSize));
# 2260|       /* padSize should not be 0 */
# 2261|->     goodPad &= PORT_CT_NOT_ZERO(padSize);
# 2262|   
# 2263|       unsigned int i;

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

Error: CPPCHECK_WARNING (CWE-758): [#def784]
nss-3_119_1/nss/lib/softoken/pkcs11u.c:2280: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 2278|       goodPad &= goodPad >> 1;
# 2279|       goodPad <<= sizeof(goodPad) * 8 - 1;
# 2280|->     goodPad = PORT_CT_DUPLICATE_MSB_TO_ALL(goodPad);
# 2281|   
# 2282|       /* Set outPadSize to padSize or 0 */

Error: GCC_ANALYZER_WARNING (CWE-476): [#def785]
nss-3_119_1/nss/lib/ssl/ssl3con.c:1234:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
nss-3_119_1/nss/lib/ssl/ssl3con.c:1209:1: enter_function: entry to ‘ssl3_config_match’
nss-3_119_1/nss/lib/ssl/ssl3con.c:1232:18: call_function: calling ‘ssl_LookupCipherSuiteDef’ from ‘ssl3_config_match’
nss-3_119_1/nss/lib/ssl/ssl3con.c:1232:18: return_function: returning to ‘ssl3_config_match’ from ‘ssl_LookupCipherSuiteDef’
nss-3_119_1/nss/lib/ssl/ssl3con.c:1234:25: danger: dereference of NULL ‘ssl_LookupCipherSuiteDef(*suite.cipher_suite)’
# 1232|       cipher_def = ssl_LookupCipherSuiteDef(suite->cipher_suite);
# 1233|       PORT_Assert(cipher_def != NULL);
# 1234|->     kea_def = &kea_defs[cipher_def->key_exchange_alg];
# 1235|       PORT_Assert(kea_def != NULL);
# 1236|       if (!ssl_KEAEnabled(ss, kea_def->exchKeyType)) {

Error: CPPCHECK_WARNING (CWE-758): [#def786]
nss-3_119_1/nss/lib/ssl/ssl3con.c:13260: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#13258|   SECStatusToMask(SECStatus rv)
#13259|   {
#13260|->     return PORT_CT_EQ(rv, SECSuccess);
#13261|   }
#13262|   

Error: CPPCHECK_WARNING (CWE-758): [#def787]
nss-3_119_1/nss/lib/ssl/ssl3con.c:13267: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#13265|   ssl_ConstantTimeGE(unsigned int a, unsigned int b)
#13266|   {
#13267|->     return PORT_CT_GE(a, b);
#13268|   }
#13269|   

Error: CPPCHECK_WARNING (CWE-758): [#def788]
nss-3_119_1/nss/lib/ssl/ssl3con.c:13274: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#13272|   ssl_ConstantTimeEQ(unsigned char a, unsigned char b)
#13273|   {
#13274|->     return PORT_CT_EQ(a, b);
#13275|   }
#13276|   

Error: CPPCHECK_WARNING (CWE-758): [#def789]
nss-3_119_1/nss/lib/ssl/ssl3con.c:13300: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#13298|       paddingLength = plaintext->buf[plaintext->len - 1];
#13299|       /* SSLv3 padding bytes are random and cannot be checked. */
#13300|->     good = PORT_CT_GE(plaintext->len, paddingLength + overhead);
#13301|       /* SSLv3 requires that the padding is minimal. */
#13302|       good &= PORT_CT_GE(blockSize, paddingLength + 1);

Error: CPPCHECK_WARNING (CWE-758): [#def790]
nss-3_119_1/nss/lib/ssl/ssl3con.c:13302: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#13300|       good = PORT_CT_GE(plaintext->len, paddingLength + overhead);
#13301|       /* SSLv3 requires that the padding is minimal. */
#13302|->     good &= PORT_CT_GE(blockSize, paddingLength + 1);
#13303|       plaintext->len -= good & (paddingLength + 1);
#13304|       return (good & SECSuccess) | (~good & SECFailure);

Error: CPPCHECK_WARNING (CWE-758): [#def791]
nss-3_119_1/nss/lib/ssl/ssl3con.c:13320: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#13318|   
#13319|       paddingLength = plaintext->buf[plaintext->len - 1];
#13320|->     good = PORT_CT_GE(plaintext->len, paddingLength + overhead);
#13321|   
#13322|       /* The padding consists of a length byte at the end of the record and then

Error: CPPCHECK_WARNING (CWE-758): [#def792]
nss-3_119_1/nss/lib/ssl/ssl3con.c:13339: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#13337|           /* If i <= paddingLength then the MSB of t is zero and mask is
#13338|            * 0xff.  Otherwise, mask is 0. */
#13339|->         unsigned char mask = PORT_CT_LE(i, paddingLength);
#13340|           unsigned char b = plaintext->buf[plaintext->len - 1 - i];
#13341|           /* The final |paddingLength+1| bytes should all have the value

Error: CPPCHECK_WARNING (CWE-758): [#def793]
nss-3_119_1/nss/lib/ssl/ssl3con.c:13354: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#13352|       good &= good >> 1;
#13353|       good <<= sizeof(good) * 8 - 1;
#13354|->     good = PORT_CT_DUPLICATE_MSB_TO_ALL(good);
#13355|   
#13356|       plaintext->len -= good & (paddingLength + 1);

Error: CPPCHECK_WARNING (CWE-457): [#def794]
nss-3_119_1/nss/lib/ssl/ssl3con.c:14345: warning[uninitvar]: Uninitialized variable: schemes
#14343|           schemes[i] = (algorithms[i].hashAlg << 8) | algorithms[i].sigAlg;
#14344|       }
#14345|->     return SSL_SignatureSchemePrefSet(fd, schemes, count);
#14346|   }
#14347|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def795]
nss-3_119_1/nss/lib/ssl/sslinfo.c:117:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘&inf’
nss-3_119_1/nss/lib/ssl/sslinfo.c:23:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/ssl/sslinfo.c:29:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/ssl/sslinfo.c:35:5: branch_false: ...to here
nss-3_119_1/nss/lib/ssl/sslinfo.c:117:5: danger: use of uninitialized value ‘&inf’ here
#  115|       }
#  116|   
#  117|->     memcpy(info, &inf, inf.length);
#  118|   
#  119|       return SECSuccess;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def796]
nss-3_119_1/nss/lib/ssl/sslinfo.c:185:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘&inf’
nss-3_119_1/nss/lib/ssl/sslinfo.c:133:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/ssl/sslinfo.c:139:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/ssl/sslinfo.c:146:5: branch_false: ...to here
nss-3_119_1/nss/lib/ssl/sslinfo.c:158:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/ssl/sslinfo.c:176:30: branch_false: ...to here
nss-3_119_1/nss/lib/ssl/sslinfo.c:183:25: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/ssl/sslinfo.c:183:5: branch_false: ...to here
nss-3_119_1/nss/lib/ssl/sslinfo.c:185:5: danger: use of uninitialized value ‘&inf’ here
#  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): [#def797]
nss-3_119_1/nss/lib/ssl/sslnonce.c:1170:12: warning[-Wanalyzer-infinite-loop]: infinite loop
nss-3_119_1/nss/lib/ssl/sslnonce.c:1170:12: danger: infinite loop here
nss-3_119_1/nss/lib/ssl/sslnonce.c:1170:12: branch_true: if it ever follows ‘true’ branch, it will always do so...
nss-3_119_1/nss/lib/ssl/sslnonce.c:1171:9: call_function: inlined call to ‘UncacheSID’ from ‘SSL_ClearSessionCache’
# 1168|   {
# 1169|       LOCK_CACHE;
# 1170|->     while (cache != NULL)
# 1171|           UncacheSID(cache);
# 1172|       UNLOCK_CACHE;

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

Error: GCC_ANALYZER_WARNING (CWE-457): [#def799]
nss-3_119_1/nss/lib/ssl/sslsock.c:4713:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘&token’
nss-3_119_1/nss/lib/ssl/sslsock.c:4676:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/ssl/sslsock.c:4685:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/ssl/sslsock.c:4691:22: branch_false: ...to here
nss-3_119_1/nss/lib/ssl/sslsock.c:4695:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/ssl/sslsock.c:4698:8: branch_false: ...to here
nss-3_119_1/nss/lib/ssl/sslsock.c:4713:5: danger: use of uninitialized value ‘&token’ here
# 4711|   
# 4712|       token.length = PR_MIN(sizeof(SSLResumptionTokenInfo), len);
# 4713|->     PORT_Memcpy(tokenOut, &token, token.length);
# 4714|   
# 4715|       ssl_DestroySID(&sid, PR_FALSE);

Error: CPPCHECK_WARNING (CWE-758): [#def800]
nss-3_119_1/nss/lib/ssl/tls13con.c:6599: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 6597|   
# 6598|       /* Return "disallowed" if the message mask bit isn't set. */
# 6599|->     if (!(_M(message) & KnownExtensions[i].messages)) {
# 6600|           return tls13_extension_disallowed;
# 6601|       }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def801]
nss-3_119_1/nss/lib/ssl/tls13ech.c:2363:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘tmpEchInner’
nss-3_119_1/nss/lib/ssl/tls13ech.c:2333:14: release_memory: ‘tmpEchInner’ is NULL
nss-3_119_1/nss/lib/ssl/tls13ech.c:2345:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/ssl/tls13ech.c:2355:5: branch_false: ...to here
nss-3_119_1/nss/lib/ssl/tls13ech.c:2357:8: branch_true: following ‘true’ branch...
nss-3_119_1/nss/lib/ssl/tls13ech.c:2358:9: branch_true: ...to here
nss-3_119_1/nss/lib/ssl/tls13ech.c:2363:24: release_memory: ‘tmpEchInner’ is NULL
nss-3_119_1/nss/lib/ssl/tls13ech.c:2363:13: danger: dereference of NULL ‘tmpEchInner’
# 2361|   
# 2362|           /* Start over on ECHInner */
# 2363|->         b = tmpEchInner->data;
# 2364|           length = tmpEchInner->len;
# 2365|           rv = ssl3_HandleClientHelloPreamble(ss, &b, &length, &tmpSid,

Error: GCC_ANALYZER_WARNING (CWE-775): [#def802]
nss-3_119_1/nss/lib/util/utilmod.c:261:25: warning[-Wanalyzer-file-leak]: leak of FILE ‘fd’
nss-3_119_1/nss/lib/util/utilmod.c:898:1: enter_function: entry to ‘NSSUTIL_DoModuleDBFunction’
nss-3_119_1/nss/lib/util/utilmod.c:910:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/util/utilmod.c:918:5: branch_false: ...to here
nss-3_119_1/nss/lib/util/utilmod.c:920:21: call_function: calling ‘nssutil_ReadSecmodDB’ from ‘NSSUTIL_DoModuleDBFunction’
#  259|   
#  260|       len += str_len;
#  261|->     newString = (char *)PORT_Realloc(baseString, len);
#  262|       if (newString == NULL) {
#  263|           PORT_Free(baseString);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def803]
nss-3_119_1/nss/lib/util/utilmod.c:261:25: warning[-Wanalyzer-malloc-leak]: leak of ‘fd’
nss-3_119_1/nss/lib/util/utilmod.c:898:1: enter_function: entry to ‘NSSUTIL_DoModuleDBFunction’
nss-3_119_1/nss/lib/util/utilmod.c:910:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/util/utilmod.c:918:5: branch_false: ...to here
nss-3_119_1/nss/lib/util/utilmod.c:920:21: call_function: calling ‘nssutil_ReadSecmodDB’ from ‘NSSUTIL_DoModuleDBFunction’
#  259|   
#  260|       len += str_len;
#  261|->     newString = (char *)PORT_Realloc(baseString, len);
#  262|       if (newString == NULL) {
#  263|           PORT_Free(baseString);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def804]
nss-3_119_1/nss/lib/util/utilmod.c:263:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fd’
nss-3_119_1/nss/lib/util/utilmod.c:898:1: enter_function: entry to ‘NSSUTIL_DoModuleDBFunction’
nss-3_119_1/nss/lib/util/utilmod.c:910:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/util/utilmod.c:918:5: branch_false: ...to here
nss-3_119_1/nss/lib/util/utilmod.c:920:21: call_function: calling ‘nssutil_ReadSecmodDB’ from ‘NSSUTIL_DoModuleDBFunction’
#  261|       newString = (char *)PORT_Realloc(baseString, len);
#  262|       if (newString == NULL) {
#  263|->         PORT_Free(baseString);
#  264|           return NULL;
#  265|       }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def805]
nss-3_119_1/nss/lib/util/utilmod.c:263:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fd’
nss-3_119_1/nss/lib/util/utilmod.c:898:1: enter_function: entry to ‘NSSUTIL_DoModuleDBFunction’
nss-3_119_1/nss/lib/util/utilmod.c:910:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/util/utilmod.c:918:5: branch_false: ...to here
nss-3_119_1/nss/lib/util/utilmod.c:920:21: call_function: calling ‘nssutil_ReadSecmodDB’ from ‘NSSUTIL_DoModuleDBFunction’
#  261|       newString = (char *)PORT_Realloc(baseString, len);
#  262|       if (newString == NULL) {
#  263|->         PORT_Free(baseString);
#  264|           return NULL;
#  265|       }

Error: GCC_ANALYZER_WARNING (CWE-775): [#def806]
nss-3_119_1/nss/lib/util/utilmod.c:287:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fd’
nss-3_119_1/nss/lib/util/utilmod.c:898:1: enter_function: entry to ‘NSSUTIL_DoModuleDBFunction’
nss-3_119_1/nss/lib/util/utilmod.c:910:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/util/utilmod.c:918:5: branch_false: ...to here
nss-3_119_1/nss/lib/util/utilmod.c:920:21: call_function: calling ‘nssutil_ReadSecmodDB’ from ‘NSSUTIL_DoModuleDBFunction’
#  285|           char **index;
#  286|           for (index = moduleSpecList; *index; index++) {
#  287|->             PORT_Free(*index);
#  288|           }
#  289|           PORT_Free(moduleSpecList);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def807]
nss-3_119_1/nss/lib/util/utilmod.c:287:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fd’
nss-3_119_1/nss/lib/util/utilmod.c:898:1: enter_function: entry to ‘NSSUTIL_DoModuleDBFunction’
nss-3_119_1/nss/lib/util/utilmod.c:910:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/util/utilmod.c:918:5: branch_false: ...to here
nss-3_119_1/nss/lib/util/utilmod.c:920:21: call_function: calling ‘nssutil_ReadSecmodDB’ from ‘NSSUTIL_DoModuleDBFunction’
#  285|           char **index;
#  286|           for (index = moduleSpecList; *index; index++) {
#  287|->             PORT_Free(*index);
#  288|           }
#  289|           PORT_Free(moduleSpecList);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def808]
nss-3_119_1/nss/lib/util/utilmod.c:289:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fd’
nss-3_119_1/nss/lib/util/utilmod.c:898:1: enter_function: entry to ‘NSSUTIL_DoModuleDBFunction’
nss-3_119_1/nss/lib/util/utilmod.c:910:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/util/utilmod.c:918:5: branch_false: ...to here
nss-3_119_1/nss/lib/util/utilmod.c:920:21: call_function: calling ‘nssutil_ReadSecmodDB’ from ‘NSSUTIL_DoModuleDBFunction’
#  287|               PORT_Free(*index);
#  288|           }
#  289|->         PORT_Free(moduleSpecList);
#  290|       }
#  291|       return SECSuccess;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def809]
nss-3_119_1/nss/lib/util/utilmod.c:289:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fd’
nss-3_119_1/nss/lib/util/utilmod.c:898:1: enter_function: entry to ‘NSSUTIL_DoModuleDBFunction’
nss-3_119_1/nss/lib/util/utilmod.c:910:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/util/utilmod.c:918:5: branch_false: ...to here
nss-3_119_1/nss/lib/util/utilmod.c:920:21: call_function: calling ‘nssutil_ReadSecmodDB’ from ‘NSSUTIL_DoModuleDBFunction’
#  287|               PORT_Free(*index);
#  288|           }
#  289|->         PORT_Free(moduleSpecList);
#  290|       }
#  291|       return SECSuccess;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def810]
nss-3_119_1/nss/lib/util/utilmod.c:352:10: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(dbname, "r")’
nss-3_119_1/nss/lib/util/utilmod.c:898:1: enter_function: entry to ‘NSSUTIL_DoModuleDBFunction’
nss-3_119_1/nss/lib/util/utilmod.c:910:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/util/utilmod.c:918:5: branch_false: ...to here
nss-3_119_1/nss/lib/util/utilmod.c:924:22: call_function: calling ‘nssutil_AddSecmodDBEntry’ from ‘NSSUTIL_DoModuleDBFunction’
#  350|       FILE *file;
#  351|   
#  352|->     fd = os_open(name,
#  353|                    (om == lfopen_truncate) ? os_truncate_open_flags : os_append_open_flags,
#  354|                    open_perms);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def811]
nss-3_119_1/nss/lib/util/utilmod.c:352:10: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(dbname, "r")’
nss-3_119_1/nss/lib/util/utilmod.c:898:1: enter_function: entry to ‘NSSUTIL_DoModuleDBFunction’
nss-3_119_1/nss/lib/util/utilmod.c:910:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/util/utilmod.c:918:5: branch_false: ...to here
nss-3_119_1/nss/lib/util/utilmod.c:924:22: call_function: calling ‘nssutil_AddSecmodDBEntry’ from ‘NSSUTIL_DoModuleDBFunction’
#  350|       FILE *file;
#  351|   
#  352|->     fd = os_open(name,
#  353|                    (om == lfopen_truncate) ? os_truncate_open_flags : os_append_open_flags,
#  354|                    open_perms);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def812]
nss-3_119_1/nss/lib/util/utilmod.c:360:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(dbname, "r")’
nss-3_119_1/nss/lib/util/utilmod.c:898:1: enter_function: entry to ‘NSSUTIL_DoModuleDBFunction’
nss-3_119_1/nss/lib/util/utilmod.c:910:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/util/utilmod.c:918:5: branch_false: ...to here
nss-3_119_1/nss/lib/util/utilmod.c:924:22: call_function: calling ‘nssutil_AddSecmodDBEntry’ from ‘NSSUTIL_DoModuleDBFunction’
#  358|       file = os_fdopen(fd, (om == lfopen_truncate) ? "w+" : "a+");
#  359|       if (!file) {
#  360|->         close(fd);
#  361|       }
#  362|       /* file inherits fd */

Error: GCC_ANALYZER_WARNING (CWE-401): [#def813]
nss-3_119_1/nss/lib/util/utilmod.c:360:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(dbname, "r")’
nss-3_119_1/nss/lib/util/utilmod.c:898:1: enter_function: entry to ‘NSSUTIL_DoModuleDBFunction’
nss-3_119_1/nss/lib/util/utilmod.c:910:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/util/utilmod.c:918:5: branch_false: ...to here
nss-3_119_1/nss/lib/util/utilmod.c:924:22: call_function: calling ‘nssutil_AddSecmodDBEntry’ from ‘NSSUTIL_DoModuleDBFunction’
#  358|       file = os_fdopen(fd, (om == lfopen_truncate) ? "w+" : "a+");
#  359|       if (!file) {
#  360|->         close(fd);
#  361|       }
#  362|       /* file inherits fd */

Error: GCC_ANALYZER_WARNING (CWE-775): [#def814]
nss-3_119_1/nss/lib/util/utilmod.c:425:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(dbname, "r")’
nss-3_119_1/nss/lib/util/utilmod.c:898:1: enter_function: entry to ‘NSSUTIL_DoModuleDBFunction’
nss-3_119_1/nss/lib/util/utilmod.c:910:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/util/utilmod.c:918:5: branch_false: ...to here
nss-3_119_1/nss/lib/util/utilmod.c:920:21: call_function: calling ‘nssutil_ReadSecmodDB’ from ‘NSSUTIL_DoModuleDBFunction’
#  423|               line[len] = 0;
#  424|           }
#  425|->         if (*line == '#') {
#  426|               continue;
#  427|           }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def815]
nss-3_119_1/nss/lib/util/utilmod.c:425:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(dbname, "r")’
nss-3_119_1/nss/lib/util/utilmod.c:898:1: enter_function: entry to ‘NSSUTIL_DoModuleDBFunction’
nss-3_119_1/nss/lib/util/utilmod.c:910:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/util/utilmod.c:918:5: branch_false: ...to here
nss-3_119_1/nss/lib/util/utilmod.c:920:21: call_function: calling ‘nssutil_ReadSecmodDB’ from ‘NSSUTIL_DoModuleDBFunction’
#  423|               line[len] = 0;
#  424|           }
#  425|->         if (*line == '#') {
#  426|               continue;
#  427|           }

Error: GCC_ANALYZER_WARNING (CWE-775): [#def816]
nss-3_119_1/nss/lib/util/utilmod.c:548:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(dbname, "r")’
nss-3_119_1/nss/lib/util/utilmod.c:898:1: enter_function: entry to ‘NSSUTIL_DoModuleDBFunction’
nss-3_119_1/nss/lib/util/utilmod.c:910:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/util/utilmod.c:918:5: branch_false: ...to here
nss-3_119_1/nss/lib/util/utilmod.c:920:21: call_function: calling ‘nssutil_ReadSecmodDB’ from ‘NSSUTIL_DoModuleDBFunction’
#  546|           }
#  547|   
#  548|->         if ((moduleCount + 1) >= useCount) {
#  549|               SECStatus rv;
#  550|               rv = nssutil_growList(&moduleList, &useCount, moduleCount + 1);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def817]
nss-3_119_1/nss/lib/util/utilmod.c:548:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(dbname, "r")’
nss-3_119_1/nss/lib/util/utilmod.c:898:1: enter_function: entry to ‘NSSUTIL_DoModuleDBFunction’
nss-3_119_1/nss/lib/util/utilmod.c:910:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/util/utilmod.c:918:5: branch_false: ...to here
nss-3_119_1/nss/lib/util/utilmod.c:920:21: call_function: calling ‘nssutil_ReadSecmodDB’ from ‘NSSUTIL_DoModuleDBFunction’
#  546|           }
#  547|   
#  548|->         if ((moduleCount + 1) >= useCount) {
#  549|               SECStatus rv;
#  550|               rv = nssutil_growList(&moduleList, &useCount, moduleCount + 1);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def818]
nss-3_119_1/nss/lib/util/utilmod.c:603:24: warning[-Wanalyzer-file-leak]: leak of FILE ‘fd’
nss-3_119_1/nss/lib/util/utilmod.c:898:1: enter_function: entry to ‘NSSUTIL_DoModuleDBFunction’
nss-3_119_1/nss/lib/util/utilmod.c:910:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/util/utilmod.c:918:5: branch_false: ...to here
nss-3_119_1/nss/lib/util/utilmod.c:920:21: call_function: calling ‘nssutil_ReadSecmodDB’ from ‘NSSUTIL_DoModuleDBFunction’
#  601|       if (!moduleList[0]) {
#  602|           char *newParams;
#  603|->         moduleString = PORT_Strdup(NSSUTIL_DEFAULT_INTERNAL_INIT1);
#  604|           newParams = NSSUTIL_Quote(params, '"');
#  605|           if (newParams == NULL)

Error: GCC_ANALYZER_WARNING (CWE-401): [#def819]
nss-3_119_1/nss/lib/util/utilmod.c:603:24: warning[-Wanalyzer-malloc-leak]: leak of ‘fd’
nss-3_119_1/nss/lib/util/utilmod.c:898:1: enter_function: entry to ‘NSSUTIL_DoModuleDBFunction’
nss-3_119_1/nss/lib/util/utilmod.c:910:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/util/utilmod.c:918:5: branch_false: ...to here
nss-3_119_1/nss/lib/util/utilmod.c:920:21: call_function: calling ‘nssutil_ReadSecmodDB’ from ‘NSSUTIL_DoModuleDBFunction’
#  601|       if (!moduleList[0]) {
#  602|           char *newParams;
#  603|->         moduleString = PORT_Strdup(NSSUTIL_DEFAULT_INTERNAL_INIT1);
#  604|           newParams = NSSUTIL_Quote(params, '"');
#  605|           if (newParams == NULL)

Error: GCC_ANALYZER_WARNING (CWE-775): [#def820]
nss-3_119_1/nss/lib/util/utilmod.c:604:21: warning[-Wanalyzer-file-leak]: leak of FILE ‘fd’
nss-3_119_1/nss/lib/util/utilmod.c:898:1: enter_function: entry to ‘NSSUTIL_DoModuleDBFunction’
nss-3_119_1/nss/lib/util/utilmod.c:910:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/util/utilmod.c:918:5: branch_false: ...to here
nss-3_119_1/nss/lib/util/utilmod.c:920:21: call_function: calling ‘nssutil_ReadSecmodDB’ from ‘NSSUTIL_DoModuleDBFunction’
#  602|           char *newParams;
#  603|           moduleString = PORT_Strdup(NSSUTIL_DEFAULT_INTERNAL_INIT1);
#  604|->         newParams = NSSUTIL_Quote(params, '"');
#  605|           if (newParams == NULL)
#  606|               goto loser;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def821]
nss-3_119_1/nss/lib/util/utilmod.c:604:21: warning[-Wanalyzer-malloc-leak]: leak of ‘fd’
nss-3_119_1/nss/lib/util/utilmod.c:898:1: enter_function: entry to ‘NSSUTIL_DoModuleDBFunction’
nss-3_119_1/nss/lib/util/utilmod.c:910:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/util/utilmod.c:918:5: branch_false: ...to here
nss-3_119_1/nss/lib/util/utilmod.c:920:21: call_function: calling ‘nssutil_ReadSecmodDB’ from ‘NSSUTIL_DoModuleDBFunction’
#  602|           char *newParams;
#  603|           moduleString = PORT_Strdup(NSSUTIL_DEFAULT_INTERNAL_INIT1);
#  604|->         newParams = NSSUTIL_Quote(params, '"');
#  605|           if (newParams == NULL)
#  606|               goto loser;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def822]
nss-3_119_1/nss/lib/util/utilmod.c:608:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fd’
nss-3_119_1/nss/lib/util/utilmod.c:898:1: enter_function: entry to ‘NSSUTIL_DoModuleDBFunction’
nss-3_119_1/nss/lib/util/utilmod.c:910:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/util/utilmod.c:918:5: branch_false: ...to here
nss-3_119_1/nss/lib/util/utilmod.c:920:21: call_function: calling ‘nssutil_ReadSecmodDB’ from ‘NSSUTIL_DoModuleDBFunction’
#  606|               goto loser;
#  607|           moduleString = nssutil_DupCat(moduleString, newParams);
#  608|->         PORT_Free(newParams);
#  609|           if (moduleString == NULL)
#  610|               goto loser;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def823]
nss-3_119_1/nss/lib/util/utilmod.c:608:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fd’
nss-3_119_1/nss/lib/util/utilmod.c:898:1: enter_function: entry to ‘NSSUTIL_DoModuleDBFunction’
nss-3_119_1/nss/lib/util/utilmod.c:910:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/util/utilmod.c:918:5: branch_false: ...to here
nss-3_119_1/nss/lib/util/utilmod.c:920:21: call_function: calling ‘nssutil_ReadSecmodDB’ from ‘NSSUTIL_DoModuleDBFunction’
#  606|               goto loser;
#  607|           moduleString = nssutil_DupCat(moduleString, newParams);
#  608|->         PORT_Free(newParams);
#  609|           if (moduleString == NULL)
#  610|               goto loser;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def824]
nss-3_119_1/nss/lib/util/utilmod.c:634:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fd’
nss-3_119_1/nss/lib/util/utilmod.c:898:1: enter_function: entry to ‘NSSUTIL_DoModuleDBFunction’
nss-3_119_1/nss/lib/util/utilmod.c:910:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/util/utilmod.c:918:5: branch_false: ...to here
nss-3_119_1/nss/lib/util/utilmod.c:920:21: call_function: calling ‘nssutil_ReadSecmodDB’ from ‘NSSUTIL_DoModuleDBFunction’
#  632|       /* deal with trust cert db here */
#  633|       if (moduleString) {
#  634|->         PORT_Free(moduleString);
#  635|           moduleString = NULL;
#  636|       }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def825]
nss-3_119_1/nss/lib/util/utilmod.c:634:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fd’
nss-3_119_1/nss/lib/util/utilmod.c:898:1: enter_function: entry to ‘NSSUTIL_DoModuleDBFunction’
nss-3_119_1/nss/lib/util/utilmod.c:910:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/util/utilmod.c:918:5: branch_false: ...to here
nss-3_119_1/nss/lib/util/utilmod.c:920:21: call_function: calling ‘nssutil_ReadSecmodDB’ from ‘NSSUTIL_DoModuleDBFunction’
#  632|       /* deal with trust cert db here */
#  633|       if (moduleString) {
#  634|->         PORT_Free(moduleString);
#  635|           moduleString = NULL;
#  636|       }

Error: GCC_ANALYZER_WARNING (CWE-775): [#def826]
nss-3_119_1/nss/lib/util/utilmod.c:638:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fd’
nss-3_119_1/nss/lib/util/utilmod.c:898:1: enter_function: entry to ‘NSSUTIL_DoModuleDBFunction’
nss-3_119_1/nss/lib/util/utilmod.c:910:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/util/utilmod.c:918:5: branch_false: ...to here
nss-3_119_1/nss/lib/util/utilmod.c:920:21: call_function: calling ‘nssutil_ReadSecmodDB’ from ‘NSSUTIL_DoModuleDBFunction’
#  636|       }
#  637|       if (paramsValue) {
#  638|->         PORT_Free(paramsValue);
#  639|           paramsValue = NULL;
#  640|       }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def827]
nss-3_119_1/nss/lib/util/utilmod.c:638:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fd’
nss-3_119_1/nss/lib/util/utilmod.c:898:1: enter_function: entry to ‘NSSUTIL_DoModuleDBFunction’
nss-3_119_1/nss/lib/util/utilmod.c:910:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/util/utilmod.c:918:5: branch_false: ...to here
nss-3_119_1/nss/lib/util/utilmod.c:920:21: call_function: calling ‘nssutil_ReadSecmodDB’ from ‘NSSUTIL_DoModuleDBFunction’
#  636|       }
#  637|       if (paramsValue) {
#  638|->         PORT_Free(paramsValue);
#  639|           paramsValue = NULL;
#  640|       }

Error: GCC_ANALYZER_WARNING (CWE-775): [#def828]
nss-3_119_1/nss/lib/util/utilmod.c:723:12: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(dbname, "r")’
nss-3_119_1/nss/lib/util/utilmod.c:898:1: enter_function: entry to ‘NSSUTIL_DoModuleDBFunction’
nss-3_119_1/nss/lib/util/utilmod.c:910:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/util/utilmod.c:918:5: branch_false: ...to here
nss-3_119_1/nss/lib/util/utilmod.c:924:22: call_function: calling ‘nssutil_AddSecmodDBEntry’ from ‘NSSUTIL_DoModuleDBFunction’
#  721|           goto loser;
#  722|   
#  723|->     name = NSSUTIL_ArgGetParamValue("name", args);
#  724|       if (name) {
#  725|           name_len = PORT_Strlen(name);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def829]
nss-3_119_1/nss/lib/util/utilmod.c:723:12: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(dbname, "r")’
nss-3_119_1/nss/lib/util/utilmod.c:898:1: enter_function: entry to ‘NSSUTIL_DoModuleDBFunction’
nss-3_119_1/nss/lib/util/utilmod.c:910:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/util/utilmod.c:918:5: branch_false: ...to here
nss-3_119_1/nss/lib/util/utilmod.c:924:22: call_function: calling ‘nssutil_AddSecmodDBEntry’ from ‘NSSUTIL_DoModuleDBFunction’
#  721|           goto loser;
#  722|   
#  723|->     name = NSSUTIL_ArgGetParamValue("name", args);
#  724|       if (name) {
#  725|           name_len = PORT_Strlen(name);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def830]
nss-3_119_1/nss/lib/util/utilmod.c:723:12: warning[-Wanalyzer-malloc-leak]: leak of ‘lfopen(PORT_Strdup_Util(dbname), 0, file_mode)’
nss-3_119_1/nss/lib/util/utilmod.c:898:1: enter_function: entry to ‘NSSUTIL_DoModuleDBFunction’
nss-3_119_1/nss/lib/util/utilmod.c:910:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/util/utilmod.c:918:5: branch_false: ...to here
nss-3_119_1/nss/lib/util/utilmod.c:924:22: call_function: calling ‘nssutil_AddSecmodDBEntry’ from ‘NSSUTIL_DoModuleDBFunction’
#  721|           goto loser;
#  722|   
#  723|->     name = NSSUTIL_ArgGetParamValue("name", args);
#  724|       if (name) {
#  725|           name_len = PORT_Strlen(name);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def831]
nss-3_119_1/nss/lib/util/utilmod.c:727:11: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(dbname, "r")’
nss-3_119_1/nss/lib/util/utilmod.c:898:1: enter_function: entry to ‘NSSUTIL_DoModuleDBFunction’
nss-3_119_1/nss/lib/util/utilmod.c:910:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/util/utilmod.c:918:5: branch_false: ...to here
nss-3_119_1/nss/lib/util/utilmod.c:924:22: call_function: calling ‘nssutil_AddSecmodDBEntry’ from ‘NSSUTIL_DoModuleDBFunction’
#  725|           name_len = PORT_Strlen(name);
#  726|       }
#  727|->     lib = NSSUTIL_ArgGetParamValue("library", args);
#  728|       if (lib) {
#  729|           lib_len = PORT_Strlen(lib);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def832]
nss-3_119_1/nss/lib/util/utilmod.c:727:11: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(dbname, "r")’
nss-3_119_1/nss/lib/util/utilmod.c:898:1: enter_function: entry to ‘NSSUTIL_DoModuleDBFunction’
nss-3_119_1/nss/lib/util/utilmod.c:910:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/util/utilmod.c:918:5: branch_false: ...to here
nss-3_119_1/nss/lib/util/utilmod.c:924:22: call_function: calling ‘nssutil_AddSecmodDBEntry’ from ‘NSSUTIL_DoModuleDBFunction’
#  725|           name_len = PORT_Strlen(name);
#  726|       }
#  727|->     lib = NSSUTIL_ArgGetParamValue("library", args);
#  728|       if (lib) {
#  729|           lib_len = PORT_Strlen(lib);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def833]
nss-3_119_1/nss/lib/util/utilmod.c:727:11: warning[-Wanalyzer-malloc-leak]: leak of ‘lfopen(PORT_Strdup_Util(dbname), 0, file_mode)’
nss-3_119_1/nss/lib/util/utilmod.c:898:1: enter_function: entry to ‘NSSUTIL_DoModuleDBFunction’
nss-3_119_1/nss/lib/util/utilmod.c:910:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/util/utilmod.c:918:5: branch_false: ...to here
nss-3_119_1/nss/lib/util/utilmod.c:924:22: call_function: calling ‘nssutil_AddSecmodDBEntry’ from ‘NSSUTIL_DoModuleDBFunction’
#  725|           name_len = PORT_Strlen(name);
#  726|       }
#  727|->     lib = NSSUTIL_ArgGetParamValue("library", args);
#  728|       if (lib) {
#  729|           lib_len = PORT_Strlen(lib);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def834]
nss-3_119_1/nss/lib/util/utilmod.c:741:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(dbname, "r")’
nss-3_119_1/nss/lib/util/utilmod.c:898:1: enter_function: entry to ‘NSSUTIL_DoModuleDBFunction’
nss-3_119_1/nss/lib/util/utilmod.c:910:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/util/utilmod.c:918:5: branch_false: ...to here
nss-3_119_1/nss/lib/util/utilmod.c:924:22: call_function: calling ‘nssutil_AddSecmodDBEntry’ from ‘NSSUTIL_DoModuleDBFunction’
#  739|       while (fgets(line, sizeof(line), fd) != NULL) {
#  740|           /* If we are processing a block (we haven't hit a blank line yet */
#  741|->         if (*line != '\n') {
#  742|               /* skip means we are in the middle of a block we are deleting */
#  743|               if (skip) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def835]
nss-3_119_1/nss/lib/util/utilmod.c:741:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(dbname, "r")’
nss-3_119_1/nss/lib/util/utilmod.c:898:1: enter_function: entry to ‘NSSUTIL_DoModuleDBFunction’
nss-3_119_1/nss/lib/util/utilmod.c:910:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/util/utilmod.c:918:5: branch_false: ...to here
nss-3_119_1/nss/lib/util/utilmod.c:924:22: call_function: calling ‘nssutil_AddSecmodDBEntry’ from ‘NSSUTIL_DoModuleDBFunction’
#  739|       while (fgets(line, sizeof(line), fd) != NULL) {
#  740|           /* If we are processing a block (we haven't hit a blank line yet */
#  741|->         if (*line != '\n') {
#  742|               /* skip means we are in the middle of a block we are deleting */
#  743|               if (skip) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def836]
nss-3_119_1/nss/lib/util/utilmod.c:741:13: warning[-Wanalyzer-malloc-leak]: leak of ‘lfopen(PORT_Strdup_Util(dbname), 0, file_mode)’
nss-3_119_1/nss/lib/util/utilmod.c:898:1: enter_function: entry to ‘NSSUTIL_DoModuleDBFunction’
nss-3_119_1/nss/lib/util/utilmod.c:910:8: branch_false: following ‘false’ branch...
nss-3_119_1/nss/lib/util/utilmod.c:918:5: branch_false: ...to here
nss-3_119_1/nss/lib/util/utilmod.c:924:22: call_function: calling ‘nssutil_AddSecmodDBEntry’ from ‘NSSUTIL_DoModuleDBFunction’
#  739|       while (fgets(line, sizeof(line), fd) != NULL) {
#  740|           /* If we are processing a block (we haven't hit a blank line yet */
#  741|->         if (*line != '\n') {
#  742|               /* skip means we are in the middle of a block we are deleting */
#  743|               if (skip) {

Error: GCC_ANALYZER_WARNING (CWE-688): [#def837]
nss-3_119_1/nss/lib/util/utilpars.c:1141:9: warning[-Wanalyzer-null-argument]: use of NULL ‘*slotStrings’ where non-null expected
nss-3_119_1/nss/lib/util/utilpars.c:1140:17: branch_true: following ‘true’ branch (when ‘i < slotCount’)...
nss-3_119_1/nss/lib/util/utilpars.c:1141:44: branch_true: ...to here
nss-3_119_1/nss/lib/util/utilpars.c:1140:17: branch_true: following ‘true’ branch (when ‘i < slotCount’)...
nss-3_119_1/nss/lib/util/utilpars.c:1141:44: branch_true: ...to here
nss-3_119_1/nss/lib/util/utilpars.c:1141:9: release_memory: ‘*slotStrings’ is NULL
nss-3_119_1/nss/lib/util/utilpars.c:1141:9: danger: argument 2 (‘*<unknown>’) NULL where non-null expected
# 1139|       PORT_Memset(slotParams, 0, slotLen);
# 1140|       for (i = 0; i < (int)slotCount; i++) {
# 1141|->         PORT_Strcat(slotParams, slotStrings[i]);
# 1142|           PORT_Strcat(slotParams, " ");
# 1143|           PR_smprintf_free(slotStrings[i]);

Scan Properties

analyzer-version-clippy1.92.0
analyzer-version-cppcheck2.19.1
analyzer-version-gcc16.0.0
analyzer-version-gcc-analyzer16.0.0
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-201.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namenss-3.119.1-1.fc44
store-results-to/tmp/tmp8dsx8yjj/nss-3.119.1-1.fc44.tar.xz
time-created2026-01-08 19:43:29
time-finished2026-01-08 19:51:27
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmp8dsx8yjj/nss-3.119.1-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp8dsx8yjj/nss-3.119.1-1.fc44.src.rpm'
tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9