Flawfinder version 2.0.10, (C) 2001-2019 David A. Wheeler.
Number of rules (primarily dangerous function names) in C/C++ ruleset: 223
Examining data/nss-pem-1.0.6/nss/nss/cpputil/scoped_ptrs_util.h
Examining data/nss-pem-1.0.6/nss/nss/cpputil/scoped_ptrs_ssl.h
Examining data/nss-pem-1.0.6/nss/nss/cpputil/databuffer.h
Examining data/nss-pem-1.0.6/nss/nss/cpputil/tls_parser.h
Examining data/nss-pem-1.0.6/nss/nss/cpputil/dummy_io_fwd.cc
Examining data/nss-pem-1.0.6/nss/nss/cpputil/dummy_io.cc
Examining data/nss-pem-1.0.6/nss/nss/cpputil/dummy_io.h
Examining data/nss-pem-1.0.6/nss/nss/cpputil/cpputil.h
Examining data/nss-pem-1.0.6/nss/nss/cpputil/nss_scoped_ptrs.h
Examining data/nss-pem-1.0.6/nss/nss/cpputil/tls_parser.cc
Examining data/nss-pem-1.0.6/nss/nss/cpputil/databuffer.cc
Examining data/nss-pem-1.0.6/nss/nss/cpputil/freebl_scoped_ptrs.h
Examining data/nss-pem-1.0.6/nss/nss/cpputil/scoped_ptrs_smime.h
Examining data/nss-pem-1.0.6/nss/nss/cmd/pwdecrypt/pwdecrypt.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/pk11util/pk11util.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/sdrtest/sdrtest.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/p7sign/p7sign.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/pk11gcmtest/pk11gcmtest.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/atob/atob.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/chktest/chktest.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/lowhashtest/lowhashtest.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/listsuites/listsuites.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/ocspresp/ocspresp.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/pk11importtest/pk11importtest.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/crlutil/crlutil.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/crlutil/crlgen.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/crlutil/crlgen_lex.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/crlutil/crlgen.h
Examining data/nss-pem-1.0.6/nss/nss/cmd/signtool/certgen.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/signtool/verify.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/signtool/signtool.h
Examining data/nss-pem-1.0.6/nss/nss/cmd/signtool/signtool.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/signtool/sign.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/signtool/javascript.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/signtool/zip.h
Examining data/nss-pem-1.0.6/nss/nss/cmd/signtool/zip.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/signtool/list.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/signtool/util.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/modutil/lex.Pk11Install_yy.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/modutil/modutil.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/modutil/instsec.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/modutil/pk11.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/modutil/installparse.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/modutil/install-ds.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/modutil/installparse.h
Examining data/nss-pem-1.0.6/nss/nss/cmd/modutil/install-ds.h
Examining data/nss-pem-1.0.6/nss/nss/cmd/modutil/error.h
Examining data/nss-pem-1.0.6/nss/nss/cmd/modutil/modutil.h
Examining data/nss-pem-1.0.6/nss/nss/cmd/modutil/install.h
Examining data/nss-pem-1.0.6/nss/nss/cmd/modutil/install.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/p7env/p7env.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/pk11ectest/pk11ectest.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/crmf-cgi/crmfcgi.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/p7content/p7content.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/nss-policy-check/nss-policy-check.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/smimetools/cmsutil.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/symkeyutil/symkeyutil.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/bltest/pkcs1_vectors.h
Examining data/nss-pem-1.0.6/nss/nss/cmd/bltest/blapitest.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/bltest/tests/aes_gcm/hex.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/pk1sign/pk1sign.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/tests/secmodtest.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/tests/remtest.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/tests/baddbdir.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/tests/dertimetest.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/tests/conflict.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/tests/nonspr10.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/tests/encodeinttest.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/lib/ffs.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/lib/secpwd.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.h
Examining data/nss-pem-1.0.6/nss/nss/cmd/lib/basicutil.h
Examining data/nss-pem-1.0.6/nss/nss/cmd/lib/moreoids.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/lib/pk11table.h
Examining data/nss-pem-1.0.6/nss/nss/cmd/lib/pk11table.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/lib/pppolicy.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/lib/berparse.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/lib/basicutil.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/lib/derprint.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/ppcertdata/ppcertdata.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/vfychain/vfychain.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/rsaperf/rsaperf.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/rsaperf/defkey.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/ecperf/ecperf.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/ssltap/ssltap.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/shlibsign/shlibsign.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/shlibsign/mangle/mangle.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/httpserv/httpserv.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/pkix-errcodes/pkix-errcodes.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/makepqg/makepqg.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/vfyserv/vfyutil.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/vfyserv/vfyserv.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/vfyserv/vfyserv.h
Examining data/nss-pem-1.0.6/nss/nss/cmd/dbtest/dbtest.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/rsapoptst/rsapoptst.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/signver/signver.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/signver/pk7print.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/ocspclnt/ocspclnt.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/tstclnt/tstclnt.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/addbuiltin/addbuiltin.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/sample_apps/dumpcert.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/sample_apps/build_chain.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/sample_apps/dumpcrl.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/sample_apps/validate_chain.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/pki/test_subjectinfoaccess.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/pki/test_x500name.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/pki/test_crlentry.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/pki/test_cert.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/pki/test_nameconstraints.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/pki/test_crl.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/pki/test_generalname.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/pki/test_date.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/pki/test_authorityinfoaccess.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/module/test_httpcertstore.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/module/test_socket.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/module/test_pk11certstore.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/module/test_ekuchecker.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/module/test_colcertstore.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/system/test_bytearray.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/system/test_mutex3.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/system/test_string.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/system/test_hashtable.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/system/test_bigint.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/system/test_rwlock.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/system/test_object.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/system/test_mutex.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/system/test_string2.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/system/test_monitorlock.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/system/test_mem.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/system/test_mutex2.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/system/stress_test.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/system/test_oid.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkixutil/pkixutil.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/testutil/testutil_nss.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/testutil/testutil.h
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/testutil/testutil_nss.h
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/testutil/testutil.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/perf/libpkix_buildthreads.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/perf/nss_threads.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix/store/test_store.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix/params/test_valparams.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix/params/test_procparams.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix/params/test_trustanchor.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix/params/test_resourcelimits.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix/checker/test_certchainchecker.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix/top/test_buildchain_resourcelimits.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix/top/test_policychecker.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix/top/test_customcrlchecker.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix/top/test_subjaltnamechecker.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix/top/test_buildchain_partialchain.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix/top/test_basicchecker.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix/top/test_defaultcrlchecker2stores.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix/top/test_validatechain.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix/top/test_validatechain_bc.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix/top/test_validatechain_NB.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix/top/test_buildchain.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix/top/test_basicconstraintschecker.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix/top/test_buildchain_uchecker.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix/top/test_ocsp.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix/crlsel/test_crlselector.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix/crlsel/test_comcrlselparams.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix/certsel/test_certselector.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix/certsel/test_comcertselparams.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix/util/test_logger.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix/util/test_error.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix/util/test_list.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix/util/test_list2.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix/results/test_buildresult.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix/results/test_valresult.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix/results/test_policynode.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix/results/test_verifynode.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/dbck/dbck.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/dbck/dbrecover.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/pk12util/pk12util.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/pk12util/pk12util.h
Examining data/nss-pem-1.0.6/nss/nss/cmd/derdump/derdump.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/fbectest/testvecs.h
Examining data/nss-pem-1.0.6/nss/nss/cmd/fbectest/fbectest.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/certutil/certutil.h
Examining data/nss-pem-1.0.6/nss/nss/cmd/certutil/keystuff.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/certutil/certutil.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/certutil/certext.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/pk11mode/pk11mode.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/mpitests/test-info.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/mpitests/mpi-test.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/strsclnt/strsclnt.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/selfserv/selfserv.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/btoa/btoa.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/digest/digest.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/oidcalc/oidcalc.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/p7verify/p7verify.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/pp/pp.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/multinit/multinit.c
Examining data/nss-pem-1.0.6/nss/nss/cmd/crmftest/testcrmf.c
Examining data/nss-pem-1.0.6/nss/nss/lib/smime/cmsdecode.c
Examining data/nss-pem-1.0.6/nss/nss/lib/smime/smimemessage.c
Examining data/nss-pem-1.0.6/nss/nss/lib/smime/cmsudf.c
Examining data/nss-pem-1.0.6/nss/nss/lib/smime/cmssigdata.c
Examining data/nss-pem-1.0.6/nss/nss/lib/smime/cmsutil.c
Examining data/nss-pem-1.0.6/nss/nss/lib/smime/cmsarray.c
Examining data/nss-pem-1.0.6/nss/nss/lib/smime/cmsencode.c
Examining data/nss-pem-1.0.6/nss/nss/lib/smime/cmsasn1.c
Examining data/nss-pem-1.0.6/nss/nss/lib/smime/cmsattr.c
Examining data/nss-pem-1.0.6/nss/nss/lib/smime/smimeutil.c
Examining data/nss-pem-1.0.6/nss/nss/lib/smime/cmsreclist.h
Examining data/nss-pem-1.0.6/nss/nss/lib/smime/cmsenvdata.c
Examining data/nss-pem-1.0.6/nss/nss/lib/smime/cmscinfo.c
Examining data/nss-pem-1.0.6/nss/nss/lib/smime/cmscipher.c
Examining data/nss-pem-1.0.6/nss/nss/lib/smime/cms.h
Examining data/nss-pem-1.0.6/nss/nss/lib/smime/cmspubkey.c
Examining data/nss-pem-1.0.6/nss/nss/lib/smime/cmsencdata.c
Examining data/nss-pem-1.0.6/nss/nss/lib/smime/cmsdigest.c
Examining data/nss-pem-1.0.6/nss/nss/lib/smime/smimesym.c
Examining data/nss-pem-1.0.6/nss/nss/lib/smime/cmsrecinfo.c
Examining data/nss-pem-1.0.6/nss/nss/lib/smime/cmst.h
Examining data/nss-pem-1.0.6/nss/nss/lib/smime/cmssiginfo.c
Examining data/nss-pem-1.0.6/nss/nss/lib/smime/smimever.c
Examining data/nss-pem-1.0.6/nss/nss/lib/smime/smime.h
Examining data/nss-pem-1.0.6/nss/nss/lib/smime/cmslocal.h
Examining data/nss-pem-1.0.6/nss/nss/lib/smime/cmsreclist.c
Examining data/nss-pem-1.0.6/nss/nss/lib/smime/cmsmessage.c
Examining data/nss-pem-1.0.6/nss/nss/lib/smime/cmsdigdata.c
Examining data/nss-pem-1.0.6/nss/nss/lib/zlib/inffast.h
Examining data/nss-pem-1.0.6/nss/nss/lib/zlib/infback.c
Examining data/nss-pem-1.0.6/nss/nss/lib/zlib/inffast.c
Examining data/nss-pem-1.0.6/nss/nss/lib/zlib/deflate.h
Examining data/nss-pem-1.0.6/nss/nss/lib/zlib/inflate.c
Examining data/nss-pem-1.0.6/nss/nss/lib/zlib/adler32.c
Examining data/nss-pem-1.0.6/nss/nss/lib/zlib/uncompr.c
Examining data/nss-pem-1.0.6/nss/nss/lib/zlib/crc32.h
Examining data/nss-pem-1.0.6/nss/nss/lib/zlib/trees.c
Examining data/nss-pem-1.0.6/nss/nss/lib/zlib/compress.c
Examining data/nss-pem-1.0.6/nss/nss/lib/zlib/trees.h
Examining data/nss-pem-1.0.6/nss/nss/lib/zlib/zutil.c
Examining data/nss-pem-1.0.6/nss/nss/lib/zlib/gzlib.c
Examining data/nss-pem-1.0.6/nss/nss/lib/zlib/zlib.h
Examining data/nss-pem-1.0.6/nss/nss/lib/zlib/gzclose.c
Examining data/nss-pem-1.0.6/nss/nss/lib/zlib/gzread.c
Examining data/nss-pem-1.0.6/nss/nss/lib/zlib/crc32.c
Examining data/nss-pem-1.0.6/nss/nss/lib/zlib/inftrees.c
Examining data/nss-pem-1.0.6/nss/nss/lib/zlib/zconf.h
Examining data/nss-pem-1.0.6/nss/nss/lib/zlib/inftrees.h
Examining data/nss-pem-1.0.6/nss/nss/lib/zlib/inflate.h
Examining data/nss-pem-1.0.6/nss/nss/lib/zlib/deflate.c
Examining data/nss-pem-1.0.6/nss/nss/lib/zlib/gzguts.h
Examining data/nss-pem-1.0.6/nss/nss/lib/zlib/inffixed.h
Examining data/nss-pem-1.0.6/nss/nss/lib/zlib/zutil.h
Examining data/nss-pem-1.0.6/nss/nss/lib/zlib/gzwrite.c
Examining data/nss-pem-1.0.6/nss/nss/lib/pki/pki3hack.c
Examining data/nss-pem-1.0.6/nss/nss/lib/pki/pkistore.h
Examining data/nss-pem-1.0.6/nss/nss/lib/pki/pkit.h
Examining data/nss-pem-1.0.6/nss/nss/lib/pki/pki.h
Examining data/nss-pem-1.0.6/nss/nss/lib/pki/pkistore.c
Examining data/nss-pem-1.0.6/nss/nss/lib/pki/tdcache.c
Examining data/nss-pem-1.0.6/nss/nss/lib/pki/certdecode.c
Examining data/nss-pem-1.0.6/nss/nss/lib/pki/pkim.h
Examining data/nss-pem-1.0.6/nss/nss/lib/pki/pkitm.h
Examining data/nss-pem-1.0.6/nss/nss/lib/pki/trustdomain.c
Examining data/nss-pem-1.0.6/nss/nss/lib/pki/nsspkit.h
Examining data/nss-pem-1.0.6/nss/nss/lib/pki/certificate.c
Examining data/nss-pem-1.0.6/nss/nss/lib/pki/nsspki.h
Examining data/nss-pem-1.0.6/nss/nss/lib/pki/symmkey.c
Examining data/nss-pem-1.0.6/nss/nss/lib/pki/asymmkey.c
Examining data/nss-pem-1.0.6/nss/nss/lib/pki/pki3hack.h
Examining data/nss-pem-1.0.6/nss/nss/lib/pki/pkibase.c
Examining data/nss-pem-1.0.6/nss/nss/lib/pki/cryptocontext.c
Examining data/nss-pem-1.0.6/nss/nss/lib/nss/nssrenam.h
Examining data/nss-pem-1.0.6/nss/nss/lib/nss/nssoptions.c
Examining data/nss-pem-1.0.6/nss/nss/lib/nss/nss.h
Examining data/nss-pem-1.0.6/nss/nss/lib/nss/utilwrap.c
Examining data/nss-pem-1.0.6/nss/nss/lib/nss/nssver.c
Examining data/nss-pem-1.0.6/nss/nss/lib/nss/nssinit.c
Examining data/nss-pem-1.0.6/nss/nss/lib/nss/nssoptions.h
Examining data/nss-pem-1.0.6/nss/nss/lib/cryptohi/sechash.h
Examining data/nss-pem-1.0.6/nss/nss/lib/cryptohi/secvfy.c
Examining data/nss-pem-1.0.6/nss/nss/lib/cryptohi/dsautil.c
Examining data/nss-pem-1.0.6/nss/nss/lib/cryptohi/keyi.h
Examining data/nss-pem-1.0.6/nss/nss/lib/cryptohi/seckey.c
Examining data/nss-pem-1.0.6/nss/nss/lib/cryptohi/cryptohi.h
Examining data/nss-pem-1.0.6/nss/nss/lib/cryptohi/secsign.c
Examining data/nss-pem-1.0.6/nss/nss/lib/cryptohi/cryptoht.h
Examining data/nss-pem-1.0.6/nss/nss/lib/cryptohi/keythi.h
Examining data/nss-pem-1.0.6/nss/nss/lib/cryptohi/sechash.c
Examining data/nss-pem-1.0.6/nss/nss/lib/cryptohi/keyt.h
Examining data/nss-pem-1.0.6/nss/nss/lib/cryptohi/key.h
Examining data/nss-pem-1.0.6/nss/nss/lib/cryptohi/keyhi.h
Examining data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.h
Examining data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/nssckg.h
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/nssckfw.h
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/slot.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/builtins/constants.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/builtins/btoken.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/builtins/bslot.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/builtins/ckbiver.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/builtins/bsession.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/builtins/builtins.h
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/builtins/bobject.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/builtins/nssckbi.h
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/builtins/anchor.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/builtins/binst.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/builtins/bfind.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/wrap.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/ckfwtm.h
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/capi/constants.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/capi/cfind.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/capi/csession.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/capi/cinst.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/capi/crsa.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/capi/nsscapi.h
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/capi/ckcapiver.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/capi/ctoken.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/capi/ckcapi.h
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/capi/cobject.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/capi/staticobj.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/capi/cslot.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/capi/anchor.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/ckmd.h
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/sessobj.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/nssckfwt.h
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/ckt.h
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/object.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/nssckepv.h
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/ckfwm.h
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/token.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/nssckfwc.h
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/ck.h
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/dbm/slot.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/dbm/object.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/dbm/token.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/dbm/session.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/dbm/instance.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/dbm/db.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/dbm/find.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/dbm/anchor.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/dbm/ckdbm.h
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/mutex.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/crypto.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/hash.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/nssckmdt.h
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/mechanism.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/session.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/instance.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/ckfw.h
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/find.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/nssckt.h
Examining data/nss-pem-1.0.6/nss/nss/lib/ckfw/nssckft.h
Examining data/nss-pem-1.0.6/nss/nss/lib/mozpkix/include/pkix-test/pkixtestutil.h
Examining data/nss-pem-1.0.6/nss/nss/lib/mozpkix/include/pkix-test/pkixtestnss.h
Examining data/nss-pem-1.0.6/nss/nss/lib/mozpkix/include/pkix/pkix.h
Examining data/nss-pem-1.0.6/nss/nss/lib/mozpkix/include/pkix/pkixutil.h
Examining data/nss-pem-1.0.6/nss/nss/lib/mozpkix/include/pkix/Input.h
Examining data/nss-pem-1.0.6/nss/nss/lib/mozpkix/include/pkix/pkixder.h
Examining data/nss-pem-1.0.6/nss/nss/lib/mozpkix/include/pkix/pkixnss.h
Examining data/nss-pem-1.0.6/nss/nss/lib/mozpkix/include/pkix/Result.h
Examining data/nss-pem-1.0.6/nss/nss/lib/mozpkix/include/pkix/Time.h
Examining data/nss-pem-1.0.6/nss/nss/lib/mozpkix/include/pkix/pkixtypes.h
Examining data/nss-pem-1.0.6/nss/nss/lib/mozpkix/include/pkix/pkixcheck.h
Examining data/nss-pem-1.0.6/nss/nss/lib/mozpkix/lib/pkixresult.cpp
Examining data/nss-pem-1.0.6/nss/nss/lib/mozpkix/lib/pkixocsp.cpp
Examining data/nss-pem-1.0.6/nss/nss/lib/mozpkix/lib/pkixtime.cpp
Examining data/nss-pem-1.0.6/nss/nss/lib/mozpkix/lib/pkixbuild.cpp
Examining data/nss-pem-1.0.6/nss/nss/lib/mozpkix/lib/pkixder.cpp
Examining data/nss-pem-1.0.6/nss/nss/lib/mozpkix/lib/pkixcert.cpp
Examining data/nss-pem-1.0.6/nss/nss/lib/mozpkix/lib/pkixnss.cpp
Examining data/nss-pem-1.0.6/nss/nss/lib/mozpkix/lib/pkixcheck.cpp
Examining data/nss-pem-1.0.6/nss/nss/lib/mozpkix/lib/pkixnames.cpp
Examining data/nss-pem-1.0.6/nss/nss/lib/mozpkix/lib/pkixverify.cpp
Examining data/nss-pem-1.0.6/nss/nss/lib/mozpkix/test-lib/pkixtestalg.cpp
Examining data/nss-pem-1.0.6/nss/nss/lib/mozpkix/test-lib/pkixtestnss.cpp
Examining data/nss-pem-1.0.6/nss/nss/lib/mozpkix/test-lib/pkixtestutil.cpp
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/sslver.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/sslenum.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/dtls13con.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/selfencrypt.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/sslinit.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/tls13con.h
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/sslreveal.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/authcert.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/tls13hashstate.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/dhe-param.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/ssl3con.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/sslmutex.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/prelib.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/ssl3exthandle.h
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/sslsock.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/SSLerrs.h
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/ssl3exthandle.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/sslnonce.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/sslcert.h
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/sslinfo.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/sslerrstrs.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/ssl3ext.h
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/tls13err.h
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/dtls13con.h
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/sslerr.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/tls13subcerts.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/sslexp.h
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/ssltrace.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/tls13esni.h
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/os2_err.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/os2_err.h
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/sslgrp.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/dtlscon.h
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/cmpcert.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/win32err.h
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/sslimpl.h
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/ssl3ecc.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/sslcert.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/unix_err.h
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/win32err.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/sslerr.h
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/tls13subcerts.h
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/sslbloom.h
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/dtlscon.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/sslproto.h
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/sslsecur.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/sslcon.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/sslt.h
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/tls13con.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/sslmutex.h
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/ssl3prot.h
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/tls13exthandle.h
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/tls13psk.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/tls13esni.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/ssl3gthr.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/tls13hkdf.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/ssl3ext.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/sslspec.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/sslspec.h
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/tls13replay.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/selfencrypt.h
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/unix_err.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/tls13exthandle.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/sslencode.h
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/sslencode.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/tls13hkdf.h
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/tls13hashstate.h
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/sslbloom.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/ssldef.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/sslauth.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/preenc.h
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/sslprimitive.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/sslsnce.c
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/ssl.h
Examining data/nss-pem-1.0.6/nss/nss/lib/ssl/tls13psk.h
Examining data/nss-pem-1.0.6/nss/nss/lib/pkcs12/p12.h
Examining data/nss-pem-1.0.6/nss/nss/lib/pkcs12/p12exp.c
Examining data/nss-pem-1.0.6/nss/nss/lib/pkcs12/p12t.h
Examining data/nss-pem-1.0.6/nss/nss/lib/pkcs12/p12plcy.h
Examining data/nss-pem-1.0.6/nss/nss/lib/pkcs12/pkcs12.h
Examining data/nss-pem-1.0.6/nss/nss/lib/pkcs12/p12d.c
Examining data/nss-pem-1.0.6/nss/nss/lib/pkcs12/p12e.c
Examining data/nss-pem-1.0.6/nss/nss/lib/pkcs12/p12dec.c
Examining data/nss-pem-1.0.6/nss/nss/lib/pkcs12/p12local.c
Examining data/nss-pem-1.0.6/nss/nss/lib/pkcs12/p12tmpl.c
Examining data/nss-pem-1.0.6/nss/nss/lib/pkcs12/p12plcy.c
Examining data/nss-pem-1.0.6/nss/nss/lib/pkcs12/p12creat.c
Examining data/nss-pem-1.0.6/nss/nss/lib/pkcs12/p12local.h
Examining data/nss-pem-1.0.6/nss/nss/lib/pkcs12/pkcs12t.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/des.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/aes-x86.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_256_32.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecl-curve.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_25519.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_jm.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecl_gf.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecl.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/curve25519_32.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecl-exp.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_aff.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecl_mult.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_jac.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecl-priv.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ec_naf.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_521.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_256.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/curve25519_64.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_384.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/eclt.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecl.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_mont.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/deprecated/seed.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/deprecated/seed.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/stubs.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/loader.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/sha256-armv8.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/intel-aes.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/ecdecode.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/mksp.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/intel-gcm.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/win_rand.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/rsapkcs.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/ctr.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/sysrand.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/tlsprfalg.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/camellia.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/hmacct.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/cmac.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/alghmac.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/blname.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/hmacct.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/ctr.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/rijndael_tables.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/sha_fast.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/mknewpc2.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/pqg.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/det_rng.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/ec.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/blapit.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/gcm-aarch64.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/gcm.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/jpake.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/ec.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/desblapi.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/secrng.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/gcm-arm32-neon.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/alghmac.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/rsa.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/md5.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/aes-armv8.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/nsslowhash.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/blinit.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/stubs.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/crypto_primitives.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/intel-gcm-wrap.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/secmpi.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/unix_urandom.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/genload.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/Hacl_Poly1305_128.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/Hacl_Curve25519_51.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/Hacl_Chacha20_Vec128.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/Hacl_Poly1305_32.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/Hacl_Curve25519_51.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_32.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/Hacl_Chacha20_Vec256.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/Hacl_Poly1305_32.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/Hacl_Chacha20.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/Hacl_Kremlib.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/Hacl_Poly1305_256.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_128.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/libintvector.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_32.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/Hacl_Chacha20_Vec256.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/kremlin/include/kremlin/lowstar_endianness.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/kremlin/include/kremlin/internal/callconv.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/kremlin/include/kremlin/internal/compat.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/kremlin/include/kremlin/internal/target.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/kremlin/include/kremlin/internal/types.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/kremlin/kremlib/dist/minimal/FStar_UInt128.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/kremlin/kremlib/dist/minimal/FStar_UInt_8_16_32_64.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/kremlin/kremlib/dist/minimal/fstar_uint128_struct_endianness.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/kremlin/kremlib/dist/minimal/FStar_UInt128_Verified.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/kremlin/kremlib/dist/minimal/LowStar_Endianness.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/kremlin/kremlib/dist/minimal/fstar_uint128_gcc64.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/kremlin/kremlib/dist/minimal/fstar_uint128_msvc.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/Hacl_Chacha20.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/Hacl_Poly1305_128.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_128.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/Hacl_Poly1305_256.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/Hacl_Chacha20_Vec128.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/camellia.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/unix_rand.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/des.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/fipsfreebl.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/blake2b.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/rijndael.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/ppc-crypto.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/crypto_primitives.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/gcm.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/rijndael.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/aes-armv8.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/cmac.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/aeskeywrap.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/chacha20poly1305.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/ldvector.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/dh.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/cts.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/drbg.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/loader.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/blapi.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/gcm-ppc.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/sha512.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/md2.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/altivec-types.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/arcfive.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/gcm-x86.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/arcfour.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/chacha20poly1305.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/pqg.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/dsa.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/nsslowhash.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/sha_fast.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/alg2268.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/blapii.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/mpi/mpi-config.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/mpi/mp_gf2m.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/mpi/mplogic.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/mpi/vis_proto.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/mpi/mpprime.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/mpi/mpi.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/mpi/mpv_sparc.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/mpi/mpi-priv.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/mpi/mpcpucache.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/mpi/mp_comba.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/mpi/mpi_hp.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/mpi/mp_gf2m.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/mpi/mp_gf2m-priv.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/mpi/mulsqr.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/mpi/logtab.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/mpi/montmulf.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/mpi/mpi.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/mpi/mpi_amd64.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/mpi/mpvalpha.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/mpi/montmulf.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/mpi/mpi_arm.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/mpi/mpmontg.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/mpi/mplogic.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/mpi/primes.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/mpi/mpprime.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/mpi/mpi_x86_asm.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/mpi/mpi_sparc.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/lowhash_vector.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/det_rng.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/shsign.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/freeblver.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/shvfy.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/cts.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/sha256.h
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/rawhash.c
Examining data/nss-pem-1.0.6/nss/nss/lib/freebl/blake2b.c
Examining data/nss-pem-1.0.6/nss/nss/lib/certdb/genname.h
Examining data/nss-pem-1.0.6/nss/nss/lib/certdb/xconst.h
Examining data/nss-pem-1.0.6/nss/nss/lib/certdb/certt.h
Examining data/nss-pem-1.0.6/nss/nss/lib/certdb/cert.h
Examining data/nss-pem-1.0.6/nss/nss/lib/certdb/certxutl.h
Examining data/nss-pem-1.0.6/nss/nss/lib/certdb/xauthkid.c
Examining data/nss-pem-1.0.6/nss/nss/lib/certdb/certi.h
Examining data/nss-pem-1.0.6/nss/nss/lib/certdb/genname.c
Examining data/nss-pem-1.0.6/nss/nss/lib/certdb/certxutl.c
Examining data/nss-pem-1.0.6/nss/nss/lib/certdb/stanpcertdb.c
Examining data/nss-pem-1.0.6/nss/nss/lib/certdb/xbsconst.c
Examining data/nss-pem-1.0.6/nss/nss/lib/certdb/polcyxtn.c
Examining data/nss-pem-1.0.6/nss/nss/lib/certdb/secname.c
Examining data/nss-pem-1.0.6/nss/nss/lib/certdb/crl.c
Examining data/nss-pem-1.0.6/nss/nss/lib/certdb/alg1485.c
Examining data/nss-pem-1.0.6/nss/nss/lib/certdb/certdb.c
Examining data/nss-pem-1.0.6/nss/nss/lib/certdb/xconst.c
Examining data/nss-pem-1.0.6/nss/nss/lib/certdb/certv3.c
Examining data/nss-pem-1.0.6/nss/nss/lib/certdb/certdb.h
Examining data/nss-pem-1.0.6/nss/nss/lib/dbm/src/strerror.c
Examining data/nss-pem-1.0.6/nss/nss/lib/dbm/src/mktemp.c
Examining data/nss-pem-1.0.6/nss/nss/lib/dbm/src/dirent.h
Examining data/nss-pem-1.0.6/nss/nss/lib/dbm/src/memmove.c
Examining data/nss-pem-1.0.6/nss/nss/lib/dbm/src/h_func.c
Examining data/nss-pem-1.0.6/nss/nss/lib/dbm/src/snprintf.c
Examining data/nss-pem-1.0.6/nss/nss/lib/dbm/src/h_bigkey.c
Examining data/nss-pem-1.0.6/nss/nss/lib/dbm/src/h_log2.c
Examining data/nss-pem-1.0.6/nss/nss/lib/dbm/src/hash.c
Examining data/nss-pem-1.0.6/nss/nss/lib/dbm/src/hash_buf.c
Examining data/nss-pem-1.0.6/nss/nss/lib/dbm/src/h_page.c
Examining data/nss-pem-1.0.6/nss/nss/lib/dbm/src/dirent.c
Examining data/nss-pem-1.0.6/nss/nss/lib/dbm/src/db.c
Examining data/nss-pem-1.0.6/nss/nss/lib/dbm/include/ncompat.h
Examining data/nss-pem-1.0.6/nss/nss/lib/dbm/include/winfile.h
Examining data/nss-pem-1.0.6/nss/nss/lib/dbm/include/extern.h
Examining data/nss-pem-1.0.6/nss/nss/lib/dbm/include/mcom_db.h
Examining data/nss-pem-1.0.6/nss/nss/lib/dbm/include/page.h
Examining data/nss-pem-1.0.6/nss/nss/lib/dbm/include/hash.h
Examining data/nss-pem-1.0.6/nss/nss/lib/dbm/include/hsearch.h
Examining data/nss-pem-1.0.6/nss/nss/lib/dbm/include/queue.h
Examining data/nss-pem-1.0.6/nss/nss/lib/dbm/include/search.h
Examining data/nss-pem-1.0.6/nss/nss/lib/dbm/tests/lots.c
Examining data/nss-pem-1.0.6/nss/nss/lib/jar/jarint.c
Examining data/nss-pem-1.0.6/nss/nss/lib/jar/jar.c
Examining data/nss-pem-1.0.6/nss/nss/lib/jar/jarver.c
Examining data/nss-pem-1.0.6/nss/nss/lib/jar/jarnav.c
Examining data/nss-pem-1.0.6/nss/nss/lib/jar/jzlib.h
Examining data/nss-pem-1.0.6/nss/nss/lib/jar/jar-ds.h
Examining data/nss-pem-1.0.6/nss/nss/lib/jar/jarint.h
Examining data/nss-pem-1.0.6/nss/nss/lib/jar/jar.h
Examining data/nss-pem-1.0.6/nss/nss/lib/jar/jzconf.h
Examining data/nss-pem-1.0.6/nss/nss/lib/jar/jar-ds.c
Examining data/nss-pem-1.0.6/nss/nss/lib/jar/jarfile.h
Examining data/nss-pem-1.0.6/nss/nss/lib/jar/jarsign.c
Examining data/nss-pem-1.0.6/nss/nss/lib/jar/jarfile.c
Examining data/nss-pem-1.0.6/nss/nss/lib/util/pkcs11n.h
Examining data/nss-pem-1.0.6/nss/nss/lib/util/secerr.h
Examining data/nss-pem-1.0.6/nss/nss/lib/util/secasn1u.c
Examining data/nss-pem-1.0.6/nss/nss/lib/util/dersubr.c
Examining data/nss-pem-1.0.6/nss/nss/lib/util/pkcs11.h
Examining data/nss-pem-1.0.6/nss/nss/lib/util/nssb64t.h
Examining data/nss-pem-1.0.6/nss/nss/lib/util/secdigt.h
Examining data/nss-pem-1.0.6/nss/nss/lib/util/sectime.c
Examining data/nss-pem-1.0.6/nss/nss/lib/util/nssilckt.h
Examining data/nss-pem-1.0.6/nss/nss/lib/util/nssrwlkt.h
Examining data/nss-pem-1.0.6/nss/nss/lib/util/secasn1d.c
Examining data/nss-pem-1.0.6/nss/nss/lib/util/secitem.c
Examining data/nss-pem-1.0.6/nss/nss/lib/util/secasn1t.h
Examining data/nss-pem-1.0.6/nss/nss/lib/util/templates.c
Examining data/nss-pem-1.0.6/nss/nss/lib/util/nssb64d.c
Examining data/nss-pem-1.0.6/nss/nss/lib/util/nssrwlk.h
Examining data/nss-pem-1.0.6/nss/nss/lib/util/secasn1.h
Examining data/nss-pem-1.0.6/nss/nss/lib/util/verref.h
Examining data/nss-pem-1.0.6/nss/nss/lib/util/SECerrs.h
Examining data/nss-pem-1.0.6/nss/nss/lib/util/secoidt.h
Examining data/nss-pem-1.0.6/nss/nss/lib/util/utilparst.h
Examining data/nss-pem-1.0.6/nss/nss/lib/util/utilmodt.h
Examining data/nss-pem-1.0.6/nss/nss/lib/util/portreg.h
Examining data/nss-pem-1.0.6/nss/nss/lib/util/utilrename.h
Examining data/nss-pem-1.0.6/nss/nss/lib/util/quickder.c
Examining data/nss-pem-1.0.6/nss/nss/lib/util/pkcs1sig.h
Examining data/nss-pem-1.0.6/nss/nss/lib/util/secplcy.h
Examining data/nss-pem-1.0.6/nss/nss/lib/util/secder.h
Examining data/nss-pem-1.0.6/nss/nss/lib/util/secoid.c
Examining data/nss-pem-1.0.6/nss/nss/lib/util/secasn1e.c
Examining data/nss-pem-1.0.6/nss/nss/lib/util/utilpars.h
Examining data/nss-pem-1.0.6/nss/nss/lib/util/derenc.c
Examining data/nss-pem-1.0.6/nss/nss/lib/util/pkcs11u.h
Examining data/nss-pem-1.0.6/nss/nss/lib/util/pkcs11f.h
Examining data/nss-pem-1.0.6/nss/nss/lib/util/seccomon.h
Examining data/nss-pem-1.0.6/nss/nss/lib/util/eccutil.h
Examining data/nss-pem-1.0.6/nss/nss/lib/util/nsslocks.h
Examining data/nss-pem-1.0.6/nss/nss/lib/util/base64.h
Examining data/nss-pem-1.0.6/nss/nss/lib/util/utilmod.c
Examining data/nss-pem-1.0.6/nss/nss/lib/util/utilpars.c
Examining data/nss-pem-1.0.6/nss/nss/lib/util/pkcs11uri.c
Examining data/nss-pem-1.0.6/nss/nss/lib/util/oidstring.c
Examining data/nss-pem-1.0.6/nss/nss/lib/util/dertime.c
Examining data/nss-pem-1.0.6/nss/nss/lib/util/nssb64.h
Examining data/nss-pem-1.0.6/nss/nss/lib/util/derdec.c
Examining data/nss-pem-1.0.6/nss/nss/lib/util/hasht.h
Examining data/nss-pem-1.0.6/nss/nss/lib/util/nssilock.h
Examining data/nss-pem-1.0.6/nss/nss/lib/util/secload.c
Examining data/nss-pem-1.0.6/nss/nss/lib/util/portreg.c
Examining data/nss-pem-1.0.6/nss/nss/lib/util/secplcy.c
Examining data/nss-pem-1.0.6/nss/nss/lib/util/secalgid.c
Examining data/nss-pem-1.0.6/nss/nss/lib/util/secport.h
Examining data/nss-pem-1.0.6/nss/nss/lib/util/nssrwlk.c
Examining data/nss-pem-1.0.6/nss/nss/lib/util/secdert.h
Examining data/nss-pem-1.0.6/nss/nss/lib/util/pkcs11p.h
Examining data/nss-pem-1.0.6/nss/nss/lib/util/secitem.h
Examining data/nss-pem-1.0.6/nss/nss/lib/util/secdig.h
Examining data/nss-pem-1.0.6/nss/nss/lib/util/pkcs11uri.h
Examining data/nss-pem-1.0.6/nss/nss/lib/util/errstrs.c
Examining data/nss-pem-1.0.6/nss/nss/lib/util/pkcs11t.h
Examining data/nss-pem-1.0.6/nss/nss/lib/util/nssb64e.c
Examining data/nss-pem-1.0.6/nss/nss/lib/util/ciferfam.h
Examining data/nss-pem-1.0.6/nss/nss/lib/util/pkcs1sig.c
Examining data/nss-pem-1.0.6/nss/nss/lib/util/secport.c
Examining data/nss-pem-1.0.6/nss/nss/lib/util/secoid.h
Examining data/nss-pem-1.0.6/nss/nss/lib/util/nssutil.h
Examining data/nss-pem-1.0.6/nss/nss/lib/util/nssilock.c
Examining data/nss-pem-1.0.6/nss/nss/lib/util/utf8.c
Examining data/nss-pem-1.0.6/nss/nss/lib/util/secdig.c
Examining data/nss-pem-1.0.6/nss/nss/lib/pkcs7/pkcs7t.h
Examining data/nss-pem-1.0.6/nss/nss/lib/pkcs7/p7local.h
Examining data/nss-pem-1.0.6/nss/nss/lib/pkcs7/certread.c
Examining data/nss-pem-1.0.6/nss/nss/lib/pkcs7/p7create.c
Examining data/nss-pem-1.0.6/nss/nss/lib/pkcs7/secmime.c
Examining data/nss-pem-1.0.6/nss/nss/lib/pkcs7/secmime.h
Examining data/nss-pem-1.0.6/nss/nss/lib/pkcs7/p7local.c
Examining data/nss-pem-1.0.6/nss/nss/lib/pkcs7/p7encode.c
Examining data/nss-pem-1.0.6/nss/nss/lib/pkcs7/secpkcs7.h
Examining data/nss-pem-1.0.6/nss/nss/lib/pkcs7/p7decode.c
Examining data/nss-pem-1.0.6/nss/nss/lib/pkcs7/p7common.c
Examining data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11c.c
Examining data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkhmac.c
Examining data/nss-pem-1.0.6/nss/nss/lib/softoken/sdb.h
Examining data/nss-pem-1.0.6/nss/nss/lib/softoken/tlsprf.c
Examining data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11i.h
Examining data/nss-pem-1.0.6/nss/nss/lib/softoken/lowkeyti.h
Examining data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkpars.c
Examining data/nss-pem-1.0.6/nss/nss/lib/softoken/lowpbe.c
Examining data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkdb.h
Examining data/nss-pem-1.0.6/nss/nss/lib/softoken/kbkdf.c
Examining data/nss-pem-1.0.6/nss/nss/lib/softoken/fipstokn.c
Examining data/nss-pem-1.0.6/nss/nss/lib/softoken/sdb.c
Examining data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkike.c
Examining data/nss-pem-1.0.6/nss/nss/lib/softoken/softoken.h
Examining data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkpars.h
Examining data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkdb.c
Examining data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkdbti.h
Examining data/nss-pem-1.0.6/nss/nss/lib/softoken/lgglue.h
Examining data/nss-pem-1.0.6/nss/nss/lib/softoken/fipstest.c
Examining data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkmessage.c
Examining data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkpwd.c
Examining data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11ni.h
Examining data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11.c
Examining data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkdbt.h
Examining data/nss-pem-1.0.6/nss/nss/lib/softoken/softoknt.h
Examining data/nss-pem-1.0.6/nss/nss/lib/softoken/jpakesftk.c
Examining data/nss-pem-1.0.6/nss/nss/lib/softoken/lowpbe.h
Examining data/nss-pem-1.0.6/nss/nss/lib/softoken/lowkey.c
Examining data/nss-pem-1.0.6/nss/nss/lib/softoken/softkver.c
Examining data/nss-pem-1.0.6/nss/nss/lib/softoken/lowkeyi.h
Examining data/nss-pem-1.0.6/nss/nss/lib/softoken/softkver.h
Examining data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11u.c
Examining data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/lgattr.c
Examining data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/lowkeyti.h
Examining data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/lowcert.c
Examining data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/pcertt.h
Examining data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/lgcreate.c
Examining data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/dbmshim.c
Examining data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/lgdestroy.c
Examining data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/pk11db.c
Examining data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/cdbhdl.h
Examining data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/lowkey.c
Examining data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/lowkeyi.h
Examining data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/pcertdb.c
Examining data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/keydb.c
Examining data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/lgdb.h
Examining data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/pcert.h
Examining data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/lgfind.c
Examining data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/lgutil.c
Examining data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/lgfips.c
Examining data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/keydbi.h
Examining data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/lginit.c
Examining data/nss-pem-1.0.6/nss/nss/lib/softoken/fipsaudt.c
Examining data/nss-pem-1.0.6/nss/nss/lib/softoken/lgglue.c
Examining data/nss-pem-1.0.6/nss/nss/lib/softoken/padbuf.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_ocspresponse.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crldp.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_ocspresponse.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crlentry.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_ocspcertid.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_basicconstraints.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_certpolicymap.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_nameconstraints.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_ocsprequest.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crldp.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_cert.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_cert.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_generalname.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_infoaccess.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_certpolicymap.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_x500name.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crl.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crlentry.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_generalname.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crl.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_certpolicyinfo.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_certpolicyqualifier.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_publickey.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_date.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_nameconstraints.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_x500name.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_certpolicyinfo.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_ocsprequest.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_certpolicyqualifier.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_publickey.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_basicconstraints.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_ocspcertid.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_infoaccess.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_date.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldaprequest.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapt.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_socket.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_httpcertstore.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_nsscontext.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_aiamgr.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapdefaultclient.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapcertstore.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldaptemplates.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_socket.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_nsscontext.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_aiamgr.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_httpdefaultclient.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_pk11certstore.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_pk11certstore.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_colcertstore.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_httpcertstore.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapdefaultclient.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_httpdefaultclient.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapresponse.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_colcertstore.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldapresponse.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_ldaprequest.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_primhash.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_string.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_lifecycle.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_bigint.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_hashtable.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_rwlock.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_lifecycle.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_mutex.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_common.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_mem.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_mutex.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_monitorlock.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_rwlock.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_bytearray.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_bigint.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_mem.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_bytearray.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_common.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_error.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_string.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_primhash.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_oid.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_monitorlock.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_hashtable.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_oid.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/include/pkix_util.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/include/pkix.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/include/pkix_revchecker.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/include/pkix_errorstrings.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/include/pkixt.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/include/pkix_checker.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/include/pkix_results.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/include/pkix_sample_modules.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/include/pkix_certstore.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/include/pkix_params.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/include/pkix_crlsel.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/include/pkix_pl_system.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/include/pkix_certsel.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/include/pkix_pl_pki.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/store/pkix_store.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/store/pkix_store.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/params/pkix_resourcelimits.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/params/pkix_trustanchor.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/params/pkix_valparams.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/params/pkix_resourcelimits.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/params/pkix_valparams.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/params/pkix_trustanchor.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/params/pkix_procparams.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/params/pkix_procparams.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/checker/pkix_targetcertchecker.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/checker/pkix_signaturechecker.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/checker/pkix_policychecker.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/checker/pkix_ocspchecker.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/checker/pkix_expirationchecker.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/checker/pkix_signaturechecker.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/checker/pkix_certchainchecker.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/checker/pkix_targetcertchecker.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/checker/pkix_ekuchecker.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/checker/pkix_revocationmethod.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/checker/pkix_basicconstraintschecker.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/checker/pkix_expirationchecker.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/checker/pkix_revocationchecker.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/checker/pkix_basicconstraintschecker.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/checker/pkix_certchainchecker.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/checker/pkix_nameconstraintschecker.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/checker/pkix_ekuchecker.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/checker/pkix_crlchecker.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/checker/pkix_revocationmethod.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/checker/pkix_namechainingchecker.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/checker/pkix_policychecker.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/checker/pkix_namechainingchecker.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/checker/pkix_nameconstraintschecker.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/checker/pkix_ocspchecker.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/checker/pkix_crlchecker.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/checker/pkix_revocationchecker.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/top/pkix_build.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/top/pkix_validate.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/top/pkix_build.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/top/pkix_lifecycle.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/top/pkix_validate.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/top/pkix_lifecycle.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/crlsel/pkix_comcrlselparams.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/crlsel/pkix_crlselector.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/crlsel/pkix_crlselector.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/crlsel/pkix_comcrlselparams.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/certsel/pkix_certselector.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/certsel/pkix_certselector.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/certsel/pkix_comcertselparams.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/certsel/pkix_comcertselparams.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/util/pkix_tools.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/util/pkix_tools.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/util/pkix_list.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/util/pkix_logger.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/util/pkix_error.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/util/pkix_error.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/util/pkix_logger.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/util/pkix_errpaths.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/util/pkix_list.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/results/pkix_policynode.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/results/pkix_valresult.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/results/pkix_verifynode.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/results/pkix_verifynode.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/results/pkix_valresult.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/results/pkix_buildresult.h
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/results/pkix_buildresult.c
Examining data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/results/pkix_policynode.c
Examining data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11pqg.h
Examining data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/secmod.h
Examining data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/secpkcs5.h
Examining data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/debug_module.c
Examining data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11load.c
Examining data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11pbe.c
Examining data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11obj.c
Examining data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11sdr.h
Examining data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11sdr.c
Examining data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11func.h
Examining data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11err.c
Examining data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11slot.c
Examining data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11util.c
Examining data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11mech.c
Examining data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11pub.h
Examining data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/secmodi.h
Examining data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11list.c
Examining data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11pk12.c
Examining data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11nobj.c
Examining data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/dev3hack.h
Examining data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/dev3hack.c
Examining data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11auth.c
Examining data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11kea.c
Examining data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11akey.c
Examining data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11pqg.c
Examining data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11skey.c
Examining data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11merge.c
Examining data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11pars.c
Examining data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/secmodt.h
Examining data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11cert.c
Examining data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/secmodti.h
Examining data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11priv.h
Examining data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11cxt.c
Examining data/nss-pem-1.0.6/nss/nss/lib/crmf/crmfdec.c
Examining data/nss-pem-1.0.6/nss/nss/lib/crmf/cmmfi.h
Examining data/nss-pem-1.0.6/nss/nss/lib/crmf/crmfcont.c
Examining data/nss-pem-1.0.6/nss/nss/lib/crmf/servget.c
Examining data/nss-pem-1.0.6/nss/nss/lib/crmf/crmfenc.c
Examining data/nss-pem-1.0.6/nss/nss/lib/crmf/crmf.h
Examining data/nss-pem-1.0.6/nss/nss/lib/crmf/cmmfasn1.c
Examining data/nss-pem-1.0.6/nss/nss/lib/crmf/asn1cmn.c
Examining data/nss-pem-1.0.6/nss/nss/lib/crmf/crmfit.h
Examining data/nss-pem-1.0.6/nss/nss/lib/crmf/encutil.c
Examining data/nss-pem-1.0.6/nss/nss/lib/crmf/crmffut.h
Examining data/nss-pem-1.0.6/nss/nss/lib/crmf/cmmfchal.c
Examining data/nss-pem-1.0.6/nss/nss/lib/crmf/crmfpop.c
Examining data/nss-pem-1.0.6/nss/nss/lib/crmf/cmmfresp.c
Examining data/nss-pem-1.0.6/nss/nss/lib/crmf/challcli.c
Examining data/nss-pem-1.0.6/nss/nss/lib/crmf/crmftmpl.c
Examining data/nss-pem-1.0.6/nss/nss/lib/crmf/cmmf.h
Examining data/nss-pem-1.0.6/nss/nss/lib/crmf/crmfreq.c
Examining data/nss-pem-1.0.6/nss/nss/lib/crmf/cmmfrec.c
Examining data/nss-pem-1.0.6/nss/nss/lib/crmf/crmft.h
Examining data/nss-pem-1.0.6/nss/nss/lib/crmf/crmfget.c
Examining data/nss-pem-1.0.6/nss/nss/lib/crmf/cmmft.h
Examining data/nss-pem-1.0.6/nss/nss/lib/crmf/respcmn.c
Examining data/nss-pem-1.0.6/nss/nss/lib/crmf/crmfi.h
Examining data/nss-pem-1.0.6/nss/nss/lib/crmf/respcli.c
Examining data/nss-pem-1.0.6/nss/nss/lib/crmf/cmmfit.h
Examining data/nss-pem-1.0.6/nss/nss/lib/sysinit/nsssysinit.c
Examining data/nss-pem-1.0.6/nss/nss/lib/dev/nssdev.h
Examining data/nss-pem-1.0.6/nss/nss/lib/dev/ckhelper.c
Examining data/nss-pem-1.0.6/nss/nss/lib/dev/devtoken.c
Examining data/nss-pem-1.0.6/nss/nss/lib/dev/ckhelper.h
Examining data/nss-pem-1.0.6/nss/nss/lib/dev/dev.h
Examining data/nss-pem-1.0.6/nss/nss/lib/dev/nssdevt.h
Examining data/nss-pem-1.0.6/nss/nss/lib/dev/devutil.c
Examining data/nss-pem-1.0.6/nss/nss/lib/dev/devtm.h
Examining data/nss-pem-1.0.6/nss/nss/lib/dev/devm.h
Examining data/nss-pem-1.0.6/nss/nss/lib/dev/devslot.c
Examining data/nss-pem-1.0.6/nss/nss/lib/dev/devt.h
Examining data/nss-pem-1.0.6/nss/nss/lib/certhigh/xcrldist.c
Examining data/nss-pem-1.0.6/nss/nss/lib/certhigh/certvfy.c
Examining data/nss-pem-1.0.6/nss/nss/lib/certhigh/certreq.c
Examining data/nss-pem-1.0.6/nss/nss/lib/certhigh/certhigh.c
Examining data/nss-pem-1.0.6/nss/nss/lib/certhigh/ocspi.h
Examining data/nss-pem-1.0.6/nss/nss/lib/certhigh/crlv2.c
Examining data/nss-pem-1.0.6/nss/nss/lib/certhigh/ocsp.h
Examining data/nss-pem-1.0.6/nss/nss/lib/certhigh/ocspt.h
Examining data/nss-pem-1.0.6/nss/nss/lib/certhigh/ocsp.c
Examining data/nss-pem-1.0.6/nss/nss/lib/certhigh/ocspti.h
Examining data/nss-pem-1.0.6/nss/nss/lib/certhigh/certvfypkix.c
Examining data/nss-pem-1.0.6/nss/nss/lib/certhigh/ocspsig.c
Examining data/nss-pem-1.0.6/nss/nss/lib/certhigh/certhtml.c
Examining data/nss-pem-1.0.6/nss/nss/lib/base/base.h
Examining data/nss-pem-1.0.6/nss/nss/lib/base/tracker.c
Examining data/nss-pem-1.0.6/nss/nss/lib/base/nssbaset.h
Examining data/nss-pem-1.0.6/nss/nss/lib/base/errorval.c
Examining data/nss-pem-1.0.6/nss/nss/lib/base/item.c
Examining data/nss-pem-1.0.6/nss/nss/lib/base/nssbase.h
Examining data/nss-pem-1.0.6/nss/nss/lib/base/libc.c
Examining data/nss-pem-1.0.6/nss/nss/lib/base/error.c
Examining data/nss-pem-1.0.6/nss/nss/lib/base/baset.h
Examining data/nss-pem-1.0.6/nss/nss/lib/base/hash.c
Examining data/nss-pem-1.0.6/nss/nss/lib/base/arena.c
Examining data/nss-pem-1.0.6/nss/nss/lib/base/list.c
Examining data/nss-pem-1.0.6/nss/nss/lib/base/hashops.c
Examining data/nss-pem-1.0.6/nss/nss/lib/base/utf8.c
Examining data/nss-pem-1.0.6/nss/nss/fuzz/mpi_expmod_target.cc
Examining data/nss-pem-1.0.6/nss/nss/fuzz/mpi_sqrmod_target.cc
Examining data/nss-pem-1.0.6/nss/nss/fuzz/asn1_mutators.cc
Examining data/nss-pem-1.0.6/nss/nss/fuzz/tls_server_target.cc
Examining data/nss-pem-1.0.6/nss/nss/fuzz/mpi_helper.h
Examining data/nss-pem-1.0.6/nss/nss/fuzz/tls_socket.h
Examining data/nss-pem-1.0.6/nss/nss/fuzz/mpi_add_target.cc
Examining data/nss-pem-1.0.6/nss/nss/fuzz/tls_common.cc
Examining data/nss-pem-1.0.6/nss/nss/fuzz/mpi_sub_target.cc
Examining data/nss-pem-1.0.6/nss/nss/fuzz/shared.cc
Examining data/nss-pem-1.0.6/nss/nss/fuzz/mpi_mod_target.cc
Examining data/nss-pem-1.0.6/nss/nss/fuzz/asn1_mutators.h
Examining data/nss-pem-1.0.6/nss/nss/fuzz/mpi_invmod_target.cc
Examining data/nss-pem-1.0.6/nss/nss/fuzz/tls_socket.cc
Examining data/nss-pem-1.0.6/nss/nss/fuzz/shared.h
Examining data/nss-pem-1.0.6/nss/nss/fuzz/mpi_mulmod_target.cc
Examining data/nss-pem-1.0.6/nss/nss/fuzz/mpi_addmod_target.cc
Examining data/nss-pem-1.0.6/nss/nss/fuzz/tls_server_certs.cc
Examining data/nss-pem-1.0.6/nss/nss/fuzz/tls_client_config.h
Examining data/nss-pem-1.0.6/nss/nss/fuzz/mpi_sqr_target.cc
Examining data/nss-pem-1.0.6/nss/nss/fuzz/tls_server_config.cc
Examining data/nss-pem-1.0.6/nss/nss/fuzz/tls_client_config.cc
Examining data/nss-pem-1.0.6/nss/nss/fuzz/tls_server_config.h
Examining data/nss-pem-1.0.6/nss/nss/fuzz/tls_mutators.h
Examining data/nss-pem-1.0.6/nss/nss/fuzz/tls_common.h
Examining data/nss-pem-1.0.6/nss/nss/fuzz/mpi_helper.cc
Examining data/nss-pem-1.0.6/nss/nss/fuzz/certDN_target.cc
Examining data/nss-pem-1.0.6/nss/nss/fuzz/pkcs8_target.cc
Examining data/nss-pem-1.0.6/nss/nss/fuzz/tls_mutators.cc
Examining data/nss-pem-1.0.6/nss/nss/fuzz/mpi_submod_target.cc
Examining data/nss-pem-1.0.6/nss/nss/fuzz/tls_client_target.cc
Examining data/nss-pem-1.0.6/nss/nss/fuzz/tls_server_certs.h
Examining data/nss-pem-1.0.6/nss/nss/fuzz/mpi_div_target.cc
Examining data/nss-pem-1.0.6/nss/nss/fuzz/quickder_target.cc
Examining data/nss-pem-1.0.6/nss/nss/nss-tool/enc/enctool.cc
Examining data/nss-pem-1.0.6/nss/nss/nss-tool/enc/enctool.h
Examining data/nss-pem-1.0.6/nss/nss/nss-tool/common/util.cc
Examining data/nss-pem-1.0.6/nss/nss/nss-tool/common/tool.h
Examining data/nss-pem-1.0.6/nss/nss/nss-tool/common/util.h
Examining data/nss-pem-1.0.6/nss/nss/nss-tool/common/argparse.cc
Examining data/nss-pem-1.0.6/nss/nss/nss-tool/common/argparse.h
Examining data/nss-pem-1.0.6/nss/nss/nss-tool/db/dbtool.cc
Examining data/nss-pem-1.0.6/nss/nss/nss-tool/db/dbtool.h
Examining data/nss-pem-1.0.6/nss/nss/nss-tool/hw-support.c
Examining data/nss-pem-1.0.6/nss/nss/nss-tool/nss_tool.cc
Examining data/nss-pem-1.0.6/nss/nss/nss-tool/digest/digesttool.cc
Examining data/nss-pem-1.0.6/nss/nss/nss-tool/digest/digesttool.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/certhigh_gtest/certhigh_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/util_gtest/util_utf8_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/util_gtest/util_gtests.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/util_gtest/util_pkcs11uri_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/util_gtest/util_memcmpzero_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/util_gtest/util_b64_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/util_gtest/util_aligned_malloc_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/freebl_gtest/dh_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/freebl_gtest/prng_kat_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/freebl_gtest/rsa_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/freebl_gtest/kat/blake2b_kat.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/freebl_gtest/mpi_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/freebl_gtest/blake2b_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/freebl_gtest/ecl_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/freebl_gtest/ghash_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/freebl_gtest/cmac_unittests.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/der_gtest/der_getint_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/der_gtest/der_private_key_import_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/der_gtest/p12_import_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/der_gtest/der_quickder_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/smime_gtest/smime_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/softoken_gtest/softoken_gtest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/softoken_gtest/softoken_nssckbi_testlib_gtest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/nss_bogo_shim/nsskeys.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/nss_bogo_shim/nsskeys.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/nss_bogo_shim/nss_bogo_shim.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/nss_bogo_shim/config.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/nss_bogo_shim/config.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_skip_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_extension_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/test_io.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_ecdh_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_keylog_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/libssl_internals.c
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/tls_connect.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_resumption_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_fragment_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_aead_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_recordsize_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_dhe_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/tls_filter.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/tls_filter.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_damage_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_ems_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_agent_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/tls_agent.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/selfencrypt_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_renegotiation_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_v2_client_hello_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_gtest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_version_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/test_io.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_staticrsa_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_fuzz_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_versionpolicy_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_exporter_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/libssl_internals.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/tls_psk_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_masking_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_record_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/rsa8193.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/tls_agent.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_gather_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/tls_connect.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_recordsep_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_0rtt_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/gtest_utils.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_hrr_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/bloomfilter_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/tls_protect.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_debug_env_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_loopback_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_drop_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/tls_subcerts_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/tls_protect.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_cipherorder_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/tls_esni_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_auth_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_custext_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_tls13compat_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_keyupdate_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_misc_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_cert_ext_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/tls_hkdf_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_ciphersuite_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/common/gtests.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/common/testvectors_base/test-structs.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/common/testvectors_base/chachapoly-vectors_base.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/common/testvectors_base/curve25519-vectors_base.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/common/testvectors_base/gcm-vectors_base.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/common/gtests-util.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/common/testvectors/cbc-vectors.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/common/testvectors/chachapoly-vectors.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/common/testvectors/rsa_pss_2048_sha256_mgf1_32-vectors.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/common/testvectors/rsa_pkcs1_4096_test-vectors.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/common/testvectors/rsa_signature_4096_sha512-vectors.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/common/testvectors/p521ecdh-vectors.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/common/testvectors/rsa_signature_3072_sha256-vectors.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/common/testvectors/rsa_signature_4096_sha384-vectors.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/common/testvectors/rsa_pss_misc-vectors.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/common/testvectors/kw-vectors.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/common/testvectors/rsa_pss_4096_sha512_mgf1_32-vectors.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/common/testvectors/rsa_pss_2048_sha1_mgf1_20-vectors.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/common/testvectors/rsa_oaep_2048_sha256_mgf1sha1-vectors.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/common/testvectors/cmac-vectors.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/common/testvectors/rsa_pss_4096_sha256_mgf1_32-vectors.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/common/testvectors/rsa_pkcs1_3072_test-vectors.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/common/testvectors/rsa_oaep_2048_sha512_mgf1sha512-vectors.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/common/testvectors/rsa_signature_2048_sha512-vectors.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/common/testvectors/rsa_oaep_2048_sha384_mgf1sha1-vectors.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/common/testvectors/rsa_signature_3072_sha384-vectors.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/common/testvectors/rsa_pkcs1_2048_test-vectors.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/common/testvectors/rsa_signature_2048_sha256-vectors.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/common/testvectors/p384ecdh-vectors.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/common/testvectors/p384ecdsa-sha384-vectors.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/common/testvectors/p256ecdh-vectors.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/common/testvectors/rsa_oaep_2048_sha256_mgf1sha256-vectors.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/common/testvectors/rsa_signature_3072_sha512-vectors.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/common/testvectors/rsa_signature_2048_sha224-vectors.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/common/testvectors/p521ecdsa-sha512-vectors.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/common/testvectors/rsa_oaep_2048_sha384_mgf1sha384-vectors.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/common/testvectors/rsa_pss_3072_sha256_mgf1_32-vectors.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/common/testvectors/p256ecdsa-sha256-vectors.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/common/testvectors/hkdf-vectors.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/common/testvectors/kwp-vectors.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/common/testvectors/rsa_pss_2048_sha256_mgf1_0-vectors.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/common/testvectors/rsa_signature-vectors.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/common/testvectors/rsa_oaep_2048_sha512_mgf1sha1-vectors.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/common/testvectors/gcm-vectors.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/common/testvectors/curve25519-vectors.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/common/testvectors/rsa_oaep_2048_sha1_mgf1sha1-vectors.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/common/util.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/certdb_gtest/decode_certs_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/certdb_gtest/alg1485_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/certdb_gtest/cert_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/mozpkix_gtest/pkixcert_extension_tests.cpp
Examining data/nss-pem-1.0.6/nss/nss/gtests/mozpkix_gtest/pkixnames_tests.cpp
Examining data/nss-pem-1.0.6/nss/nss/gtests/mozpkix_gtest/pkixocsp_VerifyEncodedOCSPResponse.cpp
Examining data/nss-pem-1.0.6/nss/nss/gtests/mozpkix_gtest/pkixder_universal_types_tests.cpp
Examining data/nss-pem-1.0.6/nss/nss/gtests/mozpkix_gtest/pkixcert_signature_algorithm_tests.cpp
Examining data/nss-pem-1.0.6/nss/nss/gtests/mozpkix_gtest/pkixcheck_CheckValidity_tests.cpp
Examining data/nss-pem-1.0.6/nss/nss/gtests/mozpkix_gtest/pkixder_pki_types_tests.cpp
Examining data/nss-pem-1.0.6/nss/nss/gtests/mozpkix_gtest/pkixgtest.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/mozpkix_gtest/pkixcheck_CheckSignatureAlgorithm_tests.cpp
Examining data/nss-pem-1.0.6/nss/nss/gtests/mozpkix_gtest/pkixcheck_CheckIssuer_tests.cpp
Examining data/nss-pem-1.0.6/nss/nss/gtests/mozpkix_gtest/pkixder_input_tests.cpp
Examining data/nss-pem-1.0.6/nss/nss/gtests/mozpkix_gtest/pkixbuild_tests.cpp
Examining data/nss-pem-1.0.6/nss/nss/gtests/mozpkix_gtest/pkixgtest.cpp
Examining data/nss-pem-1.0.6/nss/nss/gtests/mozpkix_gtest/pkixcheck_CheckExtendedKeyUsage_tests.cpp
Examining data/nss-pem-1.0.6/nss/nss/gtests/mozpkix_gtest/pkixcheck_CheckKeyUsage_tests.cpp
Examining data/nss-pem-1.0.6/nss/nss/gtests/mozpkix_gtest/pkixocsp_CreateEncodedOCSPRequest_tests.cpp
Examining data/nss-pem-1.0.6/nss/nss/gtests/mozpkix_gtest/pkixcheck_TLSFeaturesSatisfiedInternal_tests.cpp
Examining data/nss-pem-1.0.6/nss/nss/gtests/mozpkix_gtest/pkixcheck_ParseValidity_tests.cpp
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/googletest-env-var-test_.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/googletest-output-test_.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/gtest_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/googletest-listener-test.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/gtest_testbridge_test_.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/googletest-shuffle-test_.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/googletest-port-test.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/gtest_assert_by_exception_test.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/gtest_stress_test.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/production.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/gtest_repeat_test.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/googletest-filepath-test.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/googletest-break-on-failure-unittest_.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/googletest-param-test-test.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/googletest-test2_test.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/gtest_test_macro_stack_footprint_test.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/gtest_xml_outfile1_test_.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/gtest_throw_on_failure_ex_test.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/gtest_xml_output_unittest_.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/gtest-typed-test_test.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/googletest-tuple-test.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/googletest-printers-test.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/gtest_no_test_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/gtest_pred_impl_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/gtest_main_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/googletest-death-test_ex_test.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/googletest-linked-ptr-test.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/gtest-typed-test2_test.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/gtest-typed-test_test.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/gtest_environment_test.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/gtest_all_test.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/gtest_sole_header_test.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/googletest-param-test-test.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/gtest_premature_exit_test.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/gtest_help_test_.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/googletest-message-test.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/googletest-throw-on-failure-test_.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/googletest-param-test-invalid-name1-test_.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/gtest_xml_outfile2_test_.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/googletest-test-part-test.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/gtest_list_output_unittest_.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/googletest-param-test-invalid-name2-test_.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/googletest-filter-unittest_.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/googletest-list-tests-unittest_.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/googletest-death-test-test.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/googletest-color-test_.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/gtest_prod_test.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/googletest-catch-exceptions-test_.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/googletest-uninitialized-test_.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/googletest-param-test2-test.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/production.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/gtest-unittest-api_test.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/googletest-options-test.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/src/gtest-typed-test.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/src/gtest-filepath.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/src/gtest-death-test.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/src/gtest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/src/gtest-test-part.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/src/gtest-port.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/src/gtest-internal-inl.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/src/gtest-printers.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/src/gtest_main.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/src/gtest-all.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/include/gtest/gtest-printers.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/include/gtest/gtest-spi.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/include/gtest/gtest-test-part.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/include/gtest/gtest-typed-test.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/include/gtest/gtest-param-test.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/include/gtest/gtest_prod.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/include/gtest/gtest.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/include/gtest/internal/gtest-tuple.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/include/gtest/internal/gtest-param-util.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/include/gtest/internal/gtest-death-test-internal.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/include/gtest/internal/gtest-linked_ptr.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/include/gtest/internal/gtest-param-util-generated.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/include/gtest/internal/gtest-port-arch.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/include/gtest/internal/gtest-string.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/include/gtest/internal/gtest-type-util.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/include/gtest/internal/gtest-filepath.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/include/gtest/internal/custom/gtest-printers.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/include/gtest/internal/custom/gtest.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/include/gtest/internal/custom/gtest-port.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/include/gtest/internal/gtest-internal.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/include/gtest/internal/gtest-port.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/include/gtest/gtest-death-test.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/include/gtest/gtest-message.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/include/gtest/gtest_pred_impl.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/codegear/gtest_all.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/codegear/gtest_link.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/xcode/Samples/FrameworkSample/widget_test.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/xcode/Samples/FrameworkSample/widget.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/xcode/Samples/FrameworkSample/widget.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/samples/sample2_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/samples/sample7_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/samples/sample9_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/samples/sample4.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/samples/sample1.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/samples/sample1_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/samples/sample4.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/samples/sample4_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/samples/sample2.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/samples/sample5_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/samples/sample1.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/samples/sample6_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/samples/sample8_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/samples/sample3_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/samples/prime_tables.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/samples/sample2.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/samples/sample10_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/samples/sample3-inl.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/sysinit_gtest/getUserDB_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/sysinit_gtest/sysinit_gtest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/pkcs11testmodule/pkcs11testmodule.cpp
Examining data/nss-pem-1.0.6/nss/nss/gtests/pk11_gtest/pk11_seed_cbc_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/pk11_gtest/pk11_prng_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/pk11_gtest/pk11_export_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/pk11_gtest/pk11_chacha20poly1305_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/pk11_gtest/pk11_cbc_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/pk11_gtest/pk11_rsaencrypt_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/pk11_gtest/pk11_keygen.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/pk11_gtest/pk11_rsaoaep_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/pk11_gtest/pk11_der_private_key_import_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/pk11_gtest/pk11_aeskeywrappad_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/pk11_gtest/pk11_ecdsa_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/pk11_gtest/pk11_aeskeywrapkwp_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/pk11_gtest/pk11_kbkdf.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/pk11_gtest/pk11_cipherop_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/pk11_gtest/pk11_rsapss_vectors.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/pk11_gtest/pk11_prf_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/pk11_gtest/pk11_pbkdf2_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/pk11_gtest/pk11_encrypt_derive_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/pk11_gtest/pk11_hkdf_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/pk11_gtest/pk11_aes_gcm_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/pk11_gtest/pk11_find_certs_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/pk11_gtest/pk11_ecdh_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/pk11_gtest/pk11_ecdsa_vectors.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/pk11_gtest/pk11_aeskeywrap_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/pk11_gtest/pk11_key_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/pk11_gtest/pk11_curve25519_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/pk11_gtest/pk11_des_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/pk11_gtest/pk11_keygen.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/pk11_gtest/pk11_aes_cmac_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/pk11_gtest/pk11_module_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/pk11_gtest/pk11_signature_test.h
Examining data/nss-pem-1.0.6/nss/nss/gtests/pk11_gtest/pk11_import_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/pk11_gtest/pk11_rsapss_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/pk11_gtest/pk11_rsapkcs1_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/gtests/cryptohi_gtest/cryptohi_unittest.cc
Examining data/nss-pem-1.0.6/nss/nss/coreconf/empty.c
Examining data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/sunos4.h
Examining data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/pathsub.c
Examining data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/nsinstall.c
Examining data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/pathsub.h
Examining data/nss-pem-1.0.6/src/constants.c
Examining data/nss-pem-1.0.6/src/ckpemver.c
Examining data/nss-pem-1.0.6/src/util.c
Examining data/nss-pem-1.0.6/src/ptoken.c
Examining data/nss-pem-1.0.6/src/pslot.c
Examining data/nss-pem-1.0.6/src/prsa.c
Examining data/nss-pem-1.0.6/src/nsspem.h
Examining data/nss-pem-1.0.6/src/list.h
Examining data/nss-pem-1.0.6/src/ckpem.h
Examining data/nss-pem-1.0.6/src/rsawrapr.c
Examining data/nss-pem-1.0.6/src/pargs.c
Examining data/nss-pem-1.0.6/src/anchor.c
Examining data/nss-pem-1.0.6/src/psession.c
Examining data/nss-pem-1.0.6/src/pfind.c
Examining data/nss-pem-1.0.6/src/pinst.c
Examining data/nss-pem-1.0.6/src/pobject.c

FINAL RESULTS:

data/nss-pem-1.0.6/nss/nss/cmd/modutil/install.c:690:15:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
        (void)chmod(dest, file->permissions);
data/nss-pem-1.0.6/nss/nss/cmd/shlibsign/shlibsign.c:1071:15:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
        ret = readlink(input_file, link_buf, sizeof(link_buf) - 1);
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/nsinstall.c:284:30:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
	    if ((owner || group) && chown(toname, uid, gid) < 0)
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/nsinstall.c:318:4:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
		 readlink(toname, buf, sizeof buf) != len ||
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/nsinstall.c:387:10:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
	    if (chmod(toname, mode) < 0)
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/pathsub.c:241:11:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
	    rv = readlink(myPath, buf, sizeof(buf) - 1);
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/sunos4.h:120:12:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
extern int readlink(const char *, char *, int);
data/nss-pem-1.0.6/nss/nss/lib/freebl/genload.c:63:23:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
           ((retlen = readlink(input, resolved, len - 1)) > 0)) {
data/nss-pem-1.0.6/nss/nss/lib/jar/jarfile.c:224:13:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
            chmod(outpath, 0400 | (mode_t)phy->mode);
data/nss-pem-1.0.6/nss/nss/lib/softoken/lgglue.c:62:15:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
        ret = readlink(source, resolved, len - 1);
data/nss-pem-1.0.6/nss/nss/lib/softoken/sdb.c:225:36:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
#define sdb_chmod(filename, pmode) chmod((filename), (pmode))
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:33082:42:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
  { "readlink",     (sqlite3_syscall_ptr)readlink,        0 },
data/nss-pem-1.0.6/nss/nss/lib/util/secload.c:44:23:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
           ((retlen = readlink(input, resolved, len - 1)) > 0)) {
data/nss-pem-1.0.6/nss/nss/cmd/atob/atob.c:14:12:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern int fprintf(FILE *, char *, ...);
data/nss-pem-1.0.6/nss/nss/cmd/bltest/blapitest.c:2703:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(stdout, sformat, reportStr);
data/nss-pem-1.0.6/nss/nss/cmd/bltest/blapitest.c:2706:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(stdout, nformat, rNum);
data/nss-pem-1.0.6/nss/nss/cmd/bltest/blapitest.c:2953:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(filename, "%s/tests/%s/%s%d", testdir, modestr, "aad", j);
data/nss-pem-1.0.6/nss/nss/cmd/bltest/blapitest.c:2965:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(filename, "%s/tests/%s/%s%d", testdir, modestr, "iv", j);
data/nss-pem-1.0.6/nss/nss/cmd/bltest/blapitest.c:2976:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(filename, "%s/tests/%s/%s%d", testdir, modestr, "key", j);
data/nss-pem-1.0.6/nss/nss/cmd/bltest/blapitest.c:2982:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(filename, "%s/tests/%s/%s%d", testdir, modestr, "iv", j);
data/nss-pem-1.0.6/nss/nss/cmd/bltest/blapitest.c:2984:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(filename, "%s/tests/%s/%s%d", testdir, modestr, "key", j);
data/nss-pem-1.0.6/nss/nss/cmd/bltest/blapitest.c:2986:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(filename, "%s/tests/%s/%s%d", testdir, modestr,
data/nss-pem-1.0.6/nss/nss/cmd/bltest/blapitest.c:3010:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(filename, "%s/tests/%s/%s%d", testdir, modestr, "ciphertext", j);
data/nss-pem-1.0.6/nss/nss/cmd/bltest/blapitest.c:3014:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(filename, "%s/tests/%s/%s%d", testdir, modestr, "seed", j);
data/nss-pem-1.0.6/nss/nss/cmd/bltest/blapitest.c:3018:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(filename, "%s/tests/%s/%s%d", testdir, modestr, "hash", j);
data/nss-pem-1.0.6/nss/nss/cmd/bltest/blapitest.c:3023:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(filename, "%s/tests/%s/%s%d", testdir, modestr, "maskhash", j);
data/nss-pem-1.0.6/nss/nss/cmd/bltest/blapitest.c:3029:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(filename, "%s/tests/%s/%s%d", testdir, modestr, "key", j);
data/nss-pem-1.0.6/nss/nss/cmd/bltest/blapitest.c:3036:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(filename, "%s/tests/%s/%s%d", testdir, modestr, "key", j);
data/nss-pem-1.0.6/nss/nss/cmd/bltest/blapitest.c:3040:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(filename, "%s/tests/%s/%s%d", testdir, modestr, "pqg", j);
data/nss-pem-1.0.6/nss/nss/cmd/bltest/blapitest.c:3045:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(filename, "%s/tests/%s/%s%d", testdir, modestr, "keyseed", j);
data/nss-pem-1.0.6/nss/nss/cmd/bltest/blapitest.c:3048:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(filename, "%s/tests/%s/%s%d", testdir, modestr, "sigseed", j);
data/nss-pem-1.0.6/nss/nss/cmd/bltest/blapitest.c:3051:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(filename, "%s/tests/%s/%s%d", testdir, modestr, "ciphertext", j);
data/nss-pem-1.0.6/nss/nss/cmd/bltest/blapitest.c:3055:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(filename, "%s/tests/%s/%s%d", testdir, modestr, "key", j);
data/nss-pem-1.0.6/nss/nss/cmd/bltest/blapitest.c:3059:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(filename, "%s/tests/%s/%s%d", testdir, modestr, "sigseed", j);
data/nss-pem-1.0.6/nss/nss/cmd/bltest/blapitest.c:3062:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(filename, "%s/tests/%s/%s%d", testdir, modestr, "ciphertext", j);
data/nss-pem-1.0.6/nss/nss/cmd/bltest/blapitest.c:3178:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(filename, "%s/tests/%s/%s", testdir, modestr, "numtests");
data/nss-pem-1.0.6/nss/nss/cmd/bltest/blapitest.c:3194:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(filename, "%s/tests/%s/%s%d", testdir, modestr,
data/nss-pem-1.0.6/nss/nss/cmd/bltest/blapitest.c:3199:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(filename, "%s/tests/%s/%s%d", testdir, modestr,
data/nss-pem-1.0.6/nss/nss/cmd/btoa/btoa.c:14:12:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern int fprintf(FILE *, char *, ...);
data/nss-pem-1.0.6/nss/nss/cmd/certutil/certutil.c:1158:13:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define FPS fprintf(stderr,
data/nss-pem-1.0.6/nss/nss/cmd/certutil/keystuff.c:61:13:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define FPS fprintf(stderr,
data/nss-pem-1.0.6/nss/nss/cmd/crlutil/crlgen.c:48:5:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    vfprintf(stderr, msg, args);
data/nss-pem-1.0.6/nss/nss/cmd/dbck/dbck.c:147:13:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define FPS fprintf(stderr,
data/nss-pem-1.0.6/nss/nss/cmd/derdump/derdump.c:11:12:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern int fprintf(FILE *, char *, ...);
data/nss-pem-1.0.6/nss/nss/cmd/digest/digest.c:13:12:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern int fprintf(FILE *, char *, ...);
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:430:17:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
            if (crypt != ENCRYPT) {
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:459:17:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
            if (crypt != DECRYPT) {
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:567:28:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
              unsigned int crypt, unsigned char *inputtext,
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:838:17:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
            if (crypt != ENCRYPT) {
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:852:59:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
                tdea_mct_test(NSS_DES_EDE3, key, numKeys, crypt, plaintext, sizeof plaintext, NULL, resp);
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:854:63:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
                tdea_mct_test(NSS_DES_EDE3_CBC, key, numKeys, crypt, plaintext, sizeof plaintext, iv, resp);
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:861:17:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
            if (crypt != DECRYPT) {
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:875:59:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
                tdea_mct_test(NSS_DES_EDE3, key, numKeys, crypt, ciphertext, sizeof ciphertext, NULL, resp);
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:877:63:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
                tdea_mct_test(NSS_DES_EDE3_CBC, key, numKeys, crypt, ciphertext, sizeof ciphertext, iv, resp);
data/nss-pem-1.0.6/nss/nss/cmd/httpserv/httpserv.c:41:22:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#define PORT_Sprintf sprintf
data/nss-pem-1.0.6/nss/nss/cmd/httpserv/httpserv.c:66:5:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    printf
data/nss-pem-1.0.6/nss/nss/cmd/httpserv/httpserv.c:69:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf
data/nss-pem-1.0.6/nss/nss/cmd/lib/basicutil.c:58:5:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    vfprintf(out, msg, args);
data/nss-pem-1.0.6/nss/nss/cmd/lib/basicutil.c:78:5:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    vfprintf(stderr, msg, args);
data/nss-pem-1.0.6/nss/nss/cmd/lib/basicutil.c:99:5:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    vfprintf(stderr, msg, args);
data/nss-pem-1.0.6/nss/nss/cmd/lib/derprint.c:10:12:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern int fprintf(FILE *strm, const char *format, ... /* args */);
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:235:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(prompt, "Enter Password or Pin for \"%s\":",
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:241:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(prompt,
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:439:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(sslDir, "%s", dir);
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:453:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(path, "%s%s", dir, filename);
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:455:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(path, "%s/%s", dir, filename);
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:476:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(buf, "%.900s%s", home, dir);
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:478:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(buf, "%.900s/%s", home, dir);
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:812:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(out, /* { */ "}\n");
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:1346:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(om, "Value (%d)%s", i, attr->encoded ? " (encoded)" : "");
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:1650:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(out, (found ? ">\n" : "none\n"));
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:2144:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(out, str);
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/perf/libpkix_buildthreads.c:266:11:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    (void)printf(message);
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/perf/nss_threads.c:118:11:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    (void)printf(message);
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix/top/test_policychecker.c:28:5:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    printf(fmt, testname);
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/module/test_httpcertstore.c:49:5:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    printf(fmt, "test_httpcertstore");
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/module/test_socket.c:97:5:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    printf(fmt, testname);
data/nss-pem-1.0.6/nss/nss/cmd/modutil/install-ds.c:623:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(buf, "%s.", _this->verString[i]);
data/nss-pem-1.0.6/nss/nss/cmd/modutil/install-ds.c:624:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        strcat(tmp, buf);
data/nss-pem-1.0.6/nss/nss/cmd/modutil/install-ds.c:627:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(buf, "%s", _this->verString[i]);
data/nss-pem-1.0.6/nss/nss/cmd/modutil/install-ds.c:628:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        strcat(tmp, buf);
data/nss-pem-1.0.6/nss/nss/cmd/modutil/install-ds.c:1298:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(tmp, str);
data/nss-pem-1.0.6/nss/nss/cmd/modutil/install.c:802:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(tmp, str);
data/nss-pem-1.0.6/nss/nss/cmd/modutil/lex.Pk11Install_yy.c:1572:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(tmp, str);
data/nss-pem-1.0.6/nss/nss/cmd/modutil/pk11.c:207:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(buf, string);
data/nss-pem-1.0.6/nss/nss/cmd/modutil/pk11.c:256:13:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
            strcat(buf, array[i].name);
data/nss-pem-1.0.6/nss/nss/cmd/mpitests/mpi-test.c:959:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(g_intbuf, ZS_DIGIT_FMT, r);
data/nss-pem-1.0.6/nss/nss/cmd/mpitests/mpi-test.c:975:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(g_intbuf, ZS_DIGIT_FMT, r);
data/nss-pem-1.0.6/nss/nss/cmd/mpitests/mpi-test.c:1193:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(g_intbuf, ZS_DIGIT_FMT, r);
data/nss-pem-1.0.6/nss/nss/cmd/mpitests/mpi-test.c:2122:5:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    vfprintf(stderr, fmt, ap);
data/nss-pem-1.0.6/nss/nss/cmd/nss-policy-check/nss-policy-check.c:130:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(moduleSpec,
data/nss-pem-1.0.6/nss/nss/cmd/p7content/p7content.c:27:12:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern int fprintf(FILE *, char *, ...);
data/nss-pem-1.0.6/nss/nss/cmd/p7env/p7env.c:27:12:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern int fprintf(FILE *, char *, ...);
data/nss-pem-1.0.6/nss/nss/cmd/p7sign/p7sign.c:30:12:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern int fprintf(FILE *, char *, ...);
data/nss-pem-1.0.6/nss/nss/cmd/p7verify/p7verify.c:28:12:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern int fprintf(FILE *, char *, ...);
data/nss-pem-1.0.6/nss/nss/cmd/pk11mode/pk11mode.c:1608:9:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        vprintf(fmt, args);
data/nss-pem-1.0.6/nss/nss/cmd/pk11mode/pk11mode.c:1627:5:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    vfprintf(stderr, fmt, args);
data/nss-pem-1.0.6/nss/nss/cmd/pk11util/pk11util.c:566:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(current->vname, vname);
data/nss-pem-1.0.6/nss/nss/cmd/pk1sign/pk1sign.c:31:12:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern int fprintf(FILE *, char *, ...);
data/nss-pem-1.0.6/nss/nss/cmd/pp/pp.c:13:12:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern int fprintf(FILE *, char *, ...);
data/nss-pem-1.0.6/nss/nss/cmd/selfserv/selfserv.c:47:22:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#define PORT_Sprintf sprintf
data/nss-pem-1.0.6/nss/nss/cmd/selfserv/selfserv.c:150:5:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    printf
data/nss-pem-1.0.6/nss/nss/cmd/selfserv/selfserv.c:153:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf
data/nss-pem-1.0.6/nss/nss/cmd/shlibsign/shlibsign.c:565:9:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        vprintf(fmt, args);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/certgen.c:132:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(common_name_buf, "%s (%lu)", DEFAULT_COMMON_NAME,
data/nss-pem-1.0.6/nss/nss/cmd/signtool/certgen.c:140:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(common_name, "CN=%s, ", cp);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/certgen.c:160:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(org, "O=%s, ", cp);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/certgen.c:181:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(orgunit, "OU=%s, ", cp);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/certgen.c:201:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(state, "ST=%s, ", cp);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/certgen.c:224:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(country, "C=%s, ", cp);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/certgen.c:244:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(uid, "UID=%s, ", cp);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/certgen.c:264:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(email, "E=%s,", cp);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/certgen.c:275:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(subject, "%s%s%s%s%s%s%s",
data/nss-pem-1.0.6/nss/nss/cmd/signtool/certgen.c:665:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(filename, "%s.raw", DEFAULT_X509_BASENAME);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/certgen.c:694:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(filename, "%s.cacert", DEFAULT_X509_BASENAME);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/javascript.c:108:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(fullname, "%s/%s", basedir, relpath);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/sign.c:282:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(sf_file, "%s/META-INF/%s.sf", dir, base);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/sign.c:283:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(pk7_file, "%s/META-INF/%s.%s", dir, base, file_ext);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/sign.c:371:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(metadir, "%s/META-INF", dirname);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/sign.c:373:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(sfname, metadir);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/sign.c:378:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(metadir, MANIFEST);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/sign.c:422:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(sfname, base);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/sign.c:497:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(fullname, "%s/%s", basedir, relpath);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/sign.c:719:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(whofile, who);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/util.c:450:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(fn, "%s/cert8.db", dir);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/util.c:471:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(fn, "%s/key3.db", dir);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/util.c:506:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(newdir, dirname);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/util.c:509:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        strcat(newdir, prefix);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/util.c:531:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(newdir, dirname);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/util.c:536:13:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
            strcat(newdir, prefix);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/util.c:539:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        strcat(newdir, entry->name);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/util.c:544:13:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
            strcpy(newpath, prefix);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/util.c:547:13:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
            strcat(newpath, entry->name);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/util.c:560:17:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                strcpy(newprefix, prefix);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/util.c:564:17:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
                strcat(newprefix, entry->name);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/util.c:981:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(db, "%s/.netscape", home);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/util.c:994:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(db, "%s/cert7.db", home);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/util.c:1007:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(db, "%s/cert7.db", home);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/util.c:1021:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(db, "%s/cert7.db", home);
data/nss-pem-1.0.6/nss/nss/cmd/signver/pk7print.c:159:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(om, "%svalue[%d]=%s", m, i++, attr->encoded ? "(encoded)" : "");
data/nss-pem-1.0.6/nss/nss/cmd/signver/pk7print.c:266:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(mm, "%sattribute[%d].", m, iv++);
data/nss-pem-1.0.6/nss/nss/cmd/signver/pk7print.c:286:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(mm, "%sattribute[%d].", m, iv++);
data/nss-pem-1.0.6/nss/nss/cmd/signver/pk7print.c:322:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(mm, "%s.publicKeyAlgorithm=", msg);
data/nss-pem-1.0.6/nss/nss/cmd/signver/pk7print.c:337:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(mm, "%s.rsaPublicKey.", msg);
data/nss-pem-1.0.6/nss/nss/cmd/signver/pk7print.c:346:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(mm, "%s.dsaPublicKey.", msg);
data/nss-pem-1.0.6/nss/nss/cmd/signver/pk7print.c:446:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(om, "%sentry[%d].signedCRLEntriesExtensions.", m, iv++);
data/nss-pem-1.0.6/nss/nss/cmd/signver/pk7print.c:450:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(om, "%ssignedCRLEntriesExtensions.", m);
data/nss-pem-1.0.6/nss/nss/cmd/signver/pk7print.c:482:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(mm, "%sserialNumber=", m);
data/nss-pem-1.0.6/nss/nss/cmd/signver/pk7print.c:484:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(mm, "%ssignatureAlgorithm=", m);
data/nss-pem-1.0.6/nss/nss/cmd/signver/pk7print.c:486:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(mm, "%sissuerName=", m);
data/nss-pem-1.0.6/nss/nss/cmd/signver/pk7print.c:488:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(mm, "%svalidity.", m);
data/nss-pem-1.0.6/nss/nss/cmd/signver/pk7print.c:490:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(mm, "%ssubject=", m);
data/nss-pem-1.0.6/nss/nss/cmd/signver/pk7print.c:492:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(mm, "%ssubjectPublicKeyInfo", m);
data/nss-pem-1.0.6/nss/nss/cmd/signver/pk7print.c:498:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(mm, "%ssignedExtensions.", m);
data/nss-pem-1.0.6/nss/nss/cmd/ssltap/ssltap.c:2235:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        strcat(string, t);
data/nss-pem-1.0.6/nss/nss/cmd/strsclnt/strsclnt.c:32:22:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#define PORT_Sprintf sprintf
data/nss-pem-1.0.6/nss/nss/cmd/strsclnt/strsclnt.c:137:5:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    printf
data/nss-pem-1.0.6/nss/nss/cmd/strsclnt/strsclnt.c:140:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf
data/nss-pem-1.0.6/nss/nss/cmd/symkeyutil/symkeyutil.c:380:13:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define FPS fprintf(stderr,
data/nss-pem-1.0.6/nss/nss/cmd/tstclnt/tstclnt.c:48:5:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    printf
data/nss-pem-1.0.6/nss/nss/cmd/tstclnt/tstclnt.c:51:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/nsinstall.c:263:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(toname, "%s/%s", todir, base);
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/nsinstall.c:295:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		    sprintf(linkname, "%s/%s", linkprefix, name);
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/nsinstall.c:303:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(linkname + lplen, name);
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/nsinstall.c:352:37:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	        (!S_ISREG(tosb.st_mode) || access(toname, W_OK) < 0)) {
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/pathsub.c:40:5:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    vfprintf(stderr, format, ap);
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/pathsub.c:128:12:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    return strcpy((char*)xmalloc(strlen(s) + 1), s);
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/pathsub.c:172:15:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	len = strlen(strcpy(outpath, to));
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/pathsub.c:184:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	    sprintf(outpath + len, "%s/", buf);
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/pathsub.c:198:10:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    cp = strcpy(outpath + PATH_MAX - (len + 1), name);
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/pathsub.c:209:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	    strcpy(cp, name);
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/pathsub.c:219:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(outpath, cp);
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/pathsub.c:251:11:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	    rv = access(myPath, X_OK);
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/pathsub.c:257:11:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	    rv = access(myPath, F_OK);
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/sunos4.h:65:12:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern int printf(const char *, ...);
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/sunos4.h:66:12:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern int fprintf(FILE *, const char *, ...);
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/sunos4.h:67:12:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern int vprintf(const char *, va_list);
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/sunos4.h:68:12:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
extern int vfprintf(FILE *, const char *, va_list);
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/sunos4.h:69:14:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
extern char *vsprintf(char *, const char *, va_list);
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/sunos4.h:70:12:  [4] (buffer) scanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
extern int scanf(const char *, ...);
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/sunos4.h:71:12:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
extern int sscanf(const char *, const char *, ...);
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/sunos4.h:72:12:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
extern int fscanf(FILE *, const char *, ...);
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/sunos4.h:87:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
extern int system(const char *);
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/sunos4.h:88:14:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
extern FILE *popen(const char *, const char *);
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/include/gtest/internal/gtest-death-test-internal.h:169:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(\
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/include/gtest/internal/gtest-port.h:2503:20:  [4] (buffer) StrNCpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
inline const char* StrNCpy(char* dest, const char* src, size_t n) {
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/include/gtest/internal/gtest-port.h:2574:26:  [4] (format) _snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
# define GTEST_SNPRINTF_ _snprintf
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/include/gtest/internal/gtest-port.h:2576:26:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
# define GTEST_SNPRINTF_ snprintf
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/src/gtest.cc:138:10:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
# define vsnprintf _vsnprintf
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/src/gtest.cc:3039:5:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    vprintf(fmt, args);
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/src/gtest.cc:3060:3:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vprintf(fmt, args);
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/src/gtest.cc:3067:3:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vprintf(fmt, args);
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/googletest-death-test-test.cc:1306:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(stderr, InDeathTestChild() ? "Inside" : "Outside");
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/googletest-death-test-test.cc:1316:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(stderr, InDeathTestChild() ? "Inside" : "Outside");
data/nss-pem-1.0.6/nss/nss/lib/certhigh/ocsp.c:3704:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(fullGetPath, location);
data/nss-pem-1.0.6/nss/nss/lib/dbm/src/dirent.c:169:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(dir->name, name);
data/nss-pem-1.0.6/nss/nss/lib/dbm/src/dirent.c:281:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(name, dir->name);
data/nss-pem-1.0.6/nss/nss/lib/dbm/src/h_page.c:1161:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(filename, namestr + 1);
data/nss-pem-1.0.6/nss/nss/lib/dbm/src/h_page.c:1172:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(filename, tmpdir);
data/nss-pem-1.0.6/nss/nss/lib/dbm/src/h_page.c:1176:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(filename, (last == '/' || last == '\\') ? namestr + 1 : namestr);
data/nss-pem-1.0.6/nss/nss/lib/dbm/src/snprintf.c:14:1:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
snprintf(char *str, size_t n, const char *fmt, ...)
data/nss-pem-1.0.6/nss/nss/lib/dbm/src/snprintf.c:24:10:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
    rp = vsprintf(str, fmt, ap);
data/nss-pem-1.0.6/nss/nss/lib/dbm/src/snprintf.c:28:12:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
    rval = vsprintf(str, fmt, ap);
data/nss-pem-1.0.6/nss/nss/lib/dbm/src/snprintf.c:35:5:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    vsnprintf(str, n, fmt, ap) char *str;
data/nss-pem-1.0.6/nss/nss/lib/dbm/src/snprintf.c:41:20:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
    return (strlen(vsprintf(str, fmt, ap)));
data/nss-pem-1.0.6/nss/nss/lib/dbm/src/snprintf.c:43:13:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
    return (vsprintf(str, fmt, ap));
data/nss-pem-1.0.6/nss/nss/lib/dbm/tests/lots.c:76:5:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    vfprintf(stderr, string, args);
data/nss-pem-1.0.6/nss/nss/lib/dbm/tests/lots.c:95:5:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    vfprintf(stderr, string, args);
data/nss-pem-1.0.6/nss/nss/lib/freebl/genload.c:37:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(resolved, tmp); /* This is necessary because PR_Free might not be using free() */
data/nss-pem-1.0.6/nss/nss/lib/freebl/genload.c:61:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(input, link);
data/nss-pem-1.0.6/nss/nss/lib/freebl/genload.c:98:13:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
            strcpy(fullName + referencePathSize, name);
data/nss-pem-1.0.6/nss/nss/lib/freebl/mpi/mpi-priv.h:25:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(stderr, T);  \
data/nss-pem-1.0.6/nss/nss/lib/freebl/mpi/mpi.c:2495:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(ofp, DIGIT_FMT, DIGIT(mp, ix));
data/nss-pem-1.0.6/nss/nss/lib/freebl/shvfy.c:181:9:  [4] (shell) execv:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        execv(command, argv);
data/nss-pem-1.0.6/nss/nss/lib/freebl/stubs.c:447:10:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    rv = access(name, mode);
data/nss-pem-1.0.6/nss/nss/lib/freebl/stubs.c:470:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(result, dli.dli_fname);
data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/kremlin/include/kremlin/internal/target.h:22:26:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define KRML_HOST_PRINTF printf
data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/kremlin/include/kremlin/internal/target.h:28:32:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define KRML_HOST_EPRINTF(...) fprintf(stderr, __VA_ARGS__)
data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/kremlin/include/kremlin/internal/target.h:101:47:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define KRML_HOST_SNPRINTF(buf, sz, fmt, arg) snprintf(buf, sz, fmt, arg)
data/nss-pem-1.0.6/nss/nss/lib/libpkix/include/pkix_errorstrings.h:91:60:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
PKIX_ERRORENTRY(CANTREREGISTERSYSTEMTYPE,Cannot reregister system type,0),
data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/util/pkix_tools.c:1513:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        strcat(errorFnStackString, fnStackNameArr[pos++]);
data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/util/pkix_tools.h:644:16:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        (void) fprintf(stderr, expr);                \
data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/util/pkix_tools.h:654:9:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	(void) printf(expr, arg); \
data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_ocspresponse.c:483:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
				strcpy(fullGetPath, path);
data/nss-pem-1.0.6/nss/nss/lib/softoken/sdb.c:283:13:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
        if (access(zDir, 07))
data/nss-pem-1.0.6/nss/nss/lib/softoken/sdb.c:442:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(temp, directory);
data/nss-pem-1.0.6/nss/nss/lib/softoken/sdb.c:449:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(temp, template);
data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkdb.c:256:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(id, SFTKDB_META_SIG_TEMPLATE,
data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkdb.c:281:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(id, SFTKDB_META_SIG_TEMPLATE,
data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkdb.c:307:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(id, SFTKDB_META_SIG_TEMPLATE,
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:32952:42:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
  { "access",       (sqlite3_syscall_ptr)access,     0  },
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:50760:28:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define sqlite3DebugPrintf printf
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:63283:42:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
# define TRACE(X)  if(sqlite3BtreeTrace){printf X;fflush(stdout);}
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:78142:3:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  fprintf(pOut, zFormat1, pc, 
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:84255:5:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    printf(p->flags & MEM_Zero ? " NULL-nochng" : " NULL");
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:115441:14:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    FUNCTION(printf,            -1, 0, 0, printfFunc       ),
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:186107:35:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
# define GEODEBUG(X) if(geo_debug)printf X
data/nss-pem-1.0.6/nss/nss/lib/ssl/ssl3con.c:10620:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(cfn, "%s/%08d%s", testdir, fileNum, extension);
data/nss-pem-1.0.6/nss/nss/lib/ssl/ssl3con.c:11544:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(buf, label);
data/nss-pem-1.0.6/nss/nss/lib/sysinit/nsssysinit.c:149:13:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    return (access(NSS_DEFAULT_SYSTEM, W_OK) == 0);
data/nss-pem-1.0.6/nss/nss/lib/util/nssilock.c:123:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(tp->file, file);
data/nss-pem-1.0.6/nss/nss/lib/util/nssrwlk.c:98:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(rwlock->rw_name, lock_name);
data/nss-pem-1.0.6/nss/nss/lib/util/portreg.c:178:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(e2 + count, exp + cp);
data/nss-pem-1.0.6/nss/nss/lib/util/secasn1d.c:161:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(buf, " %s", class_names[(kind & SEC_ASN1_CLASS_MASK) >> 6]);
data/nss-pem-1.0.6/nss/nss/lib/util/secasn1d.c:165:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(buf, " %s", method_names[1]);
data/nss-pem-1.0.6/nss/nss/lib/util/secasn1d.c:170:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(buf, " %s", type_names[k]);
data/nss-pem-1.0.6/nss/nss/lib/util/secasn1d.c:184:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(buf, " %s", flag_names[i]);
data/nss-pem-1.0.6/nss/nss/lib/util/secload.c:42:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(input, link);
data/nss-pem-1.0.6/nss/nss/lib/util/secload.c:78:13:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
            strcpy(fullName + referencePathSize, name);
data/nss-pem-1.0.6/nss/nss/lib/util/secport.c:749:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(encoded, envVarName);
data/nss-pem-1.0.6/nss/nss/lib/util/secport.c:751:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(encoded, envValue);
data/nss-pem-1.0.6/nss/nss/lib/util/secport.h:192:21:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
#define PORT_Strcat strcat
data/nss-pem-1.0.6/nss/nss/lib/util/secport.h:196:21:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
#define PORT_Strcpy strcpy
data/nss-pem-1.0.6/nss/nss/lib/zlib/gzguts.h:86:18:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#    if !defined(vsnprintf) && !defined(NO_vsnprintf)
data/nss-pem-1.0.6/nss/nss/lib/zlib/gzguts.h:88:18:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#         define vsnprintf _vsnprintf
data/nss-pem-1.0.6/nss/nss/lib/zlib/gzguts.h:110:11:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#  define snprintf _snprintf
data/nss-pem-1.0.6/nss/nss/lib/zlib/gzguts.h:110:20:  [4] (format) _snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#  define snprintf _snprintf
data/nss-pem-1.0.6/nss/nss/lib/zlib/gzlib.c:216:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(state->path, path);
data/nss-pem-1.0.6/nss/nss/lib/zlib/gzlib.c:614:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(state->msg, state->path);
data/nss-pem-1.0.6/nss/nss/lib/zlib/gzlib.c:616:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(state->msg, msg);
data/nss-pem-1.0.6/nss/nss/lib/zlib/gzwrite.c:417:11:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
    (void)vsprintf(next, format, va);
data/nss-pem-1.0.6/nss/nss/lib/zlib/gzwrite.c:421:11:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
    len = vsprintf(next, format, va);
data/nss-pem-1.0.6/nss/nss/lib/zlib/gzwrite.c:425:11:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    (void)vsnprintf(next, state->size, format, va);
data/nss-pem-1.0.6/nss/nss/lib/zlib/gzwrite.c:428:11:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    len = vsnprintf(next, state->size, format, va);
data/nss-pem-1.0.6/nss/nss/lib/zlib/gzwrite.c:511:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(next, format, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12,
data/nss-pem-1.0.6/nss/nss/lib/zlib/gzwrite.c:517:11:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    len = sprintf(next, format, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11,
data/nss-pem-1.0.6/nss/nss/lib/zlib/gzwrite.c:522:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf(next, state->size, format, a1, a2, a3, a4, a5, a6, a7, a8, a9,
data/nss-pem-1.0.6/nss/nss/lib/zlib/gzwrite.c:526:11:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    len = snprintf(next, state->size, format, a1, a2, a3, a4, a5, a6, a7, a8,
data/nss-pem-1.0.6/nss/nss/lib/zlib/zutil.h:242:39:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  define Trace(x) {if (z_verbose>=0) fprintf x ;}
data/nss-pem-1.0.6/nss/nss/lib/zlib/zutil.h:243:39:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  define Tracev(x) {if (z_verbose>0) fprintf x ;}
data/nss-pem-1.0.6/nss/nss/lib/zlib/zutil.h:244:40:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  define Tracevv(x) {if (z_verbose>1) fprintf x ;}
data/nss-pem-1.0.6/nss/nss/lib/zlib/zutil.h:245:48:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  define Tracec(c,x) {if (z_verbose>0 && (c)) fprintf x ;}
data/nss-pem-1.0.6/nss/nss/lib/zlib/zutil.h:246:49:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  define Tracecv(c,x) {if (z_verbose>1 && (c)) fprintf x ;}
data/nss-pem-1.0.6/src/pinst.c:248:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(o->nickname, nickname);
data/nss-pem-1.0.6/nss/nss/cmd/crmf-cgi/crmfcgi.c:40:10:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    long random;
data/nss-pem-1.0.6/nss/nss/cmd/crmf-cgi/crmfcgi.c:771:36:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
               i + 1, challInfo[i].random);
data/nss-pem-1.0.6/nss/nss/cmd/crmf-cgi/crmfcgi.c:813:72:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
                                                          challInfo[i].random,
data/nss-pem-1.0.6/nss/nss/cmd/crmf-cgi/crmfcgi.c:1058:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(time(NULL));
data/nss-pem-1.0.6/nss/nss/cmd/mpitests/mpi-test.c:393:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand((unsigned int)time(NULL));
data/nss-pem-1.0.6/nss/nss/cmd/pk11mode/pk11mode.c:398:15:  [3] (misc) LoadLibrary:
  Ensure that the full path to the library is specified, or current directory
  may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to
  find library path, if you aren't already.
    hModule = LoadLibrary(LIB_NAME);
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/nsinstall.c:201:19:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((opt = getopt(argc, argv, "C:DdlL:Rm:o:g:t")) != EOF) {
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/sunos4.h:43:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
extern int getopt(int argc, char **argv, char *spec);
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/sunos4.h:46:12:  [3] (random) srandom:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
extern int srandom(long val);
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/sunos4.h:47:13:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
extern long random(void);
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/sunos4.h:98:13:  [3] (random) lrand48:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
extern long lrand48(void);
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/sunos4.h:99:15:  [3] (random) drand48:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
extern double drand48(void);
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/sunos4.h:129:14:  [3] (buffer) getwd:
  This does not protect against buffer overflows by itself, so use with
  caution (CWE-120, CWE-20). Use getcwd instead.
extern char *getwd(char *);
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/include/gtest/gtest.h:966:39:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  void ShuffleTests(internal::Random* random);
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/include/gtest/internal/gtest-port.h:2542:27:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  const char* const env = getenv(name);
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/include/gtest/internal/gtest-port.h:2545:10:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  return getenv(name);
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/src/gtest-internal-inl.h:308:37:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
void ShuffleRange(internal::Random* random, int begin, int end,
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/src/gtest-internal-inl.h:329:39:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
inline void Shuffle(internal::Random* random, std::vector<E>* v) {
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/src/gtest-internal-inl.h:330:16:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  ShuffleRange(random, 0, static_cast<int>(v->size()), v);
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/src/gtest-internal-inl.h:796:21:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  internal::Random* random() { return &random_; }
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/src/gtest-port.cc:258:5:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
  ::InitializeCriticalSection(critical_section_);
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/src/gtest-port.cc:276:5:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  ::EnterCriticalSection(critical_section_);
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/src/gtest-port.cc:349:11:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
        ::InitializeCriticalSection(critical_section_);
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/src/gtest.cc:2830:47:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
void TestCase::ShuffleTests(internal::Random* random) {
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/src/gtest.cc:2831:11:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  Shuffle(random, &test_indices_);
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/src/gtest.cc:5155:7:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
      random()->Reseed(random_seed_);
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/src/gtest.cc:5505:16:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  ShuffleRange(random(), 0, last_death_test_case_ + 1, &test_case_indices_);
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/src/gtest.cc:5508:16:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  ShuffleRange(random(), last_death_test_case_ + 1,
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/src/gtest.cc:5513:34:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    test_cases_[i]->ShuffleTests(random());
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/gtest_unittest.cc:447:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if (getenv("TZ"))
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/gtest_unittest.cc:448:26:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      saved_tz_ = strdup(getenv("TZ"));
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/gtest_unittest.cc:735:29:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  testing::internal::Random random(42);
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/gtest_unittest.cc:737:7:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
      random.Generate(0),
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/gtest_unittest.cc:740:7:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
      random.Generate(testing::internal::Random::kMaxRange + 1),
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/gtest_unittest.cc:747:29:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  testing::internal::Random random(12345);
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/gtest_unittest.cc:749:15:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    EXPECT_LT(random.Generate(kRange), kRange) << " for iteration " << i;
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/gtest_unittest.cc:764:29:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  testing::internal::Random random(kSeed);
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/gtest_unittest.cc:766:17:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    values[i] = random.Generate(kRange);
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/gtest_unittest.cc:769:3:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  random.Reseed(kSeed);
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/gtest_unittest.cc:771:26:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    EXPECT_EQ(values[i], random.Generate(kRange)) << " for iteration " << i;
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/gtest_unittest.cc:836:29:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  testing::internal::Random random(1);
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/gtest_unittest.cc:839:21:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
      ShuffleRange(&random, -1, 1, &a),
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/gtest_unittest.cc:842:21:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
      ShuffleRange(&random, 4, 4, &a),
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/gtest_unittest.cc:845:21:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
      ShuffleRange(&random, 3, 2, &a),
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/gtest_unittest.cc:848:21:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
      ShuffleRange(&random, 3, 4, &a),
data/nss-pem-1.0.6/nss/nss/gtests/pk11_gtest/pk11_export_unittest.cc:47:19:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    unsigned char random[32] = {0};
data/nss-pem-1.0.6/nss/nss/gtests/pk11_gtest/pk11_export_unittest.cc:48:36:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    kmp.RandomInfo.pClientRandom = random;
data/nss-pem-1.0.6/nss/nss/gtests/pk11_gtest/pk11_export_unittest.cc:49:47:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    kmp.RandomInfo.ulClientRandomLen = sizeof(random);
data/nss-pem-1.0.6/nss/nss/gtests/pk11_gtest/pk11_export_unittest.cc:50:36:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    kmp.RandomInfo.pServerRandom = random;
data/nss-pem-1.0.6/nss/nss/gtests/pk11_gtest/pk11_export_unittest.cc:51:47:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    kmp.RandomInfo.ulServerRandomLen = sizeof(random);
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/selfencrypt_unittest.cc:80:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    char* ev = getenv("SSLTRACE");
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/tls_hkdf_unittest.cc:127:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    char* ev = getenv("SSLTRACE");
data/nss-pem-1.0.6/nss/nss/lib/dbm/src/h_page.c:1163:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    tmpdir = getenv("TMP");
data/nss-pem-1.0.6/nss/nss/lib/dbm/src/h_page.c:1165:18:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        tmpdir = getenv("TMPDIR");
data/nss-pem-1.0.6/nss/nss/lib/dbm/src/h_page.c:1167:18:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        tmpdir = getenv("TEMP");
data/nss-pem-1.0.6/nss/nss/lib/freebl/blapi.h:286:41:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
                               SECItem *random);
data/nss-pem-1.0.6/nss/nss/lib/freebl/genload.c:32:17:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
    char* tmp = realpath(link, NULL);
data/nss-pem-1.0.6/nss/nss/lib/freebl/mpi/mulsqr.c:50:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(seed);
data/nss-pem-1.0.6/nss/nss/lib/freebl/mpi/mulsqr.c:61:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(seed);
data/nss-pem-1.0.6/nss/nss/lib/mozpkix/test-lib/pkixtestutil.cpp:473:23:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  const char* value = getenv(name);
data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11cxt.c:794:23:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
        unsigned char random[8];
data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11cxt.c:797:38:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
            rv = PK11_GenerateRandom(random, sizeof(random));
data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11cxt.c:797:53:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
            rv = PK11_GenerateRandom(random, sizeof(random));
data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11cxt.c:808:81:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
            crv = PK11_GETTAB(context->slot)->C_EncryptUpdate(context->session, random, sizeof(random), out, &length);
data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11cxt.c:808:96:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
            crv = PK11_GETTAB(context->slot)->C_EncryptUpdate(context->session, random, sizeof(random), out, &length);
data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11cxt.c:814:29:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
            length = sizeof(random);
data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11cxt.c:815:105:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
            crv = PK11_GETTAB(context->slot)->C_DecryptUpdate(context->session, (CK_BYTE_PTR)in, sizeof(random), random, &length);
data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11cxt.c:815:114:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
            crv = PK11_GETTAB(context->slot)->C_DecryptUpdate(context->session, (CK_BYTE_PTR)in, sizeof(random), random, &length);
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11c.c:62:13:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    PRUint8 random[46];
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11c.c:4661:49:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
                NSC_GenerateRandom(0, &rsa_pms->random[0], sizeof(rsa_pms->random));
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11c.c:4661:76:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
                NSC_GenerateRandom(0, &rsa_pms->random[0], sizeof(rsa_pms->random));
data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkpwd.c:44:17:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    char *val = getenv("NSS_MIN_MP_PBE_ITERATION_COUNT");
data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkpwd.c:52:11:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    val = getenv("NSS_MAX_MP_PBE_ITERATION_COUNT");
data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkpwd.c:68:21:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    char *iterEnv = getenv(legacyCountEnvVar);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:26314:7:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
      InitializeCriticalSection(&winMutex_staticMutexes[i].mutex);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:26408:9:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
        InitializeCriticalSection(&p->mutex);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:26474:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection(&p->mutex);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:35557:10:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    lk = random(); 
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:38242:32:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  if( !azDirs[0] ) azDirs[0] = getenv("SQLITE_TMPDIR");
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:38243:32:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  if( !azDirs[1] ) azDirs[1] = getenv("TMPDIR");
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:38698:22:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    char *envforce = getenv("SQLITE_FORCE_PROXY_LOCKING");
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:45427:34:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if( !azDirs[0] ) azDirs[0] = getenv("SQLITE_TMPDIR");
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:45428:34:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if( !azDirs[1] ) azDirs[1] = getenv("TMPDIR");
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:45429:34:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if( !azDirs[2] ) azDirs[2] = getenv("TMP");
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:45430:34:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if( !azDirs[3] ) azDirs[3] = getenv("TEMP");
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:45431:34:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if( !azDirs[4] ) azDirs[4] = getenv("USERPROFILE");
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:115453:15:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    VFUNCTION(random,            0, 0, 0, randomFunc       ),
data/nss-pem-1.0.6/nss/nss/lib/ssl/ssl3con.c:1192:30:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
ssl3_GetNewRandom(SSL3Random random)
data/nss-pem-1.0.6/nss/nss/lib/ssl/ssl3con.c:1196:30:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    rv = PK11_GenerateRandom(random, SSL3_RANDOM_LENGTH);
data/nss-pem-1.0.6/nss/nss/lib/ssl/ssl3con.c:9287:20:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    unsigned char *random;
data/nss-pem-1.0.6/nss/nss/lib/ssl/ssl3con.c:9370:17:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
                random, rand_length);
data/nss-pem-1.0.6/nss/nss/lib/ssl/ssl3con.c:9493:20:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    const PRUint8 *random;
data/nss-pem-1.0.6/nss/nss/lib/ssl/ssl3con.c:9513:39:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    rv = sslBuffer_Append(messageBuf, random, SSL3_RANDOM_LENGTH);
data/nss-pem-1.0.6/nss/nss/cmd/addbuiltin/addbuiltin.c:191:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char sha1_hash[SHA1_LENGTH];
data/nss-pem-1.0.6/nss/nss/cmd/addbuiltin/addbuiltin.c:192:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char md5_hash[MD5_LENGTH];
data/nss-pem-1.0.6/nss/nss/cmd/addbuiltin/addbuiltin.c:501:24:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            crlentry = atoi(addbuiltin.options[opt_CRLEntry].arg);
data/nss-pem-1.0.6/nss/nss/cmd/atob/atob.c:53:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char ibuf[4096];
data/nss-pem-1.0.6/nss/nss/cmd/atob/atob.c:135:26:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                inFile = fopen(optstate->value, "r");
data/nss-pem-1.0.6/nss/nss/cmd/atob/atob.c:144:27:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                outFile = fopen(optstate->value, "wb");
data/nss-pem-1.0.6/nss/nss/cmd/bltest/blapitest.c:294:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char len[4];
data/nss-pem-1.0.6/nss/nss/cmd/bltest/blapitest.c:511:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(ecparams->data + 2, oidData->oid.data, oidData->oid.len);
data/nss-pem-1.0.6/nss/nss/cmd/bltest/blapitest.c:992:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char hexstr[5];
data/nss-pem-1.0.6/nss/nss/cmd/bltest/blapitest.c:2913:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(tempModeStr, modeStr->data, modeStr->len);
data/nss-pem-1.0.6/nss/nss/cmd/bltest/blapitest.c:2941:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[256];
data/nss-pem-1.0.6/nss/nss/cmd/bltest/blapitest.c:2988:20:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            file = fopen(filename, "r");
data/nss-pem-1.0.6/nss/nss/cmd/bltest/blapitest.c:3000:42:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                    params->rc5.rounds = atoi(val);
data/nss-pem-1.0.6/nss/nss/cmd/bltest/blapitest.c:3002:44:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                    params->rc5.wordsize = atoi(val);
data/nss-pem-1.0.6/nss/nss/cmd/bltest/blapitest.c:3155:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[256];
data/nss-pem-1.0.6/nss/nss/cmd/bltest/blapitest.c:3305:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(cipherInfo->input.buf.data,
data/nss-pem-1.0.6/nss/nss/cmd/bltest/blapitest.c:3435:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char pubExp[32];
data/nss-pem-1.0.6/nss/nss/cmd/bltest/tests/aes_gcm/hex.c:56:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        skip = atoi(argv[1]);
data/nss-pem-1.0.6/nss/nss/cmd/btoa/btoa.c:44:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char ibuf[4096];
data/nss-pem-1.0.6/nss/nss/cmd/btoa/btoa.c:132:26:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                inFile = fopen(optstate->value, "rb");
data/nss-pem-1.0.6/nss/nss/cmd/btoa/btoa.c:141:27:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                outFile = fopen(optstate->value, "wb");
data/nss-pem-1.0.6/nss/nss/cmd/certutil/certext.c:92:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[512];
data/nss-pem-1.0.6/nss/nss/cmd/certutil/certext.c:231:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[251];
data/nss-pem-1.0.6/nss/nss/cmd/certutil/certext.c:255:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[3];
data/nss-pem-1.0.6/nss/nss/cmd/certutil/certext.c:329:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[5];
data/nss-pem-1.0.6/nss/nss/cmd/certutil/certext.c:512:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[5];
data/nss-pem-1.0.6/nss/nss/cmd/certutil/certext.c:666:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[5];
data/nss-pem-1.0.6/nss/nss/cmd/certutil/certext.c:974:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[10];
data/nss-pem-1.0.6/nss/nss/cmd/certutil/certext.c:1011:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[512];
data/nss-pem-1.0.6/nss/nss/cmd/certutil/certext.c:1197:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[512];
data/nss-pem-1.0.6/nss/nss/cmd/certutil/certext.c:1338:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[512];
data/nss-pem-1.0.6/nss/nss/cmd/certutil/certext.c:1422:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[10];
data/nss-pem-1.0.6/nss/nss/cmd/certutil/certext.c:1469:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[512];
data/nss-pem-1.0.6/nss/nss/cmd/certutil/certext.c:1563:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[512];
data/nss-pem-1.0.6/nss/nss/cmd/certutil/certext.c:1758:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[512];
data/nss-pem-1.0.6/nss/nss/cmd/certutil/certext.c:1781:13:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
            strcpy(buffer, "OID.2.5.29.32.0");
data/nss-pem-1.0.6/nss/nss/cmd/certutil/certext.c:1855:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[512];
data/nss-pem-1.0.6/nss/nss/cmd/certutil/certutil.c:855:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(dst, "%02x", *src++);
data/nss-pem-1.0.6/nss/nss/cmd/certutil/certutil.c:877:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
        strcpy(buffer, "(no CKA_ID)");
data/nss-pem-1.0.6/nss/nss/cmd/certutil/certutil.c:881:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(buffer + 1, ckaID->data, len);
data/nss-pem-1.0.6/nss/nss/cmd/certutil/certutil.c:899:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char ckaIDbuf[MAX_CKA_ID_STR_LEN + 4];
data/nss-pem-1.0.6/nss/nss/cmd/certutil/certutil.c:1101:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char ckaIDbuf[MAX_CKA_ID_STR_LEN + 4];
data/nss-pem-1.0.6/nss/nss/cmd/certutil/certutil.c:2341:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char buf[sizeof(CK_ULONG) * 2 + 3];
data/nss-pem-1.0.6/nss/nss/cmd/certutil/certutil.c:2349:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(buf, "0x%lx", classType);
data/nss-pem-1.0.6/nss/nss/cmd/certutil/certutil.c:2415:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char name[MAX_STRING];
data/nss-pem-1.0.6/nss/nss/cmd/certutil/certutil.c:2789:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(certutil_commands, commands_init, sizeof commands_init);
data/nss-pem-1.0.6/nss/nss/cmd/certutil/certutil.c:2790:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(certutil_options, options_init, sizeof options_init);
data/nss-pem-1.0.6/nss/nss/cmd/certutil/certutil.c:2802:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[2];
data/nss-pem-1.0.6/nss/nss/cmd/certutil/certutil.c:3931:21:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        batchFile = fopen(certutil.options[opt_InputFile].arg, "r");
data/nss-pem-1.0.6/nss/nss/cmd/certutil/keystuff.c:46:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char randbuf[RAND_BUF_SIZE];
data/nss-pem-1.0.6/nss/nss/cmd/certutil/keystuff.c:362:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[2048];
data/nss-pem-1.0.6/nss/nss/cmd/certutil/keystuff.c:504:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(ecparams->data + 2, oidData->oid.data, oidData->oid.len);
data/nss-pem-1.0.6/nss/nss/cmd/crlutil/crlgen.c:179:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[512];
data/nss-pem-1.0.6/nss/nss/cmd/crlutil/crlgen.c:196:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char name[128];
data/nss-pem-1.0.6/nss/nss/cmd/crlutil/crlgen.c:514:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    code = atoi(dataArr[2]);
data/nss-pem-1.0.6/nss/nss/cmd/crlutil/crlgen.c:565:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    code = atoi(dataArr[2]);
data/nss-pem-1.0.6/nss/nss/cmd/crlutil/crlgen.c:860:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        rangeFrom = atoi(rangeFromS);
data/nss-pem-1.0.6/nss/nss/cmd/crlutil/crlgen.c:864:19:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        rangeTo = atol(rangeToS);
data/nss-pem-1.0.6/nss/nss/cmd/crlutil/crlgen.c:866:21:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        rangeFrom = atol(value);
data/nss-pem-1.0.6/nss/nss/cmd/crlutil/crlutil.c:997:28:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                if (str && atoi(str) > 0)
data/nss-pem-1.0.6/nss/nss/cmd/crlutil/crlutil.c:998:34:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                    iterations = atoi(str);
data/nss-pem-1.0.6/nss/nss/cmd/crlutil/crlutil.c:1002:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                crlType = atoi(optstate->value);
data/nss-pem-1.0.6/nss/nss/cmd/crmf-cgi/crmfcgi.c:152:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char string[3];
data/nss-pem-1.0.6/nss/nss/cmd/crmf-cgi/crmfcgi.c:976:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cgiChalVar[10];
data/nss-pem-1.0.6/nss/nss/cmd/crmf-cgi/crmfcgi.c:1010:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(cgiChalVar, "chal%d", i + 1);
data/nss-pem-1.0.6/nss/nss/cmd/crmftest/testcrmf.c:259:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char keyUsage[4] = { 0x03, 0x02, 0x07, KU_DIGITAL_SIGNATURE };
data/nss-pem-1.0.6/nss/nss/cmd/crmftest/testcrmf.c:337:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char UIDbuf[UID_BITS / BPB];
data/nss-pem-1.0.6/nss/nss/cmd/crmftest/testcrmf.c:487:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filePath[PATH_LEN];
data/nss-pem-1.0.6/nss/nss/cmd/crmftest/testcrmf.c:556:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filePath[PATH_LEN];
data/nss-pem-1.0.6/nss/nss/cmd/crmftest/testcrmf.c:865:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filePath[PATH_LEN];
data/nss-pem-1.0.6/nss/nss/cmd/crmftest/testcrmf.c:962:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char plaintext[KNOWN_MESSAGE_LENGTH];
data/nss-pem-1.0.6/nss/nss/cmd/crmftest/testcrmf.c:963:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filePath[PATH_LEN];
data/nss-pem-1.0.6/nss/nss/cmd/crmftest/testcrmf.c:1191:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filePath[PATH_LEN];
data/nss-pem-1.0.6/nss/nss/cmd/dbck/dbck.c:46:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char *dbErrorString[NUM_ERROR_TYPES] = {
data/nss-pem-1.0.6/nss/nss/cmd/dbck/dbck.c:58:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char *errResult[NUM_ERROR_TYPES] = {
data/nss-pem-1.0.6/nss/nss/cmd/dbck/dbrecover.c:175:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char response[32];
data/nss-pem-1.0.6/nss/nss/cmd/derdump/derdump.c:64:27:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                outFile = fopen(optstate->value, "w");
data/nss-pem-1.0.6/nss/nss/cmd/digest/digest.c:94:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char ibuf[4096], digest[32];
data/nss-pem-1.0.6/nss/nss/cmd/digest/digest.c:180:26:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                inFile = fopen(optstate->value, "r");
data/nss-pem-1.0.6/nss/nss/cmd/digest/digest.c:189:27:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                outFile = fopen(optstate->value, "w");
data/nss-pem-1.0.6/nss/nss/cmd/ecperf/ecperf.c:52:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char sigData[256];
data/nss-pem-1.0.6/nss/nss/cmd/ecperf/ecperf.c:90:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char sigData[256];
data/nss-pem-1.0.6/nss/nss/cmd/ecperf/ecperf.c:327:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char sigData[256];
data/nss-pem-1.0.6/nss/nss/cmd/ecperf/ecperf.c:328:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char digestData[20];
data/nss-pem-1.0.6/nss/nss/cmd/ecperf/ecperf.c:329:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char pubKeyData[256];
data/nss-pem-1.0.6/nss/nss/cmd/ecperf/ecperf.c:430:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char secretData[256];
data/nss-pem-1.0.6/nss/nss/cmd/ecperf/ecperf.c:454:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char sigData[256];
data/nss-pem-1.0.6/nss/nss/cmd/ecperf/ecperf.c:455:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char digestData[20];
data/nss-pem-1.0.6/nss/nss/cmd/ecperf/ecperf.c:558:26:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            iterations = atoi(argc[i]);
data/nss-pem-1.0.6/nss/nss/cmd/ecperf/ecperf.c:561:26:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            numThreads = atoi(argc[i]);
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:157:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char tmp[2];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:181:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char doublecheck[8 * 20]; /* 1 to 20 blocks */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:238:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char doublecheck[8 * 20]; /* 1 to 20 blocks */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:300:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[180]; /* holds one line from the input REQUEST file.
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:309:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char key[24];   /* TDEA 3 key bundle */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:311:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char iv[8];             /* for all modes except ECB */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:312:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char plaintext[8 * 20]; /* 1 to 20 blocks */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:314:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char ciphertext[8 * 20]; /* 1 to 20 blocks */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:318:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    req = fopen(reqfn, "r");
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:572:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char outputtext_1[8]; /* PT/CT[j-1] */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:573:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char outputtext_2[8]; /* PT/CT[j-2] */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:574:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[80];                  /* holds one line from the input REQUEST file. */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:576:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char outputtext[8];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:592:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(buf, "COUNT = %d\n", i);
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:663:25:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                        memcpy(inputtext, iv, 8);
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:666:25:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                        memcpy(inputtext, outputtext_1, 8);
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:669:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(iv, outputtext, 8);
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:672:25:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                        memcpy(outputtext_1, outputtext, 8);
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:676:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(iv, inputtext, 8);
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:678:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(inputtext, outputtext, 8);
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:682:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(inputtext, outputtext, 8);
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:687:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(outputtext_2, outputtext, 8);
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:689:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(outputtext_1, outputtext, 8);
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:722:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(inputtext, outputtext, 8);
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:745:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[80];           /* holds one line from the input REQUEST file. */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:749:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char key[24];  /* TDEA 3 key bundle */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:751:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char plaintext[8];  /* PT[j] */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:752:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char ciphertext[8]; /* CT[j] */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:753:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char iv[8];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:761:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    req = fopen(reqfn, "r");
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:785:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            numKeys = atoi(&buf[i]);
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:897:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char doublecheck[10 * 16]; /* 1 to 10 blocks */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:954:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char doublecheck[10 * 16]; /* 1 to 10 blocks */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:1011:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[512]; /* holds one line from the input REQUEST file.
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:1018:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char key[32]; /* 128, 192, or 256 bits */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:1020:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char iv[128];            /* handle large gcm IV's */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:1021:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char plaintext[10 * 16]; /* 1 to 10 blocks */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:1023:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char ciphertext[11 * 16]; /* 1 to 10 blocks + tag */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:1025:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char aad[11 * 16]; /* 1 to 10 blocks + tag */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:1033:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    aesreq = fopen(reqfn, "r");
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:1232:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[512]; /* holds one line from the input REQUEST file.
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:1241:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char key[32]; /* 128, 192, or 256 bits */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:1243:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char iv[16];             /* for all modes except ECB */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:1244:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char plaintext[10 * 16]; /* 1 to 10 blocks */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:1246:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char ciphertext[10 * 16]; /* 1 to 10 blocks */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:1250:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    aesreq = fopen(reqfn, "r");
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:1436:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[80];  /* holds one line from the input REQUEST file.
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:1444:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char key[32]; /* 128, 192, or 256 bits */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:1446:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char plaintext[16];    /* PT[j] */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:1447:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char plaintext_1[16];  /* PT[j-1] */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:1448:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char ciphertext[16];   /* CT[j] */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:1449:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char ciphertext_1[16]; /* CT[j-1] */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:1450:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char doublecheck[16];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:1458:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    aesreq = fopen(reqfn, "r");
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:1514:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(buf, "COUNT = %d\n", i);
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:1543:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(ciphertext_1, ciphertext, sizeof ciphertext);
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:1573:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(plaintext, ciphertext, sizeof plaintext);
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:1612:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(buf, "COUNT = %d\n", i);
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:1641:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(plaintext_1, plaintext, sizeof plaintext);
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:1671:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(ciphertext, plaintext, sizeof ciphertext);
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:1719:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[80];  /* holds one line from the input REQUEST file.
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:1727:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char key[32]; /* 128, 192, or 256 bits */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:1729:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char iv[16];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:1730:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char plaintext[16];    /* PT[j] */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:1731:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char plaintext_1[16];  /* PT[j-1] */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:1732:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char ciphertext[16];   /* CT[j] */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:1733:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char ciphertext_1[16]; /* CT[j-1] */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:1734:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char doublecheck[16];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:1742:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    aesreq = fopen(reqfn, "r");
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:1811:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(buf, "COUNT = %d\n", i);
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:1844:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(ciphertext, iv, sizeof ciphertext);
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:1847:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(ciphertext_1, ciphertext, sizeof ciphertext);
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:1882:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(plaintext, ciphertext_1, sizeof plaintext);
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:1898:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(iv, ciphertext, sizeof iv);
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:1923:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(buf, "COUNT = %d\n", i);
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:1956:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(plaintext, iv, sizeof plaintext);
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:1959:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(plaintext_1, plaintext, sizeof plaintext);
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:1994:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(ciphertext, plaintext_1, sizeof ciphertext);
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:2010:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(iv, plaintext, sizeof iv);
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:2223:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(ecparams->data + 2, oidData->oid.data, oidData->oid.len);
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:2381:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[256];   /* holds one line from the input REQUEST file
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:2388:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char curve[16];  /* "nistxddd" */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:2394:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    ecdsareq = fopen(reqfn, "r");
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:2396:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(curve, "nist");
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:2500:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[256];   /* holds one line from the input REQUEST file.
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:2506:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char curve[16];  /* "nistxddd" */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:2513:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    ecdsareq = fopen(reqfn, "r");
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:2515:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(curve, "nist");
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:2620:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[1024];  /* holds one line from the input REQUEST file
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:2627:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char curve[16];  /* "nistxddd" */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:2631:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char msg[512]; /* message to be signed (<= 128 bytes) */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:2633:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char sha[HASH_LENGTH_MAX];  /* SHA digest */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:2636:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char sig[2 * MAX_ECKEY_LEN];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:2639:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    ecdsareq = fopen(reqfn, "r");
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:2641:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(curve, "nist");
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:2777:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[1024];  /* holds one line from the input REQUEST file.
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:2783:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char curve[16];  /* "nistxddd" */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:2788:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char msg[512]; /* message that was signed (<= 128 bytes) */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:2790:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char sha[HASH_LENGTH_MAX];  /* SHA digest */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:2793:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char sig[2 * MAX_ECKEY_LEN];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:2798:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    ecdsareq = fopen(reqfn, "r");
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:2801:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(curve, "nist");
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:2985:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[256];  /* holds one line from the input REQUEST file.
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:2991:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char curve[16]; /* "nistxddd" */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:2992:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char hashBuf[HASH_LENGTH_MAX];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:3004:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    ecdhreq = fopen(reqfn, "r");
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:3006:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(curve, "nist");
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:3237:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[256];  /* holds one line from the input REQUEST file.
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:3243:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char curve[16]; /* "nistxddd" */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:3244:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char hashBuf[HASH_LENGTH_MAX];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:3245:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char cavsHashBuf[HASH_LENGTH_MAX];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:3246:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char private_data[MAX_ECKEY_LEN];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:3257:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    ecdhreq = fopen(reqfn, "r");
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:3259:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(curve, "nist");
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:3509:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[1024]; /* holds one line from the input REQUEST file.
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:3515:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char hashBuf[HASH_LENGTH_MAX];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:3518:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char pubkeydata[DSA_MAX_P_BITS / 8];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:3525:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    dhreq = fopen(reqfn, "r");
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:3701:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[1024]; /* holds one line from the input REQUEST file.
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:3707:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char hashBuf[HASH_LENGTH_MAX];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:3708:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char cavsHashBuf[HASH_LENGTH_MAX];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:3710:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char pubkeydata[DSA_MAX_P_BITS / 8];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:3711:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char privkeydata[DSA_MAX_P_BITS / 8];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:3719:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    dhreq = fopen(reqfn, "r");
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:3931:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[2000]; /* test case has some very long lines, returned bits
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:3934:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf2[2000];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:3962:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    rngreq = fopen(reqfn, "r");
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:4368:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[256]; /* holds one line from the input REQUEST file.
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:4375:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char Q[DSA1_SUBPRIME_LEN];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:4378:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char XKey[512 / 8];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:4379:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char XSeed[512 / 8];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:4380:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char GENX[DSA1_SIGNATURE_LEN];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:4381:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char DSAX[DSA1_SUBPRIME_LEN];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:4384:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    rngreq = fopen(reqfn, "r");
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:4425:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            b = atoi(&buf[i]);
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:4491:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[256]; /* holds one line from the input REQUEST file.
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:4498:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char Q[DSA1_SUBPRIME_LEN];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:4501:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char XKey[512 / 8];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:4502:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char XSeed[512 / 8];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:4503:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char GENX[2 * SHA1_LENGTH];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:4504:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char DSAX[DSA1_SUBPRIME_LEN];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:4507:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    rngreq = fopen(reqfn, "r");
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:4548:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            b = atoi(&buf[i]);
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:4632:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char MD_i3[HASH_LENGTH_MAX]; /* MD[i-3] */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:4633:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char MD_i2[HASH_LENGTH_MAX]; /* MD[i-2] */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:4634:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char MD_i1[HASH_LENGTH_MAX]; /* MD[i-1] */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:4635:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char MD_i[HASH_LENGTH_MAX];  /* MD[i] */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:4636:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char msg[HASH_LENGTH_MAX * 3];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:4637:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[HASH_LENGTH_MAX * 2 + 1]; /* MAX buf MD_i as a hex string */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:4641:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(MD_i3, seed, MDLen);
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:4642:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(MD_i2, seed, MDLen);
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:4643:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(MD_i1, seed, MDLen);
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:4647:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(msg, MD_i3, MDLen);
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:4648:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&msg[MDLen], MD_i2, MDLen);
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:4649:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&msg[MDLen * 2], MD_i1, MDLen);
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:4658:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(MD_i3, MD_i2, MDLen);
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:4659:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(MD_i2, MD_i1, MDLen);
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:4660:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(MD_i1, MD_i, MDLen);
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:4664:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(seed, MD_i, MDLen);
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:4666:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(buf, "COUNT = %d\n", j);
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:4695:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char seed[HASH_LENGTH_MAX]; /* max size of seed 64 bytes */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:4696:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char MD[HASH_LENGTH_MAX];   /* message digest */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:4709:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    req = fopen(reqfn, "r");
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:4725:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                MDlen = atoi(&buf[i]);
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:4740:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            msgLen = atoi(&buf[i]); /* in bits */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:4870:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char key[200];                      /* key MAX size = 184 */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:4877:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char HMAC[HASH_LENGTH_MAX];         /* computed HMAC */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:4878:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char expectedHMAC[HASH_LENGTH_MAX]; /* for .fax files that have */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:4894:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    req = fopen(reqfn, "r");
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:4933:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                HMACLen = atoi(&buf[i]);
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:4960:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            keyLen = atoi(&buf[i]); /* in bytes */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:4981:20:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            TLen = atoi(&buf[i]); /* in bytes */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:5029:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[800]; /* holds one line from the input REQUEST file
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:5044:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    dsareq = fopen(reqfn, "r");
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:5164:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[800]; /* holds one line from the input REQUEST file
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:5178:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    dsareq = fopen(reqfn, "r");
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:5492:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[800]; /* holds one line from the input REQUEST file
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:5509:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    dsareq = fopen(reqfn, "r");
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:5663:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[800]; /* holds one line from the input REQUEST file
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:5678:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char hashBuf[HASH_LENGTH_MAX]; /* SHA-x hash (160-512 bits) */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:5679:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char sig[DSA_MAX_SIGNATURE_LEN];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:5684:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    dsareq = fopen(reqfn, "r");
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:5770:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            unsigned char msg[128]; /* MAX msg 128 */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:5850:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[800]; /* holds one line from the input REQUEST file
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:5862:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char hashBuf[HASH_LENGTH_MAX]; /* SHA-x hash (160-512 bits) */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:5863:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char sig[DSA_MAX_SIGNATURE_LEN];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:5867:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    dsareq = fopen(reqfn, "r");
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:5971:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            unsigned char msg[128]; /* MAX msg 128 */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:6087:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(buf + offset, src, src_len);
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:6101:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[800];           /* holds one line from the input REQUEST file
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:6105:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf2[400]; /* can't need more then 1/2 buf length */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:6119:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    rsareq = fopen(reqfn, "r");
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:6195:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[2 * RSA_MAX_TEST_MODULUS_BYTES + 1];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:6203:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char sha[HASH_LENGTH_MAX];  /* SHA digest */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:6210:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char pubEx[4];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:6217:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    rsareq = fopen(reqfn, "r");
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:6305:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            unsigned char msg[128]; /* MAX msg 128 */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:6307:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            unsigned char rsa_computed_signature[RSA_MAX_TEST_MODULUS_BYTES];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:6398:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[2 * RSA_MAX_TEST_MODULUS_BYTES + 7];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:6406:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char sha[HASH_LENGTH_MAX]; /* SHA digest */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:6411:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char signature[513];     /* largest signature size + '\n' */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:6417:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    rsareq = fopen(reqfn, "r");
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:6491:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            unsigned char data[RSA_MAX_TEST_EXPONENT_BYTES];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:6537:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            unsigned char msg[128]; /* MAX msg 128 */
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:6619:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[256]; /* holds one line from the input REQUEST file.
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:6628:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char serverHello_random[SSL3_RANDOM_LENGTH];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:6629:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char clientHello_random[SSL3_RANDOM_LENGTH];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:6630:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char server_random[SSL3_RANDOM_LENGTH];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:6631:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char client_random[SSL3_RANDOM_LENGTH];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:6717:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    tlsreq = fopen(reqfn, "r");
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:6947:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[4096]; /* holds one line from the input REQUEST file.
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:6957:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char CKYi[8];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:6959:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char CKYr[8];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:7001:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char skeyid_secret[HASH_LENGTH_MAX];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:7002:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char skeyid_d_secret[HASH_LENGTH_MAX];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:7003:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char skeyid_a_secret[HASH_LENGTH_MAX];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:7004:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char skeyid_e_secret[HASH_LENGTH_MAX];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:7053:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    ikereq = fopen(reqfn, "r");
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:7331:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[4096]; /* holds one line from the input REQUEST file.
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:7341:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char CKYi[8];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:7343:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char CKYr[8];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:7395:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char skeyid_secret[HASH_LENGTH_MAX];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:7396:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char skeyid_d_secret[HASH_LENGTH_MAX];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:7397:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char skeyid_a_secret[HASH_LENGTH_MAX];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:7398:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char skeyid_e_secret[HASH_LENGTH_MAX];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:7447:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    ikereq = fopen(reqfn, "r");
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:7759:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[4096]; /* holds one line from the input REQUEST file.
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:7826:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char skeyseed_secret[HASH_LENGTH_MAX];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:7865:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    ikereq = fopen(reqfn, "r");
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:8238:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[610]; /* holds one line from the input REQUEST file. Needs to
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:8242:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char KI[64];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:8244:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char KO[300];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:8247:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char IV[64];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:8251:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char BeforeFixedInputData[50];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:8253:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char AfterFixedInputData[10];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:8256:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char FixedInputData[60];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:8344:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    kbkdf_req = fopen(path, "r");
data/nss-pem-1.0.6/nss/nss/cmd/httpserv/httpserv.c:460:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char msgBuf[160];
data/nss-pem-1.0.6/nss/nss/cmd/httpserv/httpserv.c:461:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[10240];
data/nss-pem-1.0.6/nss/nss/cmd/httpserv/httpserv.c:462:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char fileName[513];
data/nss-pem-1.0.6/nss/nss/cmd/httpserv/httpserv.c:560:31:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            expectedPostLen = atoi(foundStr + strlen(tmp));
data/nss-pem-1.0.6/nss/nss/cmd/httpserv/httpserv.c:1325:25:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        FILE *tmpfile = fopen(pidFile, "w+");
data/nss-pem-1.0.6/nss/nss/cmd/httpserv/httpserv.c:1327:13:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
        if (tmpfile) {
data/nss-pem-1.0.6/nss/nss/cmd/httpserv/httpserv.c:1328:21:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
            fprintf(tmpfile, "%d", getpid());
data/nss-pem-1.0.6/nss/nss/cmd/httpserv/httpserv.c:1329:20:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
            fclose(tmpfile);
data/nss-pem-1.0.6/nss/nss/cmd/lib/basicutil.c:107:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[1000];
data/nss-pem-1.0.6/nss/nss/cmd/lib/basicutil.c:218:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(dst->data, buf, numBytes);
data/nss-pem-1.0.6/nss/nss/cmd/lib/basicutil.c:338:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const char printable[257] = {
data/nss-pem-1.0.6/nss/nss/cmd/lib/basicutil.c:361:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[80];
data/nss-pem-1.0.6/nss/nss/cmd/lib/basicutil.c:635:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[513];
data/nss-pem-1.0.6/nss/nss/cmd/lib/basicutil.c:682:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(dst, "%02x", *src++);
data/nss-pem-1.0.6/nss/nss/cmd/lib/basicutil.c:866:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(params->data + 2, oidData->oid.data, oidData->oid.len);
data/nss-pem-1.0.6/nss/nss/cmd/lib/berparse.c:150:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(arb->body.item.data + arb->body.item.len, *buf, count);
data/nss-pem-1.0.6/nss/nss/cmd/lib/derprint.c:131:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[BUF_SIZE];
data/nss-pem-1.0.6/nss/nss/cmd/lib/derprint.c:145:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(buf, str, len);
data/nss-pem-1.0.6/nss/nss/cmd/lib/derprint.c:310:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char *prettyTagType[32] = {
data/nss-pem-1.0.6/nss/nss/cmd/lib/secpwd.c:69:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char phrase[500] = { '\0' }; /* ensure EOF doesn't return junk */
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:91:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    input = fopen(consoleName, "r");
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:97:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    output = fopen(consoleName, "w");
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:217:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char prompt[255];
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:277:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    input = fopen(consoleName, "r");
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:305:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    output = fopen(consoleName, "w");
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:430:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char sslDir[1000];
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:450:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char path[1000];
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:465:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char buf[1000];
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:480:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(buf, "%.900s", base);
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:1331:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char om[100];
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:1708:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char addrBuf[80];
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:1713:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&addr.inet.ip, value->data, value->len);
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:1716:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(addr.ipv6.ip.pr_s6_addr, value->data, value->len);
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:1720:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&addr.inet.ip, &addr.ipv6.ip.pr_s6_addr[12], 4);
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:1740:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char label[40];
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:2190:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char trusts[30];
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:2489:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char fingerprint[SHA256_LENGTH];
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:2605:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char om[100];
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:2624:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(om, "Attribute (%d)", iv);
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:2639:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(om, "Attribute (%x)", iv);
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:2655:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char om[100];
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:2673:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(om, "Entry %d (0x%x):\n", iv, iv);
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:2700:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char om[100];
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:2712:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(om, "Digest Algorithm (%x)", iv);
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:2729:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(om, "Certificate (%x)", iv);
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:2743:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(om, "Signed Revocation List (%x)", iv);
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:2762:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(om, "Signer Information (%x)", iv);
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:2780:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char om[100];
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:2792:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(om, "Recipient Information (%x)", iv);
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:2816:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char om[100];
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:2828:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(om, "Recipient Information (%x)", iv);
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:2839:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(om, "Digest Algorithm (%x)", iv);
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:2853:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(om, "Certificate (%x)", iv);
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:2867:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(om, "Signed Revocation List (%x)", iv);
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:2886:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(om, "Signer Information (%x)", iv);
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/perf/libpkix_buildthreads.c:295:9:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    if (atoi(argv[1]) > 0) {
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/perf/libpkix_buildthreads.c:296:41:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        duration = PR_SecondsToInterval(atoi(argv[1]));
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/perf/libpkix_buildthreads.c:298:9:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    if (atoi(argv[2]) > 0) {
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/perf/libpkix_buildthreads.c:299:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        threads = atoi(argv[2]);
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/perf/nss_threads.c:141:9:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    if (atoi(argv[1]) > 0) {
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/perf/nss_threads.c:142:41:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        duration = PR_SecondsToInterval(atoi(argv[1]));
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/perf/nss_threads.c:144:9:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    if (atoi(argv[2]) > 0) {
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/perf/nss_threads.c:145:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        threads = atoi(argv[2]);
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix/top/test_basicconstraintschecker.c:40:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *certNames[PKIX_TEST_MAX_CERTS];
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix/top/test_buildchain.c:19:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char buf[PR_NETDB_BUF_SIZE];
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix/top/test_buildchain_partialchain.c:19:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char buf[PR_NETDB_BUF_SIZE];
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix/top/test_buildchain_resourcelimits.c:19:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char buf[PR_NETDB_BUF_SIZE];
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix/top/test_customcrlchecker.c:341:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *certNames[PKIX_TEST_MAX_CERTS];
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix/top/test_defaultcrlchecker2stores.c:129:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *certNames[PKIX_TEST_MAX_CERTS];
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix/top/test_policychecker.c:207:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *certNames[PKIX_TEST_NUM_CERTS];
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix/top/test_policychecker.c:274:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *certNames[PKIX_TEST_NUM_CERTS];
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix/top/test_policychecker.c:378:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *certNames[PKIX_TEST_MAX_CERTS];
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix/top/test_subjaltnamechecker.c:101:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *certNames[PKIX_TEST_MAX_CERTS];
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix/top/test_subjaltnamechecker.c:108:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *names[PKIX_TEST_MAX_CERTS];
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix/top/test_validatechain_NB.c:119:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char result[resultSize];
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix/util/test_list2.c:29:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *testOIDString[10] = {
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix/util/test_logger.c:35:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char result[100];
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix/util/test_logger.c:66:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char result[100];
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/module/test_ekuchecker.c:181:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *certNames[PKIX_TEST_MAX_CERTS];
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/module/test_socket.c:90:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char rcvBuf1[100];
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/module/test_socket.c:91:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char rcvBuf2[100];
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/module/test_socket.c:435:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[PR_NETDB_BUF_SIZE];
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/module/test_socket.c:489:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        portNum = (PRUint16)atoi(sepPtr);
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/system/stress_test.c:22:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char temp[4];
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/system/test_bigint.c:121:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *bigIntValue[4] =
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/system/test_bigint.c:129:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *badValue[3] = { "00ff", "fff", "-ff" };
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/system/test_bytearray.c:161:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dArray0[5] = { 1, 2, 3, 4, 5 };
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/system/test_bytearray.c:162:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char dArray1[6] = { 127, 128, 129, 254, 255, 0 };
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/system/test_bytearray.c:163:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dArray2[1] = { 100 };
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/system/test_bytearray.c:164:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dArray3[5] = { 1, 2, 3, 4, 5 };
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/system/test_bytearray.c:166:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *expected[4] = {
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/system/test_bytearray.c:173:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *dummyArray[4];
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/system/test_oid.c:136:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *validOID[6] = {
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/system/test_oid.c:145:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *expected[6] = {
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/system/test_oid.c:154:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *badOID[11] = {
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/system/test_string.c:101:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        if (((char *)dest)[i] != ((char *)utf16data)[i]) {
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/system/test_string.c:101:36:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        if (((char *)dest)[i] != ((char *)utf16data)[i]) {
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/system/test_string.c:104:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                   ((char *)dest)[i], ((char *)utf16data)[i]);
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/system/test_string.c:104:41:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                   ((char *)dest)[i], ((char *)utf16data)[i]);
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/system/test_string.c:133:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        if (((char *)dest)[i] != ((char *)dest2)[i]) {
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/system/test_string.c:133:36:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        if (((char *)dest)[i] != ((char *)dest2)[i]) {
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/system/test_string.c:359:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *plainText[6] = {
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/system/test_string2.c:26:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char utf16String[4] = { 0xF8, 0x60,
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/system/test_string2.c:29:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char chinese[16] = { 0xe7, 0xab, 0xa0,
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/system/test_string2.c:138:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    htmlFile = fopen("utf8.html", "w");
data/nss-pem-1.0.6/nss/nss/cmd/lowhashtest/lowhashtest.c:30:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[1000];
data/nss-pem-1.0.6/nss/nss/cmd/lowhashtest/lowhashtest.c:70:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[1000];
data/nss-pem-1.0.6/nss/nss/cmd/lowhashtest/lowhashtest.c:84:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[1000];
data/nss-pem-1.0.6/nss/nss/cmd/lowhashtest/lowhashtest.c:110:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[1000];
data/nss-pem-1.0.6/nss/nss/cmd/lowhashtest/lowhashtest.c:127:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[1000];
data/nss-pem-1.0.6/nss/nss/cmd/lowhashtest/lowhashtest.c:200:49:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                                (const unsigned char *)md5tests[cnt].input,
data/nss-pem-1.0.6/nss/nss/cmd/lowhashtest/lowhashtest.c:239:49:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                                (const unsigned char *)sha1tests[cnt].input,
data/nss-pem-1.0.6/nss/nss/cmd/lowhashtest/lowhashtest.c:270:49:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                                (const unsigned char *)sha224tests[cnt].input,
data/nss-pem-1.0.6/nss/nss/cmd/lowhashtest/lowhashtest.c:300:49:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                                (const unsigned char *)sha256tests[cnt].input,
data/nss-pem-1.0.6/nss/nss/cmd/lowhashtest/lowhashtest.c:349:49:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                                (const unsigned char *)sha384tests[cnt].input,
data/nss-pem-1.0.6/nss/nss/cmd/lowhashtest/lowhashtest.c:385:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                               (const unsigned char *)sha512tests[cnt].input,
data/nss-pem-1.0.6/nss/nss/cmd/makepqg/makepqg.c:196:33:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                keySizeInBits = atoi(optstate->value);
data/nss-pem-1.0.6/nss/nss/cmd/makepqg/makepqg.c:200:31:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                qSizeInBits = atoi(optstate->value);
data/nss-pem-1.0.6/nss/nss/cmd/makepqg/makepqg.c:226:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                g = atoi(optstate->value);
data/nss-pem-1.0.6/nss/nss/cmd/makepqg/makepqg.c:280:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        outFile = fopen(outFileName, output_binary ? "wb" : "w");
data/nss-pem-1.0.6/nss/nss/cmd/modutil/install-ds.c:617:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[80];
data/nss-pem-1.0.6/nss/nss/cmd/modutil/install.c:340:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char sysname[SYS_INFO_BUFFER_LENGTH], release[SYS_INFO_BUFFER_LENGTH],
data/nss-pem-1.0.6/nss/nss/cmd/modutil/install.c:573:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *argv[2];
data/nss-pem-1.0.6/nss/nss/cmd/modutil/install.c:574:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *envp[1];
data/nss-pem-1.0.6/nss/nss/cmd/modutil/install.c:818:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[240];
data/nss-pem-1.0.6/nss/nss/cmd/modutil/instsec.c:52:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stdinbuf[80];
data/nss-pem-1.0.6/nss/nss/cmd/modutil/modutil.c:767:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stdinbuf[STDINBUF_SIZE];
data/nss-pem-1.0.6/nss/nss/cmd/modutil/pk11.c:245:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char buf[MAX_STRING_LIST_LEN];
data/nss-pem-1.0.6/nss/nss/cmd/modutil/pk11.c:266:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static const char p11KitManufacturerID[33] =
data/nss-pem-1.0.6/nss/nss/cmd/modutil/pk11.c:268:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static const char p11KitLibraryDescription[33] =
data/nss-pem-1.0.6/nss/nss/cmd/mpitests/mpi-test.c:375:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char g_intbuf[4096]; /* buffer for integer comparison   */
data/nss-pem-1.0.6/nss/nss/cmd/mpitests/mpi-test.c:376:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char a_intbuf[4096]; /* buffer for integer comparison   */
data/nss-pem-1.0.6/nss/nss/cmd/multinit/multinit.c:339:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char trust[10];
data/nss-pem-1.0.6/nss/nss/cmd/nss-policy-check/nss-policy-check.c:78:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char path[PATH_MAX];
data/nss-pem-1.0.6/nss/nss/cmd/nss-policy-check/nss-policy-check.c:80:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char moduleSpec[1024 + PATH_MAX];
data/nss-pem-1.0.6/nss/nss/cmd/nss-policy-check/nss-policy-check.c:139:39:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    if (!module || !module->loaded || atoi(PR_GetEnvSecure("NSS_POLICY_LOADED")) != 1) {
data/nss-pem-1.0.6/nss/nss/cmd/nss-policy-check/nss-policy-check.c:184:9:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    if (atoi(PR_GetEnvSecure("NSS_POLICY_FAIL")) != 0) {
data/nss-pem-1.0.6/nss/nss/cmd/nss-policy-check/nss-policy-check.c:186:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    } else if (atoi(PR_GetEnvSecure("NSS_POLICY_WARN")) != 0) {
data/nss-pem-1.0.6/nss/nss/cmd/ocspclnt/ocspclnt.c:545:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cert_label[50];
data/nss-pem-1.0.6/nss/nss/cmd/ocspclnt/ocspclnt.c:556:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(cert_label, "Certificate (%d)", i);
data/nss-pem-1.0.6/nss/nss/cmd/oidcalc/oidcalc.c:17:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[5];
data/nss-pem-1.0.6/nss/nss/cmd/oidcalc/oidcalc.c:35:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    firstval = atoi(curstr);
data/nss-pem-1.0.6/nss/nss/cmd/oidcalc/oidcalc.c:45:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    secondval = atoi(curstr);
data/nss-pem-1.0.6/nss/nss/cmd/oidcalc/oidcalc.c:68:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        val = atoi(curstr);
data/nss-pem-1.0.6/nss/nss/cmd/p7content/p7content.c:205:27:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                outFile = fopen(optstate->value, "w");
data/nss-pem-1.0.6/nss/nss/cmd/p7env/p7env.c:98:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char ibuf[1024];
data/nss-pem-1.0.6/nss/nss/cmd/p7env/p7env.c:164:26:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                inFile = fopen(optstate->value, "r");
data/nss-pem-1.0.6/nss/nss/cmd/p7env/p7env.c:173:27:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                outFile = fopen(optstate->value, "wb");
data/nss-pem-1.0.6/nss/nss/cmd/p7sign/p7sign.c:89:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char digestdata[32];
data/nss-pem-1.0.6/nss/nss/cmd/p7sign/p7sign.c:198:27:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                outFile = fopen(optstate->value, "wb");
data/nss-pem-1.0.6/nss/nss/cmd/p7verify/p7verify.c:57:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char ibuf[4096];
data/nss-pem-1.0.6/nss/nss/cmd/p7verify/p7verify.c:134:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buffer[32];
data/nss-pem-1.0.6/nss/nss/cmd/p7verify/p7verify.c:209:31:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                contentFile = fopen(optstate->value, "r");
data/nss-pem-1.0.6/nss/nss/cmd/p7verify/p7verify.c:222:27:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                outFile = fopen(optstate->value, "w");
data/nss-pem-1.0.6/nss/nss/cmd/p7verify/p7verify.c:242:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                usageType = atoi(strdup(optstate->value));
data/nss-pem-1.0.6/nss/nss/cmd/pk11ectest/pk11ectest.c:66:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(pk_11_ecParams.data + 2, oidData->oid.data, oidData->oid.len);
data/nss-pem-1.0.6/nss/nss/cmd/pk11gcmtest/pk11gcmtest.c:101:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char concatenated[11 * 16]; /* 1 to 11 blocks */
data/nss-pem-1.0.6/nss/nss/cmd/pk11gcmtest/pk11gcmtest.c:112:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(concatenated, input, inputlen);
data/nss-pem-1.0.6/nss/nss/cmd/pk11gcmtest/pk11gcmtest.c:113:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(concatenated + inputlen, tag, tagsize);
data/nss-pem-1.0.6/nss/nss/cmd/pk11gcmtest/pk11gcmtest.c:162:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[512]; /* holds one line from the input REQUEST file.
data/nss-pem-1.0.6/nss/nss/cmd/pk11gcmtest/pk11gcmtest.c:171:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char key[32]; /* 128, 192, or 256 bits */
data/nss-pem-1.0.6/nss/nss/cmd/pk11gcmtest/pk11gcmtest.c:173:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char iv[10 * 16]; /* 1 to 10 blocks */
data/nss-pem-1.0.6/nss/nss/cmd/pk11gcmtest/pk11gcmtest.c:175:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char plaintext[10 * 16]; /* 1 to 10 blocks */
data/nss-pem-1.0.6/nss/nss/cmd/pk11gcmtest/pk11gcmtest.c:177:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char aad[10 * 16]; /* 1 to 10 blocks */
data/nss-pem-1.0.6/nss/nss/cmd/pk11gcmtest/pk11gcmtest.c:179:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char ciphertext[10 * 16]; /* 1 to 10 blocks */
data/nss-pem-1.0.6/nss/nss/cmd/pk11gcmtest/pk11gcmtest.c:181:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char tag[16];
data/nss-pem-1.0.6/nss/nss/cmd/pk11gcmtest/pk11gcmtest.c:183:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char output[10 * 16]; /* 1 to 10 blocks */
data/nss-pem-1.0.6/nss/nss/cmd/pk11gcmtest/pk11gcmtest.c:201:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    aesresp = fopen(respfn, "r");
data/nss-pem-1.0.6/nss/nss/cmd/pk11gcmtest/pk11gcmtest.c:214:35:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                expected_keylen = atoi(&buf[10]);
data/nss-pem-1.0.6/nss/nss/cmd/pk11gcmtest/pk11gcmtest.c:216:34:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                expected_ivlen = atoi(&buf[9]);
data/nss-pem-1.0.6/nss/nss/cmd/pk11gcmtest/pk11gcmtest.c:218:34:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                expected_ptlen = atoi(&buf[9]);
data/nss-pem-1.0.6/nss/nss/cmd/pk11gcmtest/pk11gcmtest.c:220:35:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                expected_aadlen = atoi(&buf[10]);
data/nss-pem-1.0.6/nss/nss/cmd/pk11gcmtest/pk11gcmtest.c:222:35:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                expected_taglen = atoi(&buf[10]);
data/nss-pem-1.0.6/nss/nss/cmd/pk11importtest/pk11importtest.c:320:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        keySize = atoi(args.options[opt_KeySize].arg);
data/nss-pem-1.0.6/nss/nss/cmd/pk11mode/pk11mode.c:4141:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char digest[MAX_DIGEST_SZ], digest_1[MAX_DIGEST_SZ];
data/nss-pem-1.0.6/nss/nss/cmd/pk11mode/pk11mode.c:4142:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char sign[MAX_SIG_SZ];
data/nss-pem-1.0.6/nss/nss/cmd/pk11mode/pk11mode.c:5232:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char phrase[500];
data/nss-pem-1.0.6/nss/nss/cmd/pk11util/pk11util.c:290:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tvar[512];
data/nss-pem-1.0.6/nss/nss/cmd/pk11util/pk11util.c:423:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(targetValue->data, &size, sizeof(size));
data/nss-pem-1.0.6/nss/nss/cmd/pk11util/pk11util.c:507:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char vname[512];
data/nss-pem-1.0.6/nss/nss/cmd/pk11util/pk11util.c:549:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(target, (*ptr)->data, (*ptr)->size);
data/nss-pem-1.0.6/nss/nss/cmd/pk11util/pk11util.c:614:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char aname[512];
data/nss-pem-1.0.6/nss/nss/cmd/pk11util/pk11util.c:621:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(aname, attributes, strlen(attributes) + 1);
data/nss-pem-1.0.6/nss/nss/cmd/pk11util/pk11util.c:738:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char vname[512];
data/nss-pem-1.0.6/nss/nss/cmd/pk11util/pk11util.c:799:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char vname[512];
data/nss-pem-1.0.6/nss/nss/cmd/pk11util/pk11util.c:819:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        *value = atoi(vname);
data/nss-pem-1.0.6/nss/nss/cmd/pk11util/pk11util.c:883:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fd = open(filename, O_RDONLY | O_BINARY);
data/nss-pem-1.0.6/nss/nss/cmd/pk11util/pk11util.c:910:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fd = open(filename, O_WRONLY | O_BINARY | O_CREAT, 0666);
data/nss-pem-1.0.6/nss/nss/cmd/pk11util/pk11util.c:1158:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char vname[512];
data/nss-pem-1.0.6/nss/nss/cmd/pk11util/pk11util.c:1210:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(argList[i]->data, bp, size);
data/nss-pem-1.0.6/nss/nss/cmd/pk11util/pk11util.c:1287:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char filename[512];
data/nss-pem-1.0.6/nss/nss/cmd/pk11util/pk11util.c:1307:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char filename[512];
data/nss-pem-1.0.6/nss/nss/cmd/pk11util/pk11util.c:1344:37:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                bp = readChars(bp, (char *)argList[i]->data, argList[i]->size);
data/nss-pem-1.0.6/nss/nss/cmd/pk11util/pk11util.c:2166:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[2048];
data/nss-pem-1.0.6/nss/nss/cmd/pk11util/pk11util.c:2199:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    infile = fopen(filename, "r");
data/nss-pem-1.0.6/nss/nss/cmd/pk12util/pk12util.c:311:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(pwItem->data, p0, pwItem->len);
data/nss-pem-1.0.6/nss/nss/cmd/pk12util/pk12util.c:795:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                        char fileName[20];
data/nss-pem-1.0.6/nss/nss/cmd/pk12util/pk12util.c:796:25:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                        sprintf(fileName, "file%04d.der", ++fileCounter);
data/nss-pem-1.0.6/nss/nss/cmd/pk12util/pk12util.c:1083:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        keyLen = atoi(pk12util.options[opt_KeyLength].arg);
data/nss-pem-1.0.6/nss/nss/cmd/pk12util/pk12util.c:1086:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        certKeyLen = atoi(pk12util.options[opt_CertKeyLength].arg);
data/nss-pem-1.0.6/nss/nss/cmd/pk1sign/pk1sign.c:236:27:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                outFile = fopen(optstate->value, "wb");
data/nss-pem-1.0.6/nss/nss/cmd/pp/pp.c:94:27:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                outFile = fopen(optstate->value, "w");
data/nss-pem-1.0.6/nss/nss/cmd/ppcertdata/ppcertdata.c:12:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
unsigned char binary_line[64 * 1024];
data/nss-pem-1.0.6/nss/nss/cmd/ppcertdata/ppcertdata.c:19:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char line[133];
data/nss-pem-1.0.6/nss/nss/cmd/ppcertdata/ppcertdata.c:22:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        skip_count = atoi(argv[1]);
data/nss-pem-1.0.6/nss/nss/cmd/pwdecrypt/pwdecrypt.c:83:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static unsigned char b64[256] = {
data/nss-pem-1.0.6/nss/nss/cmd/pwdecrypt/pwdecrypt.c:190:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char dataString[MAX_STRING + 1];
data/nss-pem-1.0.6/nss/nss/cmd/pwdecrypt/pwdecrypt.c:261:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        inFile = fopen(input_file, "r");
data/nss-pem-1.0.6/nss/nss/cmd/pwdecrypt/pwdecrypt.c:269:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        outFile = fopen(output_file, "w+");
data/nss-pem-1.0.6/nss/nss/cmd/pwdecrypt/pwdecrypt.c:280:23:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            logFile = fopen(log_file, "w+");
data/nss-pem-1.0.6/nss/nss/cmd/rsaperf/defkey.c:15:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static CONST unsigned char default_n1024[128] = {
data/nss-pem-1.0.6/nss/nss/cmd/rsaperf/defkey.c:26:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static CONST unsigned char default_e1024[3] = { 0x01, 0x00, 0x01 };
data/nss-pem-1.0.6/nss/nss/cmd/rsaperf/defkey.c:28:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static CONST unsigned char default_d1024[128] = {
data/nss-pem-1.0.6/nss/nss/cmd/rsaperf/defkey.c:39:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static CONST unsigned char default_p1024[64] = {
data/nss-pem-1.0.6/nss/nss/cmd/rsaperf/defkey.c:46:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static CONST unsigned char default_q1024[64] = {
data/nss-pem-1.0.6/nss/nss/cmd/rsaperf/defkey.c:53:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static CONST unsigned char default_dModP1024[64] = {
data/nss-pem-1.0.6/nss/nss/cmd/rsaperf/defkey.c:60:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static CONST unsigned char default_dModQ1024[64] = {
data/nss-pem-1.0.6/nss/nss/cmd/rsaperf/defkey.c:67:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static CONST unsigned char default_qInvModP1024[64] = {
data/nss-pem-1.0.6/nss/nss/cmd/rsaperf/defkey.c:74:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static CONST unsigned char default_n2048[256] = {
data/nss-pem-1.0.6/nss/nss/cmd/rsaperf/defkey.c:93:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static CONST unsigned char default_e2048[3] = { 0x01, 0x00, 0x01 };
data/nss-pem-1.0.6/nss/nss/cmd/rsaperf/defkey.c:95:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static CONST unsigned char default_d2048[256] = {
data/nss-pem-1.0.6/nss/nss/cmd/rsaperf/defkey.c:114:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static CONST unsigned char default_p2048[128] = {
data/nss-pem-1.0.6/nss/nss/cmd/rsaperf/defkey.c:125:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static CONST unsigned char default_q2048[128] = {
data/nss-pem-1.0.6/nss/nss/cmd/rsaperf/defkey.c:136:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static CONST unsigned char default_dModP2048[128] = {
data/nss-pem-1.0.6/nss/nss/cmd/rsaperf/defkey.c:147:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static CONST unsigned char default_dModQ2048[128] = {
data/nss-pem-1.0.6/nss/nss/cmd/rsaperf/defkey.c:158:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static CONST unsigned char default_qInvModP2048[128] = {
data/nss-pem-1.0.6/nss/nss/cmd/rsaperf/rsaperf.c:266:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf2[BUFFER_BYTES];
data/nss-pem-1.0.6/nss/nss/cmd/rsaperf/rsaperf.c:299:27:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
#define INT_ARG(arg, def) atol(arg) > 0 ? atol(arg) : def
data/nss-pem-1.0.6/nss/nss/cmd/rsaperf/rsaperf.c:299:43:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
#define INT_ARG(arg, def) atol(arg) > 0 ? atol(arg) : def
data/nss-pem-1.0.6/nss/nss/cmd/rsaperf/rsaperf.c:324:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[BUFFER_BYTES];
data/nss-pem-1.0.6/nss/nss/cmd/rsaperf/rsaperf.c:325:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf2[BUFFER_BYTES];
data/nss-pem-1.0.6/nss/nss/cmd/rsapoptst/rsapoptst.c:151:35:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                cval = *(unsigned char *)template[i].pValue;
data/nss-pem-1.0.6/nss/nss/cmd/rsapoptst/rsapoptst.c:169:41:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                cpval = (const unsigned char *)template[i].pValue;
data/nss-pem-1.0.6/nss/nss/cmd/rsapoptst/rsapoptst.c:211:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(srcTemplate, rsaTemplate, RSA_SIZE);
data/nss-pem-1.0.6/nss/nss/cmd/rsapoptst/rsapoptst.c:212:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(destTemplate, rsaTemplate, RSA_SIZE);
data/nss-pem-1.0.6/nss/nss/cmd/rsapoptst/rsapoptst.c:292:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(tstTemplate, rsaTemplate, RSA_SIZE);
data/nss-pem-1.0.6/nss/nss/cmd/selfserv/selfserv.c:481:38:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                              (const char *)current[i].data,
data/nss-pem-1.0.6/nss/nss/cmd/selfserv/selfserv.c:830:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char *virtServerNameArray[MAX_VIRT_SERVER_NAME_ARRAY_INDEX];
data/nss-pem-1.0.6/nss/nss/cmd/selfserv/selfserv.c:833:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char *certNicknameArray[MAX_CERT_NICKNAME_ARRAY_INDEX];
data/nss-pem-1.0.6/nss/nss/cmd/selfserv/selfserv.c:953:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[10240];
data/nss-pem-1.0.6/nss/nss/cmd/selfserv/selfserv.c:1272:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char msgBuf[160];
data/nss-pem-1.0.6/nss/nss/cmd/selfserv/selfserv.c:1273:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[10240] = { 0 };
data/nss-pem-1.0.6/nss/nss/cmd/selfserv/selfserv.c:1274:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char fileName[513];
data/nss-pem-1.0.6/nss/nss/cmd/selfserv/selfserv.c:1275:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char proto[128];
data/nss-pem-1.0.6/nss/nss/cmd/selfserv/selfserv.c:1819:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&loggingMethods, PR_GetDefaultIOMethods(), sizeof(PRIOMethods));
data/nss-pem-1.0.6/nss/nss/cmd/selfserv/selfserv.c:2668:25:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        FILE *tmpfile = fopen(pidFile, "w+");
data/nss-pem-1.0.6/nss/nss/cmd/selfserv/selfserv.c:2670:13:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
        if (tmpfile) {
data/nss-pem-1.0.6/nss/nss/cmd/selfserv/selfserv.c:2671:21:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
            fprintf(tmpfile, "%d", getpid());
data/nss-pem-1.0.6/nss/nss/cmd/selfserv/selfserv.c:2672:20:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
            fclose(tmpfile);
data/nss-pem-1.0.6/nss/nss/cmd/shlibsign/mangle/mangle.c:62:26:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                offset = atoi(optstate->value);
data/nss-pem-1.0.6/nss/nss/cmd/shlibsign/mangle/mangle.c:66:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                bitOffset = atoi(optstate->value);
data/nss-pem-1.0.6/nss/nss/cmd/shlibsign/shlibsign.c:108:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(output, input, in_len);
data/nss-pem-1.0.6/nss/nss/cmd/shlibsign/shlibsign.c:109:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&output[in_len], SGN_SUFFIX, sizeof(SGN_SUFFIX));
data/nss-pem-1.0.6/nss/nss/cmd/shlibsign/shlibsign.c:137:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[4];
data/nss-pem-1.0.6/nss/nss/cmd/shlibsign/shlibsign.c:617:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char phrase[500];
data/nss-pem-1.0.6/nss/nss/cmd/shlibsign/shlibsign.c:717:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char file_buf[512];
data/nss-pem-1.0.6/nss/nss/cmd/shlibsign/shlibsign.c:728:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char link_buf[MAXPATHLEN + 1];
data/nss-pem-1.0.6/nss/nss/cmd/shlibsign/shlibsign.c:805:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                keySize = atoi(optstate->value);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/certgen.c:43:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stdinbuf[160];
data/nss-pem-1.0.6/nss/nss/cmd/signtool/certgen.c:103:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[STDIN_BUF_SIZE];
data/nss-pem-1.0.6/nss/nss/cmd/signtool/certgen.c:104:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char common_name_buf[STDIN_BUF_SIZE];
data/nss-pem-1.0.6/nss/nss/cmd/signtool/certgen.c:666:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((out = fopen(filename, "wb")) == NULL) {
data/nss-pem-1.0.6/nss/nss/cmd/signtool/certgen.c:695:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((out = fopen(filename, "wb")) == NULL) {
data/nss-pem-1.0.6/nss/nss/cmd/signtool/javascript.c:81:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char fullname[FNSIZE];
data/nss-pem-1.0.6/nss/nss/cmd/signtool/javascript.c:203:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[FILE_BUFFER_BUFSIZE];
data/nss-pem-1.0.6/nss/nss/cmd/signtool/javascript.c:1673:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char fn[FNSIZE];
data/nss-pem-1.0.6/nss/nss/cmd/signtool/javascript.c:1763:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[BUFSIZ];
data/nss-pem-1.0.6/nss/nss/cmd/signtool/sign.c:44:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tempfn[FNSIZE], fullfn[FNSIZE];
data/nss-pem-1.0.6/nss/nss/cmd/signtool/sign.c:105:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(tempfn, "META-INF/manifest.mf");
data/nss-pem-1.0.6/nss/nss/cmd/signtool/sign.c:258:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char sf_file[FNSIZE];
data/nss-pem-1.0.6/nss/nss/cmd/signtool/sign.c:259:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char pk7_file[FNSIZE];
data/nss-pem-1.0.6/nss/nss/cmd/signtool/sign.c:285:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((in = fopen(sf_file, "rb")) == NULL) {
data/nss-pem-1.0.6/nss/nss/cmd/signtool/sign.c:292:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((out = fopen(pk7_file, "wb")) == NULL) {
data/nss-pem-1.0.6/nss/nss/cmd/signtool/sign.c:351:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char metadir[FNSIZE], sfname[FNSIZE];
data/nss-pem-1.0.6/nss/nss/cmd/signtool/sign.c:380:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((mf = fopen(metadir, "wb")) == NULL) {
data/nss-pem-1.0.6/nss/nss/cmd/signtool/sign.c:423:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(sfname, ".sf");
data/nss-pem-1.0.6/nss/nss/cmd/signtool/sign.c:444:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char fullname[FNSIZE];
data/nss-pem-1.0.6/nss/nss/cmd/signtool/sign.c:482:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char fullname[FNSIZE];
data/nss-pem-1.0.6/nss/nss/cmd/signtool/sign.c:560:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[BUFSIZ];
data/nss-pem-1.0.6/nss/nss/cmd/signtool/sign.c:567:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((met = fopen(metafile, "r")) != NULL) {
data/nss-pem-1.0.6/nss/nss/cmd/signtool/sign.c:627:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char ibuf[4096], digestdata[32];
data/nss-pem-1.0.6/nss/nss/cmd/signtool/sign.c:713:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char whofile[FNSIZE];
data/nss-pem-1.0.6/nss/nss/cmd/signtool/sign.c:721:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((mfFile = fopen(manifile, "rb")) == NULL) {
data/nss-pem-1.0.6/nss/nss/cmd/signtool/sign.c:726:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((sfFile = fopen(whofile, "wb")) == NULL) {
data/nss-pem-1.0.6/nss/nss/cmd/signtool/signtool.c:140:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[CMD_FILE_BUFSIZE];
data/nss-pem-1.0.6/nss/nss/cmd/signtool/signtool.c:494:33:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            compression_level = atoi(arg);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/signtool.c:777:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            verbosity = atoi(arg);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/signtool.c:785:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            keySize = atoi(arg);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/util.c:123:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[FNSIZE];
data/nss-pem-1.0.6/nss/nss/cmd/signtool/util.c:437:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char fn[FNSIZE];
data/nss-pem-1.0.6/nss/nss/cmd/signtool/util.c:500:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char newdir[FNSIZE];
data/nss-pem-1.0.6/nss/nss/cmd/signtool/util.c:542:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char newpath[FNSIZE];
data/nss-pem-1.0.6/nss/nss/cmd/signtool/util.c:558:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char newprefix[FNSIZE];
data/nss-pem-1.0.6/nss/nss/cmd/signtool/util.c:611:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char errstring[80]; /* dynamically constructed error string */
data/nss-pem-1.0.6/nss/nss/cmd/signtool/util.c:697:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(errstring, "security error %ld", code);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/util.c:975:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char db[FNSIZE];
data/nss-pem-1.0.6/nss/nss/cmd/signtool/util.c:996:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        if ((fp = fopen(db, "r")) != NULL) {
data/nss-pem-1.0.6/nss/nss/cmd/signtool/util.c:1009:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        if ((fp = fopen(db, "r")) != NULL) {
data/nss-pem-1.0.6/nss/nss/cmd/signtool/util.c:1023:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        if ((fp = fopen(db, "r")) != NULL) {
data/nss-pem-1.0.6/nss/nss/cmd/signtool/verify.c:32:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((fp = fopen(filename, "r")) == NULL) {
data/nss-pem-1.0.6/nss/nss/cmd/signtool/verify.c:136:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[BUFSIZ];
data/nss-pem-1.0.6/nss/nss/cmd/signtool/verify.c:184:27:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                if ((fp = fopen(TMP_OUTPUT, "rb")) != NULL) {
data/nss-pem-1.0.6/nss/nss/cmd/signtool/verify.c:267:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((fp = fopen(filename, "r")) == NULL) {
data/nss-pem-1.0.6/nss/nss/cmd/signver/pk7print.c:147:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char om[100];
data/nss-pem-1.0.6/nss/nss/cmd/signver/pk7print.c:258:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char mm[120];
data/nss-pem-1.0.6/nss/nss/cmd/signver/pk7print.c:278:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char mm[120];
data/nss-pem-1.0.6/nss/nss/cmd/signver/pk7print.c:320:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char mm[200];
data/nss-pem-1.0.6/nss/nss/cmd/signver/pk7print.c:428:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char om[100];
data/nss-pem-1.0.6/nss/nss/cmd/signver/pk7print.c:461:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char mm[200];
data/nss-pem-1.0.6/nss/nss/cmd/signver/pk7print.c:560:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char om[120];
data/nss-pem-1.0.6/nss/nss/cmd/signver/pk7print.c:572:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(om, "pkcs7.digestAlgorithm[%d]=", iv++);
data/nss-pem-1.0.6/nss/nss/cmd/signver/pk7print.c:592:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(om, "certificate[%d].", iv++);
data/nss-pem-1.0.6/nss/nss/cmd/signver/pk7print.c:607:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(om, "signedRevocationList[%d].", iv);
data/nss-pem-1.0.6/nss/nss/cmd/signver/pk7print.c:614:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(om, "certificateRevocationList[%d].", iv);
data/nss-pem-1.0.6/nss/nss/cmd/signver/pk7print.c:628:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(om, "signerInformation[%d].", iv++);
data/nss-pem-1.0.6/nss/nss/cmd/signver/pk7print.c:647:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char om[100];
data/nss-pem-1.0.6/nss/nss/cmd/signver/pk7print.c:658:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(om, "Recipient Information (%x)", iv);
data/nss-pem-1.0.6/nss/nss/cmd/signver/pk7print.c:682:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char om[100];
data/nss-pem-1.0.6/nss/nss/cmd/signver/pk7print.c:693:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(om, "Recipient Information (%x)", iv);
data/nss-pem-1.0.6/nss/nss/cmd/signver/pk7print.c:703:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(om, "Digest Algorithm (%x)", iv);
data/nss-pem-1.0.6/nss/nss/cmd/signver/pk7print.c:716:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(om, "Certificate (%x)", iv);
data/nss-pem-1.0.6/nss/nss/cmd/signver/pk7print.c:730:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(om, "Signed Revocation List (%x)", iv);
data/nss-pem-1.0.6/nss/nss/cmd/signver/pk7print.c:748:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(om, "Signer Information (%x)", iv);
data/nss-pem-1.0.6/nss/nss/cmd/signver/signver.c:197:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        outFile = fopen(signver.options[opt_OutputFile].arg, "w");
data/nss-pem-1.0.6/nss/nss/cmd/signver/signver.c:261:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            unsigned char digestBuffer[HASH_LENGTH_MAX];
data/nss-pem-1.0.6/nss/nss/cmd/smimetools/cmsutil.c:1000:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char batchLine[512];
data/nss-pem-1.0.6/nss/nss/cmd/smimetools/cmsutil.c:1061:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char *ptrarray[128] = { 0 };
data/nss-pem-1.0.6/nss/nss/cmd/smimetools/cmsutil.c:1267:45:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                decodeOptions.headerLevel = atoi(optstate->value);
data/nss-pem-1.0.6/nss/nss/cmd/smimetools/cmsutil.c:1308:27:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                outFile = fopen(optstate->value, "wb");
data/nss-pem-1.0.6/nss/nss/cmd/smimetools/cmsutil.c:1359:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                usageType = atoi(strdup(optstate->value));
data/nss-pem-1.0.6/nss/nss/cmd/ssltap/ssltap.c:225:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(d + copied, db->buffer + db->offset, toCopy);
data/nss-pem-1.0.6/nss/nss/cmd/ssltap/ssltap.c:793:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char buf[10];
data/nss-pem-1.0.6/nss/nss/cmd/ssltap/ssltap.c:830:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(buf, "%d", ex_num);
data/nss-pem-1.0.6/nss/nss/cmd/ssltap/ssltap.c:1360:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(s->msgBuf + s->msgBufOffset, recordBuf, recordLen);
data/nss-pem-1.0.6/nss/nss/cmd/ssltap/ssltap.c:1580:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char lifetime[32];
data/nss-pem-1.0.6/nss/nss/cmd/ssltap/ssltap.c:1594:21:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
                    strcpy(lifetime, "unspecified");
data/nss-pem-1.0.6/nss/nss/cmd/ssltap/ssltap.c:1618:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char certFileName[20];
data/nss-pem-1.0.6/nss/nss/cmd/ssltap/ssltap.c:1787:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char ocspFileName[20];
data/nss-pem-1.0.6/nss/nss/cmd/ssltap/ssltap.c:1832:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(s->msgBuf, recordBuf + offset, newMsgLen);
data/nss-pem-1.0.6/nss/nss/cmd/ssltap/ssltap.c:1878:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(db->buffer, buffer, length);
data/nss-pem-1.0.6/nss/nss/cmd/ssltap/ssltap.c:1917:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            unsigned char lenbuf[3];
data/nss-pem-1.0.6/nss/nss/cmd/ssltap/ssltap.c:1938:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(db->buffer, lenbuf, sizeof lenbuf);
data/nss-pem-1.0.6/nss/nss/cmd/ssltap/ssltap.c:1989:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(db->buffer, &sr, sizeof sr);
data/nss-pem-1.0.6/nss/nss/cmd/ssltap/ssltap.c:2203:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char t[20];
data/nss-pem-1.0.6/nss/nss/cmd/ssltap/ssltap.c:2204:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char string[5000];
data/nss-pem-1.0.6/nss/nss/cmd/ssltap/ssltap.c:2225:21:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
                    strcpy(t, "&lt;");
data/nss-pem-1.0.6/nss/nss/cmd/ssltap/ssltap.c:2228:21:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
                    strcpy(t, "&gt;");
data/nss-pem-1.0.6/nss/nss/cmd/ssltap/ssltap.c:2231:21:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
                    strcpy(t, "&amp;");
data/nss-pem-1.0.6/nss/nss/cmd/ssltap/ssltap.c:2324:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                    atoi(optstate->value);
data/nss-pem-1.0.6/nss/nss/cmd/ssltap/ssltap.c:2352:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        port = atoi(&colon[1]);
data/nss-pem-1.0.6/nss/nss/cmd/ssltap/ssltap.c:2459:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            unsigned char buffer[TAPBUFSIZ];
data/nss-pem-1.0.6/nss/nss/cmd/strsclnt/strsclnt.c:819:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char sockPeerIDString[512];
data/nss-pem-1.0.6/nss/nss/cmd/symkeyutil/symkeyutil.c:930:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char buf[MAX_KEY_SIZE];
data/nss-pem-1.0.6/nss/nss/cmd/tests/encodeinttest.c:11:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char data[5];
data/nss-pem-1.0.6/nss/nss/cmd/tstclnt/tstclnt.c:793:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[256];
data/nss-pem-1.0.6/nss/nss/cmd/tstclnt/tstclnt.c:834:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char addrBuf[80];
data/nss-pem-1.0.6/nss/nss/cmd/tstclnt/tstclnt.c:1862:34:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                numConnections = atoi(optstate->value);
data/nss-pem-1.0.6/nss/nss/cmd/tstclnt/tstclnt.c:1866:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                switch (atoi(optstate->value)) {
data/nss-pem-1.0.6/nss/nss/cmd/tstclnt/tstclnt.c:1978:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                multiplier = atoi(optstate->value);
data/nss-pem-1.0.6/nss/nss/cmd/tstclnt/tstclnt.c:1992:36:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                portno = (PRUint16)atoi(optstate->value);
data/nss-pem-1.0.6/nss/nss/cmd/tstclnt/tstclnt.c:2004:38:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                pingTimeoutSeconds = atoi(optstate->value);
data/nss-pem-1.0.6/nss/nss/cmd/tstclnt/tstclnt.c:2016:38:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                renegotiationsToDo = atoi(optstate->value);
data/nss-pem-1.0.6/nss/nss/cmd/vfychain/vfychain.c:787:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char buff[256];
data/nss-pem-1.0.6/nss/nss/cmd/vfychain/vfychain.c:792:25:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                        sprintf(buff, "Certificate %d Subject", count + 1);
data/nss-pem-1.0.6/nss/nss/cmd/vfyserv/vfyserv.c:245:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[PR_NETDB_BUF_SIZE];
data/nss-pem-1.0.6/nss/nss/cmd/vfyserv/vfyserv.c:338:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[PR_NETDB_BUF_SIZE];
data/nss-pem-1.0.6/nss/nss/cmd/vfyserv/vfyserv.h:45:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char data[BUFFER_SIZE];
data/nss-pem-1.0.6/nss/nss/cmd/vfyserv/vfyutil.c:602:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char certFileName[16];
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/nsinstall.c:193:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char 	buf[BUFSIZ];
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/nsinstall.c:348:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	    fromfd = open(name, O_RDONLY);
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/nsinstall.c:359:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	    tofd = open(toname, O_CREAT | O_WRONLY, 0666);
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/pathsub.c:158:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[NAME_MAX];
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/pathsub.c:180:6:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	    strcpy(outpath + len, "../");
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/pathsub.c:195:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[NAME_MAX];
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/pathsub.c:215:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy(cp, "../", 3);
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/pathsub.c:229:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char 	buf[BUFSIZ];
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/sunos4.h:50:30:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#define memmove(to,from,len) bcopy((char*)(from),(char*)(to),len)
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/sunos4.h:52:13:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
extern void bcopy(const char *, char *, int);
data/nss-pem-1.0.6/nss/nss/cpputil/databuffer.cc:24:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(static_cast<void*>(data_), static_cast<const void*>(d), l);
data/nss-pem-1.0.6/nss/nss/cpputil/databuffer.cc:40:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(static_cast<void*>(tmp), static_cast<const void*>(data_), len_);
data/nss-pem-1.0.6/nss/nss/cpputil/databuffer.cc:50:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(static_cast<void*>(data_ + index), static_cast<const void*>(val),
data/nss-pem-1.0.6/nss/nss/fuzz/mpi_add_target.cc:29:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char rC[max_size], cC[max_size], aC[max_size], bC[max_size];
data/nss-pem-1.0.6/nss/nss/fuzz/mpi_helper.cc:24:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char mpiMc[max_size];
data/nss-pem-1.0.6/nss/nss/fuzz/mpi_invmod_target.cc:29:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(bp, data, primeLen);
data/nss-pem-1.0.6/nss/nss/fuzz/mpi_invmod_target.cc:42:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char tmp[max_size];
data/nss-pem-1.0.6/nss/nss/fuzz/mpi_invmod_target.cc:61:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char cC[max_size];
data/nss-pem-1.0.6/nss/nss/fuzz/mpi_sqr_target.cc:29:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char rC[max_size], cC[max_size], aC[max_size];
data/nss-pem-1.0.6/nss/nss/fuzz/mpi_sub_target.cc:29:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char rC[max_size], cC[max_size], aC[max_size], bC[max_size];
data/nss-pem-1.0.6/nss/nss/fuzz/quickder_target.cc:65:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char *dest[2048];
data/nss-pem-1.0.6/nss/nss/fuzz/tls_mutators.cc:33:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(buf, data_, size_);
data/nss-pem-1.0.6/nss/nss/fuzz/tls_mutators.cc:39:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(dest, buf, size_);
data/nss-pem-1.0.6/nss/nss/fuzz/tls_mutators.cc:130:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(buf, data, size);
data/nss-pem-1.0.6/nss/nss/fuzz/tls_mutators.cc:146:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(dest, rec->data(), rec->size());
data/nss-pem-1.0.6/nss/nss/fuzz/tls_mutators.cc:253:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(second_record, rdata, 3);
data/nss-pem-1.0.6/nss/nss/fuzz/tls_mutators.cc:291:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(out + total, rec->data(), length);
data/nss-pem-1.0.6/nss/nss/fuzz/tls_socket.cc:18:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(data, buf_, amount);
data/nss-pem-1.0.6/nss/nss/gtests/common/util.h:69:9:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
        MultiByteToWideChar(CP_ACP, 0, mPath.data(), mPath.size(), nullptr, 0);
data/nss-pem-1.0.6/nss/nss/gtests/common/util.h:71:5:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
    MultiByteToWideChar(CP_ACP, 0, mPath.data(), mPath.size(), buf.data(),
data/nss-pem-1.0.6/nss/nss/gtests/cryptohi_gtest/cryptohi_unittest.cc:45:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(ecParams.data + 2, oidData->oid.data, oidData->oid.len);
data/nss-pem-1.0.6/nss/nss/gtests/der_gtest/der_getint_unittest.cc:51:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char der[sizeof(long) * 2] = {0};
data/nss-pem-1.0.6/nss/nss/gtests/der_gtest/der_getint_unittest.cc:72:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char der[sizeof(long) * 2];
data/nss-pem-1.0.6/nss/nss/gtests/der_gtest/der_getint_unittest.cc:78:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char der[sizeof(long)];
data/nss-pem-1.0.6/nss/nss/gtests/der_gtest/der_getint_unittest.cc:84:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char der[sizeof(long)];
data/nss-pem-1.0.6/nss/nss/gtests/der_gtest/der_getint_unittest.cc:90:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char der[sizeof(long)];
data/nss-pem-1.0.6/nss/nss/gtests/der_gtest/der_getint_unittest.cc:97:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char der[sizeof(long)];
data/nss-pem-1.0.6/nss/nss/gtests/der_gtest/der_getint_unittest.cc:104:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char der[sizeof(long) + 1];
data/nss-pem-1.0.6/nss/nss/gtests/der_gtest/der_getint_unittest.cc:113:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char der[sizeof(long) + 1];
data/nss-pem-1.0.6/nss/nss/gtests/freebl_gtest/ecl_unittest.cc:61:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(params->data + 2, oidData->oid.data, oidData->oid.len);
data/nss-pem-1.0.6/nss/nss/gtests/freebl_gtest/mpi_unittest.cc:142:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char c_tmp[40];
data/nss-pem-1.0.6/nss/nss/gtests/freebl_gtest/rsa_unittest.cc:30:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char pubExp[1] = {publicExponent};
data/nss-pem-1.0.6/nss/nss/gtests/freebl_gtest/rsa_unittest.cc:65:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char pubExp[3] = {0x01, 0x00, 0x01};
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/include/gtest/internal/gtest-port.h:2515:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  return fopen(path, mode);
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/samples/sample2.cc:42:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(clone, a_c_string, len + 1);
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/src/gtest-death-test.cc:341:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[256];
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/src/gtest-death-test.cc:762:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char executable_path[_MAX_PATH + 1];  // NOLINT
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/src/gtest-death-test.cc:1243:22:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  const int cwd_fd = open(".", O_RDONLY);
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/src/gtest-filepath.cc:103:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char cwd[GTEST_PATH_MAX_ + 1] = { '\0' };
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/src/gtest-filepath.cc:106:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char cwd[GTEST_PATH_MAX_ + 1] = { '\0' };
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/src/gtest-port.cc:135:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  const int fd = open("/proc/self/as", O_RDONLY);
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/src/gtest-port.cc:922:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(buffer, regex, len);
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/src/gtest-port.cc:996:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char temp_dir_path[MAX_PATH + 1] = { '\0' };  // NOLINT
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/src/gtest-port.cc:997:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char temp_file_path[MAX_PATH + 1] = { '\0' };  // NOLINT
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/src/gtest-port.cc:1034:29:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
    const int captured_fd = mkstemp(name_template);
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/src/gtest-printers.cc:65:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char text[5] = "";
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/src/gtest.cc:906:7:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
      MultiByteToWideChar(CP_ACP, 0, ansi, length,
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/src/gtest.cc:909:3:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
  MultiByteToWideChar(CP_ACP, 0, ansi, length,
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/src/gtest.cc:1725:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char error_text[kBufSize] = { '\0' };
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/src/gtest.cc:1809:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char str[5];  // Big enough for the largest valid code point.
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/src/gtest.cc:4343:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tmp[1024];
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/src/gtest.cc:4349:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char line[1024];
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/googletest-filepath-test.cc:360:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char current_drive[_MAX_PATH];  // NOLINT
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/googletest-filepath-test.cc:377:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char non_drive[_MAX_PATH];  // NOLINT
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/googletest-printers-test.cc:129:32:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  UnprintableInFoo() : z_(0) { memcpy(xy_, "\xEF\x12\x0\x0\x34\xAB\x0\x0", 8); }
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/googletest-printers-test.cc:132:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char xy_[8];
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/googletest-printers-test.cc:1138:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char array[257];
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/gtest_unittest.cc:7659:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char a[3] = "hi";
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/gtest_unittest.cc:7743:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char a[2][3] = { "hi", "lo" };
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/xcode/Samples/FrameworkSample/widget_test.cc:58:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[max_size];
data/nss-pem-1.0.6/nss/nss/gtests/mozpkix_gtest/pkixder_pki_types_tests.cpp:253:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(derWithNullParam, param.der, param.derLength);
data/nss-pem-1.0.6/nss/nss/gtests/mozpkix_gtest/pkixder_pki_types_tests.cpp:407:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(derWithNullParam, param.der, param.derLength);
data/nss-pem-1.0.6/nss/nss/gtests/nss_bogo_shim/nss_bogo_shim.cc:520:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char chosen[256];
data/nss-pem-1.0.6/nss/nss/gtests/nss_bogo_shim/nsskeys.cc:30:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[1024];
data/nss-pem-1.0.6/nss/nss/gtests/pk11_gtest/pk11_aes_gcm_unittest.cc:336:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(cipher_message.data() + output_len_message,
data/nss-pem-1.0.6/nss/nss/gtests/pk11_gtest/pk11_aeskeywrappad_unittest.cc:22:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char param_buf[kOidLen];
data/nss-pem-1.0.6/nss/nss/gtests/pk11_gtest/pk11_aeskeywrappad_unittest.cc:23:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char unwrap_buf[kPublicKeyLen];
data/nss-pem-1.0.6/nss/nss/gtests/pk11_gtest/pk11_aeskeywrappad_unittest.cc:33:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(ecdsa_params.data + 2, oid_data->oid.data, oid_data->oid.len);
data/nss-pem-1.0.6/nss/nss/gtests/pk11_gtest/pk11_aeskeywrappad_unittest.cc:74:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char unwrap_buf[kwrappedBufLen];
data/nss-pem-1.0.6/nss/nss/gtests/pk11_gtest/pk11_aeskeywrappad_unittest.cc:249:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const unsigned char buf[32] = {
data/nss-pem-1.0.6/nss/nss/gtests/pk11_gtest/pk11_aeskeywrappad_unittest.cc:284:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const unsigned char buf[32] = {0};
data/nss-pem-1.0.6/nss/nss/gtests/pk11_gtest/pk11_aeskeywrappad_unittest.cc:315:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const unsigned char buf[32] = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
data/nss-pem-1.0.6/nss/nss/gtests/pk11_gtest/pk11_aeskeywrappad_unittest.cc:350:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const unsigned char
data/nss-pem-1.0.6/nss/nss/gtests/pk11_gtest/pk11_aeskeywrappad_unittest.cc:385:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const unsigned char buf[kInputKeyLen] = {
data/nss-pem-1.0.6/nss/nss/gtests/pk11_gtest/pk11_chacha20poly1305_unittest.cc:346:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(cipher_message.data() + output_len_message,
data/nss-pem-1.0.6/nss/nss/gtests/pk11_gtest/pk11_export_unittest.cc:47:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char random[32] = {0};
data/nss-pem-1.0.6/nss/nss/gtests/pk11_gtest/pk11_keygen.cc:92:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&extra_[2], curve->oid.data, curve->oid.len);
data/nss-pem-1.0.6/nss/nss/gtests/pkcs11testmodule/pkcs11testmodule.cpp:58:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(dest, src, SrcSize - 1);
data/nss-pem-1.0.6/nss/nss/gtests/pkcs11testmodule/pkcs11testmodule.cpp:114:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(pSlotList, slots, sizeof(CK_SLOT_ID) * slotCount);
data/nss-pem-1.0.6/nss/nss/gtests/pkcs11testmodule/pkcs11testmodule.cpp:326:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(pTemplate[count].pValue, &value, sizeof(value));
data/nss-pem-1.0.6/nss/nss/gtests/pkcs11testmodule/pkcs11testmodule.cpp:354:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&value, attribute.pValue, attribute.ulValueLen);
data/nss-pem-1.0.6/nss/nss/gtests/softoken_gtest/softoken_gtest.cc:161:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char buf1[100];
data/nss-pem-1.0.6/nss/nss/gtests/softoken_gtest/softoken_gtest.cc:162:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char buf2[100];
data/nss-pem-1.0.6/nss/nss/gtests/softoken_gtest/softoken_gtest.cc:184:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char buf1[100];
data/nss-pem-1.0.6/nss/nss/gtests/softoken_gtest/softoken_gtest.cc:185:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char buf2[100];
data/nss-pem-1.0.6/nss/nss/gtests/softoken_gtest/softoken_gtest.cc:186:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char buf3[200];
data/nss-pem-1.0.6/nss/nss/gtests/softoken_gtest/softoken_gtest.cc:212:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char buf1[100];
data/nss-pem-1.0.6/nss/nss/gtests/softoken_gtest/softoken_gtest.cc:213:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char buf2[100];
data/nss-pem-1.0.6/nss/nss/gtests/softoken_gtest/softoken_gtest.cc:214:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char buf3[100];
data/nss-pem-1.0.6/nss/nss/gtests/softoken_gtest/softoken_gtest.cc:240:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char buf1[100];
data/nss-pem-1.0.6/nss/nss/gtests/softoken_gtest/softoken_gtest.cc:241:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char buf2[100];
data/nss-pem-1.0.6/nss/nss/gtests/softoken_gtest/softoken_gtest.cc:242:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char buf3[100];
data/nss-pem-1.0.6/nss/nss/gtests/softoken_gtest/softoken_gtest.cc:243:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char buf4[100];
data/nss-pem-1.0.6/nss/nss/gtests/softoken_gtest/softoken_gtest.cc:244:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char buf5[100];
data/nss-pem-1.0.6/nss/nss/gtests/softoken_gtest/softoken_gtest.cc:245:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char buf6[200];
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/libssl_internals.c:53:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(dc_schemes, schemes, sizeof(SSLSignatureScheme) * num_sig_schemes);
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/libssl_internals.c:97:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(client_random, ss->ssl3.hs.client_random, sizeof(SSL3Random));
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/libssl_internals.c:100:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(server_random, ss->ssl3.hs.server_random, sizeof(SSL3Random));
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/libssl_internals.c:245:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char data[32] = {0};
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/selfencrypt_unittest.cc:82:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      ssl_trace = atoi(ev);
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_aead_unittest.cc:88:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(input, ciphertext, ciphertext_len);
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_aead_unittest.cc:96:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(input, ciphertext, ciphertext_len);
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_aead_unittest.cc:104:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(input, kAad, sizeof(kAad));
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_hrr_unittest.cc:481:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(appToken, kApplicationToken, sizeof(kApplicationToken));
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_loopback_unittest.cc:627:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(crandom1, ch->buffer().data() + 2, random_len);
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_loopback_unittest.cc:628:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(srandom1, sh->buffer().data() + 2, random_len);
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_v2_client_hello_unittest.cc:364:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(srandom1, sh->buffer().data() + 2, random_len);
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/test_io.cc:77:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(data, static_cast<const void *>(front.data() + front.offset()),
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/test_io.cc:119:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(buf, front.data(), count);
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/tls_agent.cc:718:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char chosen[10];
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/tls_connect.cc:649:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(protoOut, &agent->alpn_value_to_use_[0], s_len);
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/tls_esni_unittest.cc:41:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(params->data + 2, oidData->oid.data, oidData->oid.len);
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/tls_filter.cc:1068:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(output->data() + offset, &ext_len, sizeof(ext_len));
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/tls_hkdf_unittest.cc:129:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      ssl_trace = atoi(ev);
data/nss-pem-1.0.6/nss/nss/gtests/util_gtest/util_utf8_unittest.cc:60:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char utf8[8] = {0};
data/nss-pem-1.0.6/nss/nss/gtests/util_gtest/util_utf8_unittest.cc:89:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char utf8[8];
data/nss-pem-1.0.6/nss/nss/gtests/util_gtest/util_utf8_unittest.cc:108:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char utf8[8] = {0};
data/nss-pem-1.0.6/nss/nss/gtests/util_gtest/util_utf8_unittest.cc:137:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char utf8[8];
data/nss-pem-1.0.6/nss/nss/gtests/util_gtest/util_utf8_unittest.cc:156:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char utf8[8];
data/nss-pem-1.0.6/nss/nss/gtests/util_gtest/util_utf8_unittest.cc:175:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char utf8[8];
data/nss-pem-1.0.6/nss/nss/gtests/util_gtest/util_utf8_unittest.cc:197:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char utf8from32[8];
data/nss-pem-1.0.6/nss/nss/gtests/util_gtest/util_utf8_unittest.cc:208:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char utf8from16[8];
data/nss-pem-1.0.6/nss/nss/gtests/util_gtest/util_utf8_unittest.cc:226:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char destBuf[30];
data/nss-pem-1.0.6/nss/nss/gtests/util_gtest/util_utf8_unittest.cc:238:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char destBuf[30];
data/nss-pem-1.0.6/nss/nss/gtests/util_gtest/util_utf8_unittest.cc:263:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char destBuf[18];
data/nss-pem-1.0.6/nss/nss/gtests/util_gtest/util_utf8_unittest.cc:276:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char utf8[3] = {0};
data/nss-pem-1.0.6/nss/nss/lib/base/arena.c:1055:37:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            (void)nsslibc_memset(&((char *)rv)[h->size], 0,
data/nss-pem-1.0.6/nss/nss/lib/base/arena.c:1105:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char *extra = &((char *)pointer)[newSize];
data/nss-pem-1.0.6/nss/nss/lib/base/arena.c:1126:33:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        (void)nsslibc_memset(&((char *)rv)[h->size], 0, (newSize - h->size));
data/nss-pem-1.0.6/nss/nss/lib/base/libc.c:50:12:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    return memcpy(dest, source, (size_t)n);
data/nss-pem-1.0.6/nss/nss/lib/base/utf8.c:212:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    if ('\0' != ((const char *)s)[len]) {
data/nss-pem-1.0.6/nss/nss/lib/base/utf8.c:262:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    if ('\0' != ((const char *)s)[sv - 1]) {
data/nss-pem-1.0.6/nss/nss/lib/certdb/alg1485.c:385:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tagBuf[32];
data/nss-pem-1.0.6/nss/nss/lib/certdb/alg1485.c:386:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char valBuf[1024];
data/nss-pem-1.0.6/nss/nss/lib/certdb/alg1485.c:643:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char hexChars[16] = { "0123456789abcdef" };
data/nss-pem-1.0.6/nss/nss/lib/certdb/alg1485.c:928:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tmpBuf[TMPBUF_LEN];
data/nss-pem-1.0.6/nss/nss/lib/certdb/alg1485.c:1024:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(encodedAVA, tagName, nameLen);
data/nss-pem-1.0.6/nss/nss/lib/certdb/alg1485.c:1046:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(encodedAVA + nameLen, (char*)avaValue->data, valueLen);
data/nss-pem-1.0.6/nss/nss/lib/certdb/alg1485.c:1059:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char bigTmpBuf[TMPBUF_LEN * 3 + 3];
data/nss-pem-1.0.6/nss/nss/lib/certdb/alg1485.c:1077:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(encodedAVA + nameLen, bigTmpBuf, valueLen + 1);
data/nss-pem-1.0.6/nss/nss/lib/certdb/certdb.c:1445:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cnbuf[128];
data/nss-pem-1.0.6/nss/nss/lib/certdb/certdb.c:1645:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char ipbuf[INET6_ADDRSTRLEN];
data/nss-pem-1.0.6/nss/nss/lib/certdb/certdb.c:1670:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(&addr.inet.ip, currentInput->name.other.data,
data/nss-pem-1.0.6/nss/nss/lib/certdb/certdb.c:1674:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(&addr.ipv6.ip, currentInput->name.other.data,
data/nss-pem-1.0.6/nss/nss/lib/certdb/certdb.c:2419:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tmpTrustSSL[32];
data/nss-pem-1.0.6/nss/nss/lib/certdb/certdb.c:2420:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tmpTrustEmail[32];
data/nss-pem-1.0.6/nss/nss/lib/certdb/certdb.c:2421:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tmpTrustSigning[32];
data/nss-pem-1.0.6/nss/nss/lib/certhigh/certvfy.c:462:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const unsigned char CAWoSignRootDN[72] = {
data/nss-pem-1.0.6/nss/nss/lib/certhigh/certvfy.c:472:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const unsigned char CAWoSignECCRootDN[72] = {
data/nss-pem-1.0.6/nss/nss/lib/certhigh/certvfy.c:482:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const unsigned char CertificationAuthorityofWoSignDN[87] = {
data/nss-pem-1.0.6/nss/nss/lib/certhigh/certvfy.c:493:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const unsigned char CertificationAuthorityofWoSignG2DN[90] = {
data/nss-pem-1.0.6/nss/nss/lib/certhigh/certvfy.c:504:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const unsigned char StartComCertificationAuthorityDN[127] = {
data/nss-pem-1.0.6/nss/nss/lib/certhigh/certvfy.c:518:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const unsigned char StartComCertificationAuthorityG2DN[85] = {
data/nss-pem-1.0.6/nss/nss/lib/certhigh/ocsp.c:175:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[2000];
data/nss-pem-1.0.6/nss/nss/lib/certhigh/ocsp.c:190:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char timestr[256];
data/nss-pem-1.0.6/nss/nss/lib/certhigh/ocsp.c:230:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char beforestr[256], afterstr[256];
data/nss-pem-1.0.6/nss/nss/lib/certhigh/ocsp.c:3014:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char portstr[16];
data/nss-pem-1.0.6/nss/nss/lib/certhigh/ocsp.c:3252:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            contentlength = atoi(value);
data/nss-pem-1.0.6/nss/nss/lib/certhigh/ocsp.c:3562:21:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
                    strcpy(walkOutput, "%2B");
data/nss-pem-1.0.6/nss/nss/lib/certhigh/ocsp.c:3569:21:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
                    strcpy(walkOutput, "%2F");
data/nss-pem-1.0.6/nss/nss/lib/certhigh/ocsp.c:3576:21:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
                    strcpy(walkOutput, "%3D");
data/nss-pem-1.0.6/nss/nss/lib/certhigh/ocsp.c:3664:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char b64ReqBuf[max_get_request_size + 1];
data/nss-pem-1.0.6/nss/nss/lib/certhigh/ocsp.c:3855:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[HASH_LENGTH_MAX];
data/nss-pem-1.0.6/nss/nss/lib/ckfw/capi/ckcapi.h:52:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char publicExponentData[sizeof(CK_ULONG)];
data/nss-pem-1.0.6/nss/nss/lib/ckfw/capi/ckcapi.h:87:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char derSerial[128];
data/nss-pem-1.0.6/nss/nss/lib/ckfw/capi/ckcapi.h:112:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char hashKeyData[128];
data/nss-pem-1.0.6/nss/nss/lib/ckfw/capi/cobject.c:401:12:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
    size = MultiByteToWideChar(CP_UTF8, 0, buf, -1, NULL, 0);
data/nss-pem-1.0.6/nss/nss/lib/ckfw/capi/cobject.c:406:12:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
    size = MultiByteToWideChar(CP_UTF8, 0, buf, -1, wide, size);
data/nss-pem-1.0.6/nss/nss/lib/ckfw/capi/cobject.c:546:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char data[1];
data/nss-pem-1.0.6/nss/nss/lib/ckfw/capi/cobject.c:703:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char labelDataUTF16[128];
data/nss-pem-1.0.6/nss/nss/lib/ckfw/dbm/db.c:13:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char prefix[4];
data/nss-pem-1.0.6/nss/nss/lib/ckfw/dbm/db.c:77:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[64];
data/nss-pem-1.0.6/nss/nss/lib/ckfw/dbm/db.c:253:19:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            (void)memcpy(&align, v.data, sizeof(CK_ULONG));
data/nss-pem-1.0.6/nss/nss/lib/ckfw/dbm/db.c:286:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    (void)memcpy(&hp->prefix[0], PREFIX_OBJECT, 4);
data/nss-pem-1.0.6/nss/nss/lib/ckfw/dbm/db.c:458:19:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            (void)memcpy(dest, src, len);
data/nss-pem-1.0.6/nss/nss/lib/ckfw/dbm/db.c:462:19:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            (void)memcpy(&s, src, sizeof(CK_USHORT));
data/nss-pem-1.0.6/nss/nss/lib/ckfw/dbm/db.c:464:19:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            (void)memcpy(dest, &d, sizeof(CK_USHORT));
data/nss-pem-1.0.6/nss/nss/lib/ckfw/dbm/db.c:469:19:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            (void)memcpy(&s, src, sizeof(CK_ULONG));
data/nss-pem-1.0.6/nss/nss/lib/ckfw/dbm/db.c:471:19:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            (void)memcpy(dest, &d, sizeof(CK_ULONG));
data/nss-pem-1.0.6/nss/nss/lib/ckfw/dbm/db.c:713:23:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                (void)memcpy(node->dbt->dbt.data, k.data, k.size);
data/nss-pem-1.0.6/nss/nss/lib/ckfw/dbm/db.c:959:23:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                (void)memcpy(rv->data, pTemplate[i].pValue, rv->size);
data/nss-pem-1.0.6/nss/nss/lib/ckfw/dbm/find.c:98:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    (void)memcpy(object->handle->dbt.data, node->dbt->dbt.data, node->dbt->dbt.size);
data/nss-pem-1.0.6/nss/nss/lib/crmf/challcli.c:97:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char hash[HASH_LENGTH_MAX];
data/nss-pem-1.0.6/nss/nss/lib/cryptohi/keythi.h:140:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char KMID[8];
data/nss-pem-1.0.6/nss/nss/lib/cryptohi/secsign.c:156:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char digest[HASH_LENGTH_MAX];
data/nss-pem-1.0.6/nss/nss/lib/cryptohi/secvfy.c:133:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char buffer[1];
data/nss-pem-1.0.6/nss/nss/lib/cryptohi/secvfy.c:136:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char dsasig[DSA_MAX_SIGNATURE_LEN];
data/nss-pem-1.0.6/nss/nss/lib/cryptohi/secvfy.c:138:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char ecdsasig[2 * MAX_ECKEY_LEN];
data/nss-pem-1.0.6/nss/nss/lib/cryptohi/secvfy.c:140:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char rsasig[(RSA_MAX_MODULUS_BITS + 7) / 8];
data/nss-pem-1.0.6/nss/nss/lib/cryptohi/secvfy.c:607:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char final[HASH_LENGTH_MAX];
data/nss-pem-1.0.6/nss/nss/lib/dbm/include/hash.h:74:39:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#define DBFILE_OPEN(path, flag, mode) open((path), flag)
data/nss-pem-1.0.6/nss/nss/lib/dbm/include/hash.h:77:39:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#define DBFILE_OPEN(path, flag, mode) open((path), (flag), (mode))
data/nss-pem-1.0.6/nss/nss/lib/dbm/include/mcom_db.h:211:5:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
int mkstemp(const char *path);
data/nss-pem-1.0.6/nss/nss/lib/dbm/include/mcom_db.h:366:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        ((char *)a)[0] = ((char *)&_tmp)[3]; \
data/nss-pem-1.0.6/nss/nss/lib/dbm/include/mcom_db.h:367:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        ((char *)a)[1] = ((char *)&_tmp)[2]; \
data/nss-pem-1.0.6/nss/nss/lib/dbm/include/mcom_db.h:368:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        ((char *)a)[2] = ((char *)&_tmp)[1]; \
data/nss-pem-1.0.6/nss/nss/lib/dbm/include/mcom_db.h:369:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        ((char *)a)[3] = ((char *)&_tmp)[0]; \
data/nss-pem-1.0.6/nss/nss/lib/dbm/include/mcom_db.h:394:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        ((char *)a)[0] = ((char *)&_tmp)[1]; \
data/nss-pem-1.0.6/nss/nss/lib/dbm/include/mcom_db.h:395:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        ((char *)a)[1] = ((char *)&_tmp)[0]; \
data/nss-pem-1.0.6/nss/nss/lib/dbm/include/ncompat.h:116:9:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#define bcopy(a, b, n) memmove(b, a, n)
data/nss-pem-1.0.6/nss/nss/lib/dbm/include/ncompat.h:123:26:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#define memmove(a, b, n) bcopy(b, a, n)
data/nss-pem-1.0.6/nss/nss/lib/dbm/include/winfile.h:47:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char d_name[_MAX_FNAME]; /* name of file */
data/nss-pem-1.0.6/nss/nss/lib/dbm/include/winfile.h:89:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char d_name[_MAX_FNAME]; /* name of file */
data/nss-pem-1.0.6/nss/nss/lib/dbm/include/winfile.h:91:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char d_name[20]; /* name of file */
data/nss-pem-1.0.6/nss/nss/lib/dbm/src/dirent.c:64:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[MAXPATHLEN + 3]; /* directory name */
data/nss-pem-1.0.6/nss/nss/lib/dbm/src/dirent.c:76:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char cache[1 + 26];
data/nss-pem-1.0.6/nss/nss/lib/dbm/src/dirent.c:77:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char drive[3], info[512];
data/nss-pem-1.0.6/nss/nss/lib/dbm/src/dirent.c:128:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[4];
data/nss-pem-1.0.6/nss/nss/lib/dbm/src/dirent.c:149:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[MAXPATHLEN + 3];
data/nss-pem-1.0.6/nss/nss/lib/dbm/src/dirent.c:173:9:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat(dir->name, "\\*");
data/nss-pem-1.0.6/nss/nss/lib/dbm/src/dirent.c:236:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(dir->entry.d_name, dir->next->achName, dir->next->cchName);
data/nss-pem-1.0.6/nss/nss/lib/dbm/src/dirent.c:276:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char name[MAXPATHLEN + 2];
data/nss-pem-1.0.6/nss/nss/lib/dbm/src/dirent.h:56:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char d_name[MAXNAMLEN + 1];
data/nss-pem-1.0.6/nss/nss/lib/dbm/src/dirent.h:62:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char d_name[MAXNAMLEN + 1]; /* garentee null termination */
data/nss-pem-1.0.6/nss/nss/lib/dbm/src/h_page.c:159:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buffer[1024];
data/nss-pem-1.0.6/nss/nss/lib/dbm/src/h_page.c:1140:17:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
    hashp->fp = mkstemp(NULL);
data/nss-pem-1.0.6/nss/nss/lib/dbm/src/h_page.c:1151:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[1024];
data/nss-pem-1.0.6/nss/nss/lib/dbm/src/h_page.c:1188:22:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
    if ((hashp->fp = mkstemp(filename)) != -1) {
data/nss-pem-1.0.6/nss/nss/lib/dbm/src/hash.c:189:26:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        if ((hashp->fp = open(file, flags, mode)) == -1)
data/nss-pem-1.0.6/nss/nss/lib/dbm/src/memmove.c:58:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(dst0, src0, length)
data/nss-pem-1.0.6/nss/nss/lib/dbm/src/memmove.c:65:5:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    bcopy(src0, dst0, length)
data/nss-pem-1.0.6/nss/nss/lib/dbm/src/mktemp.c:60:1:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
mkstemp(char *path)
data/nss-pem-1.0.6/nss/nss/lib/dbm/src/mktemp.c:63:18:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    FILE *temp = tmpfile();
data/nss-pem-1.0.6/nss/nss/lib/dbm/src/mktemp.c:126:22:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                     open(path, O_CREAT | O_EXCL | O_RDWR | extraFlags, 0600)) >= 0)
data/nss-pem-1.0.6/nss/nss/lib/dbm/src/strerror.c:50:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char ebuf[40] = UPREFIX; /* 64-bit number + slop */
data/nss-pem-1.0.6/nss/nss/lib/dbm/src/strerror.c:53:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tmp[40];
data/nss-pem-1.0.6/nss/nss/lib/dbm/tests/lots.c:138:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char data_string[64];
data/nss-pem-1.0.6/nss/nss/lib/dbm/tests/lots.c:142:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(data_string, "%ld", (long)num);
data/nss-pem-1.0.6/nss/nss/lib/dbm/tests/lots.c:204:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&count, data->data, sizeof(int32));
data/nss-pem-1.0.6/nss/nss/lib/dbm/tests/lots.c:216:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&compare_num, &int32_array[count], sizeof(int32));
data/nss-pem-1.0.6/nss/nss/lib/dbm/tests/lots.c:296:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&int32_array[0], &n, sizeof(int32));
data/nss-pem-1.0.6/nss/nss/lib/dbm/tests/lots.c:299:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&int32_array[n], &num, sizeof(int32));
data/nss-pem-1.0.6/nss/nss/lib/freebl/aes-armv8.c:28:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    pre_align unsigned char buf[16] post_align;
data/nss-pem-1.0.6/nss/nss/lib/freebl/aes-armv8.c:56:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(buf, input, 16);
data/nss-pem-1.0.6/nss/nss/lib/freebl/aes-armv8.c:93:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(output, buf, 16);
data/nss-pem-1.0.6/nss/nss/lib/freebl/aes-armv8.c:113:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    pre_align unsigned char buf[16] post_align;
data/nss-pem-1.0.6/nss/nss/lib/freebl/aes-armv8.c:141:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(buf, input, 16);
data/nss-pem-1.0.6/nss/nss/lib/freebl/aes-armv8.c:178:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(output, buf, 16);
data/nss-pem-1.0.6/nss/nss/lib/freebl/aes-armv8.c:198:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    pre_align unsigned char buf[16] post_align;
data/nss-pem-1.0.6/nss/nss/lib/freebl/aes-armv8.c:231:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(buf, input, 16);
data/nss-pem-1.0.6/nss/nss/lib/freebl/aes-armv8.c:270:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(output, buf, 16);
data/nss-pem-1.0.6/nss/nss/lib/freebl/aes-armv8.c:292:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    pre_align unsigned char buf[16] post_align;
data/nss-pem-1.0.6/nss/nss/lib/freebl/aes-armv8.c:325:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(buf, input, 16);
data/nss-pem-1.0.6/nss/nss/lib/freebl/aes-armv8.c:365:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(output, buf, 16);
data/nss-pem-1.0.6/nss/nss/lib/freebl/aes-armv8.c:388:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    pre_align unsigned char buf[16] post_align;
data/nss-pem-1.0.6/nss/nss/lib/freebl/aes-armv8.c:418:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(buf, input, 16);
data/nss-pem-1.0.6/nss/nss/lib/freebl/aes-armv8.c:459:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(output, buf, 16);
data/nss-pem-1.0.6/nss/nss/lib/freebl/aes-armv8.c:479:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    pre_align unsigned char buf[16] post_align;
data/nss-pem-1.0.6/nss/nss/lib/freebl/aes-armv8.c:509:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(buf, input, 16);
data/nss-pem-1.0.6/nss/nss/lib/freebl/aes-armv8.c:550:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(output, buf, 16);
data/nss-pem-1.0.6/nss/nss/lib/freebl/aes-armv8.c:570:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    pre_align unsigned char buf[16] post_align;
data/nss-pem-1.0.6/nss/nss/lib/freebl/aes-armv8.c:605:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(buf, input, 16);
data/nss-pem-1.0.6/nss/nss/lib/freebl/aes-armv8.c:647:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(output, buf, 16);
data/nss-pem-1.0.6/nss/nss/lib/freebl/aes-armv8.c:669:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    pre_align unsigned char buf[16] post_align;
data/nss-pem-1.0.6/nss/nss/lib/freebl/aes-armv8.c:704:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(buf, input, 16);
data/nss-pem-1.0.6/nss/nss/lib/freebl/aes-armv8.c:748:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(output, buf, 16);
data/nss-pem-1.0.6/nss/nss/lib/freebl/aes-armv8.c:771:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    pre_align unsigned char buf[16] post_align;
data/nss-pem-1.0.6/nss/nss/lib/freebl/aes-armv8.c:803:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(buf, input, 16);
data/nss-pem-1.0.6/nss/nss/lib/freebl/aes-armv8.c:848:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(output, buf, 16);
data/nss-pem-1.0.6/nss/nss/lib/freebl/aes-armv8.c:867:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    pre_align unsigned char buf[16] post_align;
data/nss-pem-1.0.6/nss/nss/lib/freebl/aes-armv8.c:899:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(buf, input, 16);
data/nss-pem-1.0.6/nss/nss/lib/freebl/aes-armv8.c:944:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(output, buf, 16);
data/nss-pem-1.0.6/nss/nss/lib/freebl/aes-armv8.c:964:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    pre_align unsigned char buf[16] post_align;
data/nss-pem-1.0.6/nss/nss/lib/freebl/aes-armv8.c:1001:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(buf, input, 16);
data/nss-pem-1.0.6/nss/nss/lib/freebl/aes-armv8.c:1048:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(output, buf, 16);
data/nss-pem-1.0.6/nss/nss/lib/freebl/aes-armv8.c:1070:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    pre_align unsigned char buf[16] post_align;
data/nss-pem-1.0.6/nss/nss/lib/freebl/aes-armv8.c:1107:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(buf, input, 16);
data/nss-pem-1.0.6/nss/nss/lib/freebl/aes-armv8.c:1155:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(output, buf, 16);
data/nss-pem-1.0.6/nss/nss/lib/freebl/aeskeywrap.c:28:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char iv[AES_KEY_WRAP_IV_BYTES];
data/nss-pem-1.0.6/nss/nss/lib/freebl/aeskeywrap.c:65:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(cx->iv, iv, sizeof cx->iv);
data/nss-pem-1.0.6/nss/nss/lib/freebl/aeskeywrap.c:278:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&A, iv, AES_KEY_WRAP_IV_BYTES);
data/nss-pem-1.0.6/nss/nss/lib/freebl/aeskeywrap.c:279:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&R[1], input, inputLen);
data/nss-pem-1.0.6/nss/nss/lib/freebl/aeskeywrap.c:309:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(output, &R[0], outLen);
data/nss-pem-1.0.6/nss/nss/lib/freebl/aeskeywrap.c:378:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&R[0], input, inputLen);
data/nss-pem-1.0.6/nss/nss/lib/freebl/aeskeywrap.c:410:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(output, &R[1], outLen);
data/nss-pem-1.0.6/nss/nss/lib/freebl/aeskeywrap.c:414:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(ivOut, &B[0], AES_KEY_WRAP_IV_BYTES);
data/nss-pem-1.0.6/nss/nss/lib/freebl/aeskeywrap.c:494:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char iv[AES_BLOCK_SIZE] = { AES_KEY_WRAP_ICV2 };
data/nss-pem-1.0.6/nss/nss/lib/freebl/aeskeywrap.c:559:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char iv[AES_BLOCK_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/freebl/alg2268.c:163:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(cx->B, key, len);
data/nss-pem-1.0.6/nss/nss/lib/freebl/alghmac.c:21:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char ipad[HMAC_PAD_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/freebl/alghmac.c:22:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char opad[HMAC_PAD_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/freebl/alghmac.c:45:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char hashed_secret[HASH_LENGTH_MAX];
data/nss-pem-1.0.6/nss/nss/lib/freebl/arcfour.c:135:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(cx->S, Kinit, sizeof cx->S);
data/nss-pem-1.0.6/nss/nss/lib/freebl/arcfour.c:139:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(L, key, len);
data/nss-pem-1.0.6/nss/nss/lib/freebl/arcfour.c:142:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(L, key, i);
data/nss-pem-1.0.6/nss/nss/lib/freebl/blinit.c:299:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[512];
data/nss-pem-1.0.6/nss/nss/lib/freebl/blinit.c:303:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    cpuinfo = fopen("/proc/cpuinfo", "r");
data/nss-pem-1.0.6/nss/nss/lib/freebl/blname.c:49:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[256];
data/nss-pem-1.0.6/nss/nss/lib/freebl/camellia.c:1063:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char kk[32];
data/nss-pem-1.0.6/nss/nss/lib/freebl/camellia.c:1066:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(kk, key, 24);
data/nss-pem-1.0.6/nss/nss/lib/freebl/camellia.c:1067:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy((unsigned char *)&krll, key + 16, 4);
data/nss-pem-1.0.6/nss/nss/lib/freebl/camellia.c:1068:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy((unsigned char *)&krlr, key + 20, 4);
data/nss-pem-1.0.6/nss/nss/lib/freebl/camellia.c:1071:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(kk + 24, (unsigned char *)&krrl, 4);
data/nss-pem-1.0.6/nss/nss/lib/freebl/camellia.c:1072:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(kk + 28, (unsigned char *)&krrr, 4);
data/nss-pem-1.0.6/nss/nss/lib/freebl/camellia.c:1623:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char inblock[CAMELLIA_BLOCK_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/freebl/camellia.c:1647:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(cx->iv, lastblock, CAMELLIA_BLOCK_SIZE);
data/nss-pem-1.0.6/nss/nss/lib/freebl/camellia.c:1681:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char newIV[CAMELLIA_BLOCK_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/freebl/camellia.c:1690:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(newIV, in, CAMELLIA_BLOCK_SIZE);
data/nss-pem-1.0.6/nss/nss/lib/freebl/camellia.c:1713:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(cx->iv, newIV, CAMELLIA_BLOCK_SIZE);
data/nss-pem-1.0.6/nss/nss/lib/freebl/camellia.c:1753:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(cx->iv, iv, CAMELLIA_BLOCK_SIZE);
data/nss-pem-1.0.6/nss/nss/lib/freebl/camellia.c:1801:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(cx->iv, iv, CAMELLIA_BLOCK_SIZE);
data/nss-pem-1.0.6/nss/nss/lib/freebl/chacha20poly1305.h:11:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char key[32];
data/nss-pem-1.0.6/nss/nss/lib/freebl/cmac.c:32:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char k1[MAX_BLOCK_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/freebl/cmac.c:33:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char k2[MAX_BLOCK_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/freebl/cmac.c:40:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char partialBlock[MAX_BLOCK_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/freebl/cmac.c:44:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char lastBlock[MAX_BLOCK_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/freebl/cmac.c:82:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char null_block[MAX_BLOCK_SIZE] = { 0 };
data/nss-pem-1.0.6/nss/nss/lib/freebl/cmac.c:83:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char L[MAX_BLOCK_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/freebl/ctr.h:15:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char counter[MAX_BLOCK_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/freebl/ctr.h:16:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buffer[MAX_BLOCK_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/freebl/ctr.h:17:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char counterFirst[MAX_BLOCK_SIZE]; /* counter overlfow value */
data/nss-pem-1.0.6/nss/nss/lib/freebl/cts.c:18:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char iv[MAX_BLOCK_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/freebl/cts.c:92:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char lastBlock[MAX_BLOCK_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/freebl/cts.c:182:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char Cn_2[MAX_BLOCK_SIZE]; /* block Cn-2 */
data/nss-pem-1.0.6/nss/nss/lib/freebl/cts.c:183:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char Cn_1[MAX_BLOCK_SIZE]; /* block Cn-1 */
data/nss-pem-1.0.6/nss/nss/lib/freebl/cts.c:184:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char Cn[MAX_BLOCK_SIZE];   /* block Cn   */
data/nss-pem-1.0.6/nss/nss/lib/freebl/cts.c:185:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char lastBlock[MAX_BLOCK_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/freebl/cts.c:214:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(outbuf, inbuf, inlen);
data/nss-pem-1.0.6/nss/nss/lib/freebl/cts.c:219:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(lastBlock, inbuf + inlen - blocksize, blocksize);
data/nss-pem-1.0.6/nss/nss/lib/freebl/cts.c:222:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(outbuf + inlen - pad, inbuf + inlen - blocksize - pad, pad);
data/nss-pem-1.0.6/nss/nss/lib/freebl/cts.c:223:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(outbuf + inlen - blocksize - pad, lastBlock, blocksize);
data/nss-pem-1.0.6/nss/nss/lib/freebl/deprecated/seed.c:298:29:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
SEED_set_key(const unsigned char rawkey[SEED_KEY_LENGTH],
data/nss-pem-1.0.6/nss/nss/lib/freebl/deprecated/seed.c:345:29:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
SEED_encrypt(const unsigned char s[SEED_BLOCK_SIZE],
data/nss-pem-1.0.6/nss/nss/lib/freebl/deprecated/seed.c:346:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
             unsigned char d[SEED_BLOCK_SIZE],
data/nss-pem-1.0.6/nss/nss/lib/freebl/deprecated/seed.c:381:29:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
SEED_decrypt(const unsigned char s[SEED_BLOCK_SIZE],
data/nss-pem-1.0.6/nss/nss/lib/freebl/deprecated/seed.c:382:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
             unsigned char d[SEED_BLOCK_SIZE],
data/nss-pem-1.0.6/nss/nss/lib/freebl/deprecated/seed.c:440:33:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
SEED_cbc_encrypt(const unsigned char *in, unsigned char *out,
data/nss-pem-1.0.6/nss/nss/lib/freebl/deprecated/seed.c:440:52:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
SEED_cbc_encrypt(const unsigned char *in, unsigned char *out,
data/nss-pem-1.0.6/nss/nss/lib/freebl/deprecated/seed.c:442:27:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                 unsigned char ivec[SEED_BLOCK_SIZE], int enc)
data/nss-pem-1.0.6/nss/nss/lib/freebl/deprecated/seed.c:445:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char tmp[SEED_BLOCK_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/freebl/deprecated/seed.c:474:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(ivec, iv, SEED_BLOCK_SIZE);
data/nss-pem-1.0.6/nss/nss/lib/freebl/deprecated/seed.c:499:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(ivec, iv, SEED_BLOCK_SIZE);
data/nss-pem-1.0.6/nss/nss/lib/freebl/deprecated/seed.c:502:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(tmp, in, SEED_BLOCK_SIZE);
data/nss-pem-1.0.6/nss/nss/lib/freebl/deprecated/seed.c:509:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(ivec, tmp, SEED_BLOCK_SIZE);
data/nss-pem-1.0.6/nss/nss/lib/freebl/deprecated/seed.c:516:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(tmp, in, SEED_BLOCK_SIZE);
data/nss-pem-1.0.6/nss/nss/lib/freebl/deprecated/seed.c:523:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(ivec, tmp, SEED_BLOCK_SIZE);
data/nss-pem-1.0.6/nss/nss/lib/freebl/deprecated/seed.c:552:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(cx->iv, iv, 16);
data/nss-pem-1.0.6/nss/nss/lib/freebl/deprecated/seed.h:99:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char iv[SEED_BLOCK_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/freebl/deprecated/seed.h:105:34:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void SEED_set_key(const unsigned char rawkey[SEED_KEY_LENGTH],
data/nss-pem-1.0.6/nss/nss/lib/freebl/deprecated/seed.h:108:34:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void SEED_encrypt(const unsigned char s[SEED_BLOCK_SIZE],
data/nss-pem-1.0.6/nss/nss/lib/freebl/deprecated/seed.h:109:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                  unsigned char d[SEED_BLOCK_SIZE],
data/nss-pem-1.0.6/nss/nss/lib/freebl/deprecated/seed.h:111:34:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void SEED_decrypt(const unsigned char s[SEED_BLOCK_SIZE],
data/nss-pem-1.0.6/nss/nss/lib/freebl/deprecated/seed.h:112:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                  unsigned char d[SEED_BLOCK_SIZE],
data/nss-pem-1.0.6/nss/nss/lib/freebl/deprecated/seed.h:117:38:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void SEED_cbc_encrypt(const unsigned char *in, unsigned char *out,
data/nss-pem-1.0.6/nss/nss/lib/freebl/deprecated/seed.h:117:57:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void SEED_cbc_encrypt(const unsigned char *in, unsigned char *out,
data/nss-pem-1.0.6/nss/nss/lib/freebl/deprecated/seed.h:119:32:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                      unsigned char ivec[SEED_BLOCK_SIZE], int enc);
data/nss-pem-1.0.6/nss/nss/lib/freebl/desblapi.c:29:31:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#define COPY8B(to, from, ptr) memcpy(to, from, 8)
data/nss-pem-1.0.6/nss/nss/lib/freebl/det_rng.c:65:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(globalBytes, (PRUint8 *)data, PR_MIN(bytes, GLOBAL_BYTES_SIZE));
data/nss-pem-1.0.6/nss/nss/lib/freebl/det_rng.c:89:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(nonce, &globalNumCalls, sizeof(globalNumCalls));
data/nss-pem-1.0.6/nss/nss/lib/freebl/det_rng.c:101:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(dest, globalBytes, PR_MIN(len, GLOBAL_BYTES_SIZE));
data/nss-pem-1.0.6/nss/nss/lib/freebl/dh.c:303:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(derivedSecret->data + offset, secret, len);
data/nss-pem-1.0.6/nss/nss/lib/freebl/dh.c:305:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(derivedSecret->data, secret + len - nb, nb);
data/nss-pem-1.0.6/nss/nss/lib/freebl/dh.c:390:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(derivedSecret->data, secret + (len - KEA_DERIVED_SECRET_LEN),
data/nss-pem-1.0.6/nss/nss/lib/freebl/dh.c:394:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(derivedSecret->data + offset, secret, len);
data/nss-pem-1.0.6/nss/nss/lib/freebl/drbg.c:539:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(rng->C, inputhash, sizeof rng->C);
data/nss-pem-1.0.6/nss/nss/lib/freebl/drbg.c:540:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(V(rng), &inputhash[sizeof rng->C], VSize(rng));
data/nss-pem-1.0.6/nss/nss/lib/freebl/drbg.c:690:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(output, rng->data + ((sizeof rng->data) - rng->dataAvail), len);
data/nss-pem-1.0.6/nss/nss/lib/freebl/drbg.c:702:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(output, rng->data, len);
data/nss-pem-1.0.6/nss/nss/lib/freebl/dsa.c:328:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char localDigestData[DSA_MAX_SUBPRIME_LEN];
data/nss-pem-1.0.6/nss/nss/lib/freebl/dsa.c:500:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char kSeed[DSA_MAX_SUBPRIME_LEN];
data/nss-pem-1.0.6/nss/nss/lib/freebl/dsa.c:564:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char localDigestData[DSA_MAX_SUBPRIME_LEN];
data/nss-pem-1.0.6/nss/nss/lib/freebl/ec.c:69:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char mpstr[256];
data/nss-pem-1.0.6/nss/nss/lib/freebl/ec.c:266:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(key->privateValue.data, privKeyBytes, len);
data/nss-pem-1.0.6/nss/nss/lib/freebl/ec.c:269:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(key->privateValue.data + (len - privKeyLen), privKeyBytes, privKeyLen);
data/nss-pem-1.0.6/nss/nss/lib/freebl/ec.c:619:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(derivedSecret->data, pointQ.data + 1, len);
data/nss-pem-1.0.6/nss/nss/lib/freebl/ec.c:668:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char mpstr[256];
data/nss-pem-1.0.6/nss/nss/lib/freebl/ec.c:945:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char mpstr[256];
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecdecode.c:146:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(params->curveOID.data, oid.data, oid.len);
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecdecode.c:218:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(params->DEREncoding.data, encodedParams->data, encodedParams->len);
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/curve25519_32.c:293:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(s_copy, s, 32);
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/curve25519_32.c:1158:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(e, scalar, 32);
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_256_32.c:643:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(out, in, sizeof(felem));
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_256_32.c:1123:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_256_32.c:1220:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&precomp[1][0], x, sizeof(felem));
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_256_32.c:1221:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&precomp[1][1], y, sizeof(felem));
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_256_32.c:1222:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&precomp[1][2], kOne, sizeof(felem));
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_256_32.c:1332:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&MP_DIGIT(&in_shifted, MP_DIGITS_IN_256_BITS),
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_256_32.c:1396:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(out_scalar, MP_DIGITS(n), MP_USED(n) * sizeof(mp_digit));
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_256_32.c:1404:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(out_scalar, swapped, MP_USED(n) * sizeof(mp_digit));
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_256_32.c:1509:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(x1, x2, sizeof(x2));
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_256_32.c:1510:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(y1, y2, sizeof(y2));
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_256_32.c:1511:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(z1, z2, sizeof(z2));
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:35:23:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#define fe_copy(d, s) memcpy(d, s, sizeof(fe_t))
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:5945:31:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
scalar_get_bit(const unsigned char in[48], int idx)
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:5967:45:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
scalar_rwnaf(int8_t out[77], const unsigned char in[48])
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:5991:45:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
scalar_wnaf(int8_t out[385], const unsigned char in[48])
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:6012:49:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
var_smul_wnaf_two(pt_aff_t *out, const unsigned char a[48],
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:6013:34:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                  const unsigned char b[48], const pt_aff_t *P)
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:6082:46:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
var_smul_rwnaf(pt_aff_t *out, const unsigned char scalar[48],
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:6152:46:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
fixed_smul_cmb(pt_aff_t *out, const unsigned char scalar[48])
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:6215:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
point_mul_two(unsigned char outx[48], unsigned char outy[48],
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:6215:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
point_mul_two(unsigned char outx[48], unsigned char outy[48],
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:6216:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              const unsigned char a[48], const unsigned char b[48],
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:6216:57:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              const unsigned char a[48], const unsigned char b[48],
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:6217:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              const unsigned char inx[48],
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:6218:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              const unsigned char iny[48])
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:6236:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
point_mul_g(unsigned char outx[48], unsigned char outy[48],
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:6236:46:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
point_mul_g(unsigned char outx[48], unsigned char outy[48],
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:6237:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            const unsigned char scalar[48])
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:6250:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
point_mul(unsigned char outx[48], unsigned char outy[48],
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:6250:44:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
point_mul(unsigned char outx[48], unsigned char outy[48],
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:6251:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          const unsigned char scalar[48],
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:6252:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          const unsigned char inx[48],
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:6253:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          const unsigned char iny[48])
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:6357:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char b_x[48];
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:6358:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char b_y[48];
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:6359:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char b_n[48];
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:6385:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char b_x[48];
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:6386:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char b_y[48];
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:6387:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char b_n[48];
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:6420:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char b_x[48];
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:6421:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char b_y[48];
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:6422:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char b_n1[48];
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:6423:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char b_n2[48];
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:6481:23:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#define fe_copy(d, s) memcpy(d, s, sizeof(fe_t))
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:19142:31:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
scalar_get_bit(const unsigned char in[48], int idx)
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:19164:45:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
scalar_rwnaf(int8_t out[77], const unsigned char in[48])
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:19188:45:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
scalar_wnaf(int8_t out[385], const unsigned char in[48])
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:19209:49:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
var_smul_wnaf_two(pt_aff_t *out, const unsigned char a[48],
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:19210:34:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                  const unsigned char b[48], const pt_aff_t *P)
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:19279:46:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
var_smul_rwnaf(pt_aff_t *out, const unsigned char scalar[48],
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:19349:46:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
fixed_smul_cmb(pt_aff_t *out, const unsigned char scalar[48])
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:19412:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
point_mul_two(unsigned char outx[48], unsigned char outy[48],
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:19412:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
point_mul_two(unsigned char outx[48], unsigned char outy[48],
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:19413:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              const unsigned char a[48], const unsigned char b[48],
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:19413:57:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              const unsigned char a[48], const unsigned char b[48],
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:19414:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              const unsigned char inx[48],
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:19415:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              const unsigned char iny[48])
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:19433:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
point_mul_g(unsigned char outx[48], unsigned char outy[48],
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:19433:46:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
point_mul_g(unsigned char outx[48], unsigned char outy[48],
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:19434:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            const unsigned char scalar[48])
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:19447:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
point_mul(unsigned char outx[48], unsigned char outy[48],
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:19447:44:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
point_mul(unsigned char outx[48], unsigned char outy[48],
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:19448:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          const unsigned char scalar[48],
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:19449:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          const unsigned char inx[48],
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:19450:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          const unsigned char iny[48])
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:19554:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char b_x[48];
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:19555:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char b_y[48];
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:19556:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char b_n[48];
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:19582:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char b_x[48];
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:19583:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char b_y[48];
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:19584:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char b_n[48];
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:19617:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char b_x[48];
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:19618:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char b_y[48];
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:19619:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char b_n1[48];
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp384r1.c:19620:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char b_n2[48];
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:35:23:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#define fe_copy(d, s) memcpy(d, s, sizeof(fe_t))
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:4087:31:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
scalar_get_bit(const unsigned char in[66], int idx)
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:4109:46:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
scalar_rwnaf(int8_t out[106], const unsigned char in[66])
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:4133:45:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
scalar_wnaf(int8_t out[529], const unsigned char in[66])
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:4154:49:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
var_smul_wnaf_two(pt_aff_t *out, const unsigned char a[66],
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:4155:34:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                  const unsigned char b[66], const pt_aff_t *P)
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:4224:46:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
var_smul_rwnaf(pt_aff_t *out, const unsigned char scalar[66],
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:4294:46:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
fixed_smul_cmb(pt_aff_t *out, const unsigned char scalar[66])
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:4357:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
point_mul_two(unsigned char outx[66], unsigned char outy[66],
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:4357:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
point_mul_two(unsigned char outx[66], unsigned char outy[66],
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:4358:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              const unsigned char a[66], const unsigned char b[66],
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:4358:57:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              const unsigned char a[66], const unsigned char b[66],
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:4359:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              const unsigned char inx[66],
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:4360:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              const unsigned char iny[66])
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:4374:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
point_mul_g(unsigned char outx[66], unsigned char outy[66],
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:4374:46:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
point_mul_g(unsigned char outx[66], unsigned char outy[66],
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:4375:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            const unsigned char scalar[66])
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:4386:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
point_mul(unsigned char outx[66], unsigned char outy[66],
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:4386:44:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
point_mul(unsigned char outx[66], unsigned char outy[66],
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:4387:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          const unsigned char scalar[66],
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:4388:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          const unsigned char inx[66],
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:4389:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          const unsigned char iny[66])
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:4516:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char b_x[66];
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:4517:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char b_y[66];
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:4518:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char b_n[66];
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:4544:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char b_x[66];
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:4545:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char b_y[66];
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:4546:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char b_n[66];
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:4579:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char b_x[66];
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:4580:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char b_y[66];
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:4581:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char b_n1[66];
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:4582:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char b_n2[66];
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:4640:23:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#define fe_copy(d, s) memcpy(d, s, sizeof(fe_t))
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:11277:31:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
scalar_get_bit(const unsigned char in[66], int idx)
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:11299:46:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
scalar_rwnaf(int8_t out[106], const unsigned char in[66])
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:11323:45:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
scalar_wnaf(int8_t out[529], const unsigned char in[66])
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:11344:49:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
var_smul_wnaf_two(pt_aff_t *out, const unsigned char a[66],
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:11345:34:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                  const unsigned char b[66], const pt_aff_t *P)
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:11414:46:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
var_smul_rwnaf(pt_aff_t *out, const unsigned char scalar[66],
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:11484:46:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
fixed_smul_cmb(pt_aff_t *out, const unsigned char scalar[66])
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:11547:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
point_mul_two(unsigned char outx[66], unsigned char outy[66],
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:11547:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
point_mul_two(unsigned char outx[66], unsigned char outy[66],
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:11548:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              const unsigned char a[66], const unsigned char b[66],
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:11548:57:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              const unsigned char a[66], const unsigned char b[66],
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:11549:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              const unsigned char inx[66],
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:11550:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              const unsigned char iny[66])
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:11564:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
point_mul_g(unsigned char outx[66], unsigned char outy[66],
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:11564:46:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
point_mul_g(unsigned char outx[66], unsigned char outy[66],
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:11565:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            const unsigned char scalar[66])
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:11576:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
point_mul(unsigned char outx[66], unsigned char outy[66],
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:11576:44:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
point_mul(unsigned char outx[66], unsigned char outy[66],
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:11577:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          const unsigned char scalar[66],
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:11578:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          const unsigned char inx[66],
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:11579:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          const unsigned char iny[66])
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:11706:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char b_x[66];
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:11707:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char b_y[66];
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:11708:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char b_n[66];
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:11734:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char b_x[66];
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:11735:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char b_y[66];
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:11736:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char b_n[66];
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:11769:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char b_x[66];
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:11770:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char b_y[66];
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:11771:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char b_n1[66];
data/nss-pem-1.0.6/nss/nss/lib/freebl/ecl/ecp_secp521r1.c:11772:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char b_n2[66];
data/nss-pem-1.0.6/nss/nss/lib/freebl/fipsfreebl.c:1189:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char sha256[SHA256_LENGTH]; /* SHA-256 hash (256 bits) */
data/nss-pem-1.0.6/nss/nss/lib/freebl/fipsfreebl.c:1190:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char sig[2 * MAX_ECKEY_LEN];
data/nss-pem-1.0.6/nss/nss/lib/freebl/gcm.c:451:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char T[MAX_BLOCK_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/freebl/gcm.c:532:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char tagKey[MAX_BLOCK_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/freebl/gcm.c:547:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char H[MAX_BLOCK_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/freebl/gcm.c:817:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char tag[MAX_BLOCK_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/freebl/gcm.c:1092:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char tag[MAX_BLOCK_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/freebl/gcm.h:91:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buffer[MAX_BLOCK_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/freebl/genload.c:97:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(fullName, referencePath, referencePathSize);
data/nss-pem-1.0.6/nss/nss/lib/freebl/hmacct.c:130:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char lengthBytes[MAX_HASH_BIT_COUNT_BYTES];
data/nss-pem-1.0.6/nss/nss/lib/freebl/hmacct.c:132:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char hmacPad[HASH_BLOCK_LENGTH_MAX];
data/nss-pem-1.0.6/nss/nss/lib/freebl/hmacct.c:133:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char firstBlock[HASH_BLOCK_LENGTH_MAX];
data/nss-pem-1.0.6/nss/nss/lib/freebl/hmacct.c:134:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char macOut[HASH_LENGTH_MAX];
data/nss-pem-1.0.6/nss/nss/lib/freebl/hmacct.c:153:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(hmacPad, macSecret, macSecretLen);
data/nss-pem-1.0.6/nss/nss/lib/freebl/hmacct.c:184:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(firstBlock, header + mdBlockSize, overhang);
data/nss-pem-1.0.6/nss/nss/lib/freebl/hmacct.c:185:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(firstBlock + overhang, data, mdBlockSize - overhang);
data/nss-pem-1.0.6/nss/nss/lib/freebl/hmacct.c:193:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(firstBlock, header, 13);
data/nss-pem-1.0.6/nss/nss/lib/freebl/hmacct.c:194:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(firstBlock + 13, data, mdBlockSize - 13);
data/nss-pem-1.0.6/nss/nss/lib/freebl/hmacct.c:210:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char block[HASH_BLOCK_LENGTH_MAX];
data/nss-pem-1.0.6/nss/nss/lib/freebl/intel-gcm-wrap.c:31:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char Htbl[16 * AES_BLOCK_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/freebl/intel-gcm-wrap.c:32:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char X0[AES_BLOCK_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/freebl/intel-gcm-wrap.c:33:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char T[AES_BLOCK_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/freebl/intel-gcm-wrap.c:34:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char CTR[AES_BLOCK_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/freebl/intel-gcm-wrap.c:103:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buff[AES_BLOCK_SIZE]; /* aux buffer */
data/nss-pem-1.0.6/nss/nss/lib/freebl/intel-gcm-wrap.c:212:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char T[AES_BLOCK_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/freebl/intel-gcm-wrap.c:271:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char T[AES_BLOCK_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/freebl/intel-gcm-wrap.c:341:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char T[AES_BLOCK_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/freebl/intel-gcm-wrap.c:408:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char T[AES_BLOCK_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/freebl/intel-gcm.h:64:33:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void intel_aes_gcmINIT(unsigned char Htbl[16 * 16],
data/nss-pem-1.0.6/nss/nss/lib/freebl/intel-gcm.h:69:32:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void intel_aes_gcmTAG(unsigned char Htbl[16 * 16],
data/nss-pem-1.0.6/nss/nss/lib/freebl/intel-gcm.h:78:32:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void intel_aes_gcmAAD(unsigned char Htbl[16 * 16],
data/nss-pem-1.0.6/nss/nss/lib/freebl/jpake.c:21:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char length[2];
data/nss-pem-1.0.6/nss/nss/lib/freebl/jpake.c:41:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char hBuf[HASH_LENGTH_MAX];
data/nss-pem-1.0.6/nss/nss/lib/freebl/md2.c:25:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char checksum[MD2_BUFSIZE];
data/nss-pem-1.0.6/nss/nss/lib/freebl/md2.c:26:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char X[MD2_X_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/freebl/md2.c:202:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&cx->X[MD2_INPUT + (MD2_BUFSIZE - cx->unusedBuffer)],
data/nss-pem-1.0.6/nss/nss/lib/freebl/md2.c:212:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&cx->X[MD2_INPUT], input, MD2_BUFSIZE);
data/nss-pem-1.0.6/nss/nss/lib/freebl/md2.c:220:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&cx->X[MD2_INPUT], input, inputLen);
data/nss-pem-1.0.6/nss/nss/lib/freebl/md2.c:237:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&cx->X[MD2_INPUT], cx->checksum, MD2_BUFSIZE);
data/nss-pem-1.0.6/nss/nss/lib/freebl/md2.c:240:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(digest, &cx->X[MD2_CV], MD2_DIGEST_LEN);
data/nss-pem-1.0.6/nss/nss/lib/freebl/md2.c:252:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(space, cx, sizeof(*cx));
data/nss-pem-1.0.6/nss/nss/lib/freebl/md2.c:261:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(cx, space, sizeof(*cx));
data/nss-pem-1.0.6/nss/nss/lib/freebl/md2.c:268:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(dest, src, sizeof *dest);
data/nss-pem-1.0.6/nss/nss/lib/freebl/md5.c:433:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&cx->inBuf[inBufIndex], input, bytesToConsume);
data/nss-pem-1.0.6/nss/nss/lib/freebl/md5.c:455:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(cx->inBuf, input, MD5_BUFFER_SIZE);
data/nss-pem-1.0.6/nss/nss/lib/freebl/md5.c:473:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(cx->inBuf, input, inputLen);
data/nss-pem-1.0.6/nss/nss/lib/freebl/md5.c:537:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(digest, cx->cv, MD5_HASH_LEN);
data/nss-pem-1.0.6/nss/nss/lib/freebl/md5.c:561:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(digest, cv, MD5_HASH_LEN);
data/nss-pem-1.0.6/nss/nss/lib/freebl/md5.c:575:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(space, cx, sizeof(*cx));
data/nss-pem-1.0.6/nss/nss/lib/freebl/md5.c:584:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(cx, space, sizeof(*cx));
data/nss-pem-1.0.6/nss/nss/lib/freebl/md5.c:591:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(dest, src, sizeof *dest);
data/nss-pem-1.0.6/nss/nss/lib/freebl/mknewpc2.c:51:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static signed char PC2a[64] = {
data/nss-pem-1.0.6/nss/nss/lib/freebl/mknewpc2.c:69:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const signed char PC2b[64] = {
data/nss-pem-1.0.6/nss/nss/lib/freebl/mksp.c:16:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
unsigned char S[8][64] = {
data/nss-pem-1.0.6/nss/nss/lib/freebl/mksp.c:64:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
unsigned char P[32] = {
data/nss-pem-1.0.6/nss/nss/lib/freebl/mpi/mp_comba.c:145:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(at, A->dp, 4 * sizeof(mp_digit));
data/nss-pem-1.0.6/nss/nss/lib/freebl/mpi/mp_comba.c:146:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(at + 4, B->dp, 4 * sizeof(mp_digit));
data/nss-pem-1.0.6/nss/nss/lib/freebl/mpi/mp_comba.c:198:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(at, A->dp, 8 * sizeof(mp_digit));
data/nss-pem-1.0.6/nss/nss/lib/freebl/mpi/mp_comba.c:199:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(at + 8, B->dp, 8 * sizeof(mp_digit));
data/nss-pem-1.0.6/nss/nss/lib/freebl/mpi/mp_comba.c:323:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(at, A->dp, 16 * sizeof(mp_digit));
data/nss-pem-1.0.6/nss/nss/lib/freebl/mpi/mp_comba.c:324:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(at + 16, B->dp, 16 * sizeof(mp_digit));
data/nss-pem-1.0.6/nss/nss/lib/freebl/mpi/mp_comba.c:688:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(at, A->dp, 32 * sizeof(mp_digit));
data/nss-pem-1.0.6/nss/nss/lib/freebl/mpi/mp_comba.c:689:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(at + 32, B->dp, 32 * sizeof(mp_digit));
data/nss-pem-1.0.6/nss/nss/lib/freebl/mpi/mp_comba.c:1964:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(B->dp, b, 8 * sizeof(mp_digit));
data/nss-pem-1.0.6/nss/nss/lib/freebl/mpi/mp_comba.c:2083:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(B->dp, b, 16 * sizeof(mp_digit));
data/nss-pem-1.0.6/nss/nss/lib/freebl/mpi/mp_comba.c:2382:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(B->dp, b, 32 * sizeof(mp_digit));
data/nss-pem-1.0.6/nss/nss/lib/freebl/mpi/mp_comba.c:3233:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(B->dp, b, 64 * sizeof(mp_digit));
data/nss-pem-1.0.6/nss/nss/lib/freebl/mpi/mpcpucache.c:660:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string[13];
data/nss-pem-1.0.6/nss/nss/lib/freebl/mpi/mpcpucache.c:681:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(string, cpuid, sizeof(cpuid));
data/nss-pem-1.0.6/nss/nss/lib/freebl/mpi/mpcpucache.c:742:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char testArray[2 * PPC_MAX_LINE_SIZE + 1];
data/nss-pem-1.0.6/nss/nss/lib/freebl/mpi/mpi.c:2892:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(dp, sp, count * sizeof(mp_digit));
data/nss-pem-1.0.6/nss/nss/lib/freebl/mpi/mpi_hp.c:56:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(px, a, a_len * sizeof(*a));
data/nss-pem-1.0.6/nss/nss/lib/freebl/mpi/mpi_sparc.c:161:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(px, a, a_len * sizeof(*a));
data/nss-pem-1.0.6/nss/nss/lib/freebl/mpi/mpi_sparc.c:185:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(px, a, a_len * sizeof(*a));
data/nss-pem-1.0.6/nss/nss/lib/freebl/mpi/mpi_sparc.c:208:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(px, a, a_len * sizeof(*a));
data/nss-pem-1.0.6/nss/nss/lib/freebl/mpi/mulsqr.c:34:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    if ((ntests = abs(atoi(argv[1]))) == 0) {
data/nss-pem-1.0.6/nss/nss/lib/freebl/mpi/mulsqr.c:38:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    if ((prec = abs(atoi(argv[2]))) < CHAR_BIT) {
data/nss-pem-1.0.6/nss/nss/lib/freebl/nsslowhash.c:34:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    f = fopen("/proc/sys/crypto/fips_enabled", "r");
data/nss-pem-1.0.6/nss/nss/lib/freebl/pqg.c:404:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char sha1[SHA1_LENGTH];
data/nss-pem-1.0.6/nss/nss/lib/freebl/pqg.c:405:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char sha2[SHA1_LENGTH];
data/nss-pem-1.0.6/nss/nss/lib/freebl/pqg.c:406:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char U[SHA1_LENGTH];
data/nss-pem-1.0.6/nss/nss/lib/freebl/pqg.c:449:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char U[HASH_LENGTH_MAX];
data/nss-pem-1.0.6/nss/nss/lib/freebl/pqg.c:519:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char x[DSA_MAX_P_BITS / 8 + HASH_LENGTH_MAX];
data/nss-pem-1.0.6/nss/nss/lib/freebl/pqg.c:744:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char x[HASH_LENGTH_MAX * 2];
data/nss-pem-1.0.6/nss/nss/lib/freebl/pqg.c:996:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char V_j[HASH_LENGTH_MAX];
data/nss-pem-1.0.6/nss/nss/lib/freebl/pqg.c:1147:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char data[HASH_LENGTH_MAX];
data/nss-pem-1.0.6/nss/nss/lib/freebl/rijndael.c:358:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(W, key, Nk * 4);
data/nss-pem-1.0.6/nss/nss/lib/freebl/rijndael.c:390:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(W, key, Nk * 4);
data/nss-pem-1.0.6/nss/nss/lib/freebl/rijndael.c:561:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(inBuf, input, sizeof inBuf);
data/nss-pem-1.0.6/nss/nss/lib/freebl/rijndael.c:634:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(output, outBuf, sizeof outBuf);
data/nss-pem-1.0.6/nss/nss/lib/freebl/rijndael.c:656:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(inBuf, input, sizeof inBuf);
data/nss-pem-1.0.6/nss/nss/lib/freebl/rijndael.c:725:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(output, outBuf, sizeof outBuf);
data/nss-pem-1.0.6/nss/nss/lib/freebl/rijndael.c:761:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char inblock[AES_BLOCK_SIZE * 8];
data/nss-pem-1.0.6/nss/nss/lib/freebl/rijndael.c:783:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(cx->iv, lastblock, AES_BLOCK_SIZE);
data/nss-pem-1.0.6/nss/nss/lib/freebl/rijndael.c:813:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char newIV[AES_BLOCK_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/freebl/rijndael.c:820:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(newIV, in, AES_BLOCK_SIZE);
data/nss-pem-1.0.6/nss/nss/lib/freebl/rijndael.c:844:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(cx->iv, newIV, AES_BLOCK_SIZE);
data/nss-pem-1.0.6/nss/nss/lib/freebl/rijndael.c:911:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(cx->iv, iv, AES_BLOCK_SIZE);
data/nss-pem-1.0.6/nss/nss/lib/freebl/rijndael.h:71:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char iv[AES_BLOCK_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/freebl/rijndael_tables.c:77:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
make_T_Table(char *table, const PRUint8 Sx[256], FILE *file,
data/nss-pem-1.0.6/nss/nss/lib/freebl/rijndael_tables.c:151:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    optfile = fopen("rijndael32.tab", "w");
data/nss-pem-1.0.6/nss/nss/lib/freebl/rsapkcs.c:295:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char C[4];
data/nss-pem-1.0.6/nss/nss/lib/freebl/rsapkcs.c:530:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char labelHash[HASH_LENGTH_MAX];
data/nss-pem-1.0.6/nss/nss/lib/freebl/sha256-armv8.c:149:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(ctx->u.b + inBuf, input, todo);
data/nss-pem-1.0.6/nss/nss/lib/freebl/sha256-armv8.c:199:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(ctx->u.b, input, inputLen);
data/nss-pem-1.0.6/nss/nss/lib/freebl/sha512.c:204:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(H, H256, sizeof H256);
data/nss-pem-1.0.6/nss/nss/lib/freebl/sha512.c:534:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(B + inBuf, input, todo);
data/nss-pem-1.0.6/nss/nss/lib/freebl/sha512.c:543:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(B, input, SHA256_BLOCK_LENGTH);
data/nss-pem-1.0.6/nss/nss/lib/freebl/sha512.c:550:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(B, input, inputLen);
data/nss-pem-1.0.6/nss/nss/lib/freebl/sha512.c:587:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(digest, H, padLen);
data/nss-pem-1.0.6/nss/nss/lib/freebl/sha512.c:613:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(digest, h, len);
data/nss-pem-1.0.6/nss/nss/lib/freebl/sha512.c:669:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(dest, src, sizeof *dest);
data/nss-pem-1.0.6/nss/nss/lib/freebl/sha512.c:696:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(H, H224, sizeof H224);
data/nss-pem-1.0.6/nss/nss/lib/freebl/sha512.c:970:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(H, H512, sizeof H512);
data/nss-pem-1.0.6/nss/nss/lib/freebl/sha512.c:1351:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(B + inBuf, input, todo);
data/nss-pem-1.0.6/nss/nss/lib/freebl/sha512.c:1360:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(B, input, SHA512_BLOCK_LENGTH);
data/nss-pem-1.0.6/nss/nss/lib/freebl/sha512.c:1367:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(B, input, inputLen);
data/nss-pem-1.0.6/nss/nss/lib/freebl/sha512.c:1410:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(digest, H, padLen);
data/nss-pem-1.0.6/nss/nss/lib/freebl/sha512.c:1435:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(digest, h, len);
data/nss-pem-1.0.6/nss/nss/lib/freebl/sha512.c:1491:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(dest, src, sizeof *dest);
data/nss-pem-1.0.6/nss/nss/lib/freebl/sha512.c:1532:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(H, H384, sizeof H384);
data/nss-pem-1.0.6/nss/nss/lib/freebl/sha512.c:1605:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(dest, src, sizeof *dest);
data/nss-pem-1.0.6/nss/nss/lib/freebl/sha512.c:1634:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char outBuf[SHA256_LENGTH];
data/nss-pem-1.0.6/nss/nss/lib/freebl/sha512.c:1649:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char a1000times[1000];
data/nss-pem-1.0.6/nss/nss/lib/freebl/sha512.c:1651:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char outBuf[SHA224_LENGTH];
data/nss-pem-1.0.6/nss/nss/lib/freebl/sha512.c:1695:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char outBuf[SHA512_LENGTH];
data/nss-pem-1.0.6/nss/nss/lib/freebl/sha512.c:1709:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char outBuf[SHA512_LENGTH];
data/nss-pem-1.0.6/nss/nss/lib/freebl/sha512.c:1718:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char outBuf[SHA384_LENGTH];
data/nss-pem-1.0.6/nss/nss/lib/freebl/sha512.c:1734:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        i = atoi(argv[1]);
data/nss-pem-1.0.6/nss/nss/lib/freebl/sha_fast.c:110:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(ctx->B + lenB, dataIn, togo);
data/nss-pem-1.0.6/nss/nss/lib/freebl/sha_fast.c:121:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(ctx->B, dataIn, 64);
data/nss-pem-1.0.6/nss/nss/lib/freebl/sha_fast.c:136:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(ctx->B, dataIn, len);
data/nss-pem-1.0.6/nss/nss/lib/freebl/sha_fast.c:150:27:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static const unsigned char bulk_pad[64] = { 0x80, 0, 0, 0, 0, 0, 0, 0, 0, 0,
data/nss-pem-1.0.6/nss/nss/lib/freebl/sha_fast.c:538:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(dest, src, sizeof *dest);
data/nss-pem-1.0.6/nss/nss/lib/freebl/sha_fast.h:162:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(hashout, tmpbuf, SHA1_LENGTH);       \
data/nss-pem-1.0.6/nss/nss/lib/freebl/sha_fast.h:174:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(hashout, ctx->H, SHA1_LENGTH);       \
data/nss-pem-1.0.6/nss/nss/lib/freebl/shvfy.c:166:13:  [2] (race) vfork:
  On some old systems, vfork() permits race conditions, and it's very
  difficult to use correctly (CWE-362). Use fork() instead.
    child = vfork();
data/nss-pem-1.0.6/nss/nss/lib/freebl/shvfy.c:265:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[4];
data/nss-pem-1.0.6/nss/nss/lib/freebl/shvfy.c:343:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[4096];
data/nss-pem-1.0.6/nss/nss/lib/freebl/shvfy.c:344:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char hashBuf[HASH_LENGTH_MAX];
data/nss-pem-1.0.6/nss/nss/lib/freebl/stubs.c:360:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fd = open(name, lflags, mode);
data/nss-pem-1.0.6/nss/nss/lib/freebl/tlsprfalg.c:22:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char state[PHASH_STATE_MAX_LEN];
data/nss-pem-1.0.6/nss/nss/lib/freebl/tlsprfalg.c:23:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char outbuf[PHASH_STATE_MAX_LEN];
data/nss-pem-1.0.6/nss/nss/lib/freebl/unix_rand.c:41:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char c[4];
data/nss-pem-1.0.6/nss/nss/lib/freebl/unix_rand.c:45:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(dst, src, srclen);
data/nss-pem-1.0.6/nss/nss/lib/freebl/unix_rand.c:51:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(dst, (char *)src + (srclen - dstlen), dstlen);
data/nss-pem-1.0.6/nss/nss/lib/freebl/unix_rand.c:54:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(dst, src, dstlen);
data/nss-pem-1.0.6/nss/nss/lib/freebl/unix_rand.c:90:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(entropy_buf + *entropy_buffered, inbuf, tocopy);
data/nss-pem-1.0.6/nss/nss/lib/freebl/unix_rand.c:203:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[2000];
data/nss-pem-1.0.6/nss/nss/lib/freebl/unix_rand.c:299:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[BUFSIZ];
data/nss-pem-1.0.6/nss/nss/lib/freebl/unix_rand.c:383:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[2000];
data/nss-pem-1.0.6/nss/nss/lib/freebl/unix_rand.c:415:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[4096];
data/nss-pem-1.0.6/nss/nss/lib/freebl/unix_rand.c:476:19:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            mfd = open("/dev/mmem", O_RDONLY);
data/nss-pem-1.0.6/nss/nss/lib/freebl/unix_rand.c:516:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(buf, (char *)&s0[0], cntr_size);
data/nss-pem-1.0.6/nss/nss/lib/freebl/unix_rand.c:534:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[2000];
data/nss-pem-1.0.6/nss/nss/lib/freebl/unix_rand.c:572:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[2000];
data/nss-pem-1.0.6/nss/nss/lib/freebl/unix_rand.c:635:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[2000];
data/nss-pem-1.0.6/nss/nss/lib/freebl/unix_rand.c:681:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[BUFSIZ];
data/nss-pem-1.0.6/nss/nss/lib/freebl/unix_rand.c:750:43:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        int randCount = randCountString ? atoi(randCountString) : 0;
data/nss-pem-1.0.6/nss/nss/lib/freebl/unix_rand.c:790:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buffer[BUFSIZ];
data/nss-pem-1.0.6/nss/nss/lib/freebl/unix_rand.c:800:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    file = fopen(fileName, "r");
data/nss-pem-1.0.6/nss/nss/lib/freebl/unix_rand.c:850:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[PATH_MAX];
data/nss-pem-1.0.6/nss/nss/lib/freebl/unix_rand.c:871:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    file = fopen("/dev/urandom", "r");
data/nss-pem-1.0.6/nss/nss/lib/freebl/unix_urandom.c:64:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fd = open("/dev/urandom", O_RDONLY);
data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/Hacl_Chacha20.c:98:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(k, ctx, (uint32_t)16U * sizeof(ctx[0U]));
data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/Hacl_Chacha20.c:172:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(plain, text, len * sizeof(text[0U]));
data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/Hacl_Chacha20.c:174:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(out, plain, len * sizeof(plain[0U]));
data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_128.c:483:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(tmp, last, rem1 * sizeof(last[0U]));
data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_128.c:688:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(tmp, rem, r * sizeof(rem[0U]));
data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:485:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(tmp, last, rem1 * sizeof(last[0U]));
data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_256.c:690:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(tmp, rem, r * sizeof(rem[0U]));
data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_32.c:160:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(tmp, last, rem1 * sizeof(last[0U]));
data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/Hacl_Chacha20Poly1305_32.c:278:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(tmp, rem, r * sizeof(rem[0U]));
data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/Hacl_Chacha20_Vec128.c:133:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(k, ctx, (uint32_t)16U * sizeof(ctx[0U]));
data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/Hacl_Chacha20_Vec128.c:346:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(plain, uu____3, rem * sizeof(uu____3[0U]));
data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/Hacl_Chacha20_Vec128.c:469:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(uu____2, plain, rem * sizeof(plain[0U]));
data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/Hacl_Chacha20_Vec128.c:619:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(plain, uu____3, rem * sizeof(uu____3[0U]));
data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/Hacl_Chacha20_Vec128.c:742:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(uu____2, plain, rem * sizeof(plain[0U]));
data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/Hacl_Chacha20_Vec256.c:133:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(k, ctx, (uint32_t)16U * sizeof(ctx[0U]));
data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/Hacl_Chacha20_Vec256.c:382:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(plain, uu____3, rem * sizeof(uu____3[0U]));
data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/Hacl_Chacha20_Vec256.c:537:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(uu____2, plain, rem * sizeof(plain[0U]));
data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/Hacl_Chacha20_Vec256.c:719:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(plain, uu____3, rem * sizeof(uu____3[0U]));
data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/Hacl_Chacha20_Vec256.c:874:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(uu____2, plain, rem * sizeof(plain[0U]));
data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/Hacl_Curve25519_51.c:734:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(p11, init, (uint32_t)10U * sizeof(init[0U]));
data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/Hacl_Curve25519_51.c:775:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(out, p0, (uint32_t)10U * sizeof(p0[0U]));
data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/Hacl_Poly1305_128.c:1239:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(tmp, last, rem * sizeof(last[0U]));
data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/Hacl_Poly1305_256.c:1710:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(tmp, last, rem * sizeof(last[0U]));
data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/Hacl_Poly1305_32.c:343:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(tmp, last, rem * sizeof(last[0U]));
data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/kremlin/include/kremlin/lowstar_endianness.h:163:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&x, b, 2);
data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/kremlin/include/kremlin/lowstar_endianness.h:171:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&x, b, 4);
data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/kremlin/include/kremlin/lowstar_endianness.h:179:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&x, b, 8);
data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/kremlin/include/kremlin/lowstar_endianness.h:186:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(b, &i, 2);
data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/kremlin/include/kremlin/lowstar_endianness.h:192:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(b, &i, 4);
data/nss-pem-1.0.6/nss/nss/lib/freebl/verified/kremlin/include/kremlin/lowstar_endianness.h:198:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(b, &i, 8);
data/nss-pem-1.0.6/nss/nss/lib/freebl/win_rand.c:39:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy((char *)buf, &dwLow, nBytes);
data/nss-pem-1.0.6/nss/nss/lib/freebl/win_rand.c:47:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(((char *)buf) + n, &dwHigh, nBytes);
data/nss-pem-1.0.6/nss/nss/lib/freebl/win_rand.c:58:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(((char *)buf) + n, &dwVal, nBytes);
data/nss-pem-1.0.6/nss/nss/lib/freebl/win_rand.c:68:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(((char *)buf) + n, &sTime, nBytes);
data/nss-pem-1.0.6/nss/nss/lib/freebl/win_rand.c:78:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[256];
data/nss-pem-1.0.6/nss/nss/lib/freebl/win_rand.c:85:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char volName[128];
data/nss-pem-1.0.6/nss/nss/lib/jar/jar.h:54:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char md5[MD5_LENGTH];
data/nss-pem-1.0.6/nss/nss/lib/jar/jar.h:56:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char sha1[SHA1_LENGTH];
data/nss-pem-1.0.6/nss/nss/lib/jar/jarfile.c:679:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[JAR_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/jar/jarfile.c:680:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char date[9], time[9];
data/nss-pem-1.0.6/nss/nss/lib/jar/jarfile.c:681:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char sig[4];
data/nss-pem-1.0.6/nss/nss/lib/jar/jarfile.h:14:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char signature[4];
data/nss-pem-1.0.6/nss/nss/lib/jar/jarfile.h:15:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char word[2];
data/nss-pem-1.0.6/nss/nss/lib/jar/jarfile.h:16:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char bitflag[2];
data/nss-pem-1.0.6/nss/nss/lib/jar/jarfile.h:17:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char method[2];
data/nss-pem-1.0.6/nss/nss/lib/jar/jarfile.h:18:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char time[2];
data/nss-pem-1.0.6/nss/nss/lib/jar/jarfile.h:19:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char date[2];
data/nss-pem-1.0.6/nss/nss/lib/jar/jarfile.h:20:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char crc32[4];
data/nss-pem-1.0.6/nss/nss/lib/jar/jarfile.h:21:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char size[4];
data/nss-pem-1.0.6/nss/nss/lib/jar/jarfile.h:22:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char orglen[4];
data/nss-pem-1.0.6/nss/nss/lib/jar/jarfile.h:23:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename_len[2];
data/nss-pem-1.0.6/nss/nss/lib/jar/jarfile.h:24:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char extrafield_len[2];
data/nss-pem-1.0.6/nss/nss/lib/jar/jarfile.h:28:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char signature[4];
data/nss-pem-1.0.6/nss/nss/lib/jar/jarfile.h:29:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char version_made_by[2];
data/nss-pem-1.0.6/nss/nss/lib/jar/jarfile.h:30:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char version[2];
data/nss-pem-1.0.6/nss/nss/lib/jar/jarfile.h:31:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char bitflag[2];
data/nss-pem-1.0.6/nss/nss/lib/jar/jarfile.h:32:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char method[2];
data/nss-pem-1.0.6/nss/nss/lib/jar/jarfile.h:33:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char time[2];
data/nss-pem-1.0.6/nss/nss/lib/jar/jarfile.h:34:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char date[2];
data/nss-pem-1.0.6/nss/nss/lib/jar/jarfile.h:35:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char crc32[4];
data/nss-pem-1.0.6/nss/nss/lib/jar/jarfile.h:36:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char size[4];
data/nss-pem-1.0.6/nss/nss/lib/jar/jarfile.h:37:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char orglen[4];
data/nss-pem-1.0.6/nss/nss/lib/jar/jarfile.h:38:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename_len[2];
data/nss-pem-1.0.6/nss/nss/lib/jar/jarfile.h:39:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char extrafield_len[2];
data/nss-pem-1.0.6/nss/nss/lib/jar/jarfile.h:40:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char commentfield_len[2];
data/nss-pem-1.0.6/nss/nss/lib/jar/jarfile.h:41:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char diskstart_number[2];
data/nss-pem-1.0.6/nss/nss/lib/jar/jarfile.h:42:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char internal_attributes[2];
data/nss-pem-1.0.6/nss/nss/lib/jar/jarfile.h:43:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char external_attributes[4];
data/nss-pem-1.0.6/nss/nss/lib/jar/jarfile.h:44:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char localhdr_offset[4];
data/nss-pem-1.0.6/nss/nss/lib/jar/jarfile.h:48:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char signature[4];
data/nss-pem-1.0.6/nss/nss/lib/jar/jarfile.h:49:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char disk_nr[2];
data/nss-pem-1.0.6/nss/nss/lib/jar/jarfile.h:50:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char start_central_dir[2];
data/nss-pem-1.0.6/nss/nss/lib/jar/jarfile.h:51:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char total_entries_disk[2];
data/nss-pem-1.0.6/nss/nss/lib/jar/jarfile.h:52:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char total_entries_archive[2];
data/nss-pem-1.0.6/nss/nss/lib/jar/jarfile.h:53:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char central_dir_size[4];
data/nss-pem-1.0.6/nss/nss/lib/jar/jarfile.h:54:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char offset_central_dir[4];
data/nss-pem-1.0.6/nss/nss/lib/jar/jarfile.h:55:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char commentfield_len[2];
data/nss-pem-1.0.6/nss/nss/lib/jar/jarfile.h:65:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char filename[100];
data/nss-pem-1.0.6/nss/nss/lib/jar/jarfile.h:66:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char mode[8];
data/nss-pem-1.0.6/nss/nss/lib/jar/jarfile.h:67:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char uid[8];
data/nss-pem-1.0.6/nss/nss/lib/jar/jarfile.h:68:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char gid[8];
data/nss-pem-1.0.6/nss/nss/lib/jar/jarfile.h:69:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char size[12];
data/nss-pem-1.0.6/nss/nss/lib/jar/jarfile.h:70:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char time[12];
data/nss-pem-1.0.6/nss/nss/lib/jar/jarfile.h:71:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char checksum[8];
data/nss-pem-1.0.6/nss/nss/lib/jar/jarfile.h:73:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char linkname[100];
data/nss-pem-1.0.6/nss/nss/lib/jar/jarfile.h:75:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[512];
data/nss-pem-1.0.6/nss/nss/lib/jar/jarsign.c:194:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char digestdata[32];
data/nss-pem-1.0.6/nss/nss/lib/jar/jarsign.c:195:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buffer[4096];
data/nss-pem-1.0.6/nss/nss/lib/jar/jarver.c:277:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char line[SZ];
data/nss-pem-1.0.6/nss/nss/lib/jar/jarver.c:278:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char x_name[SZ], x_md5[SZ], x_sha[SZ];
data/nss-pem-1.0.6/nss/nss/lib/jar/jarver.c:518:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(dig->md5, binary_digest, MD5_LENGTH);
data/nss-pem-1.0.6/nss/nss/lib/jar/jarver.c:533:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(dig->sha1, binary_digest, SHA1_LENGTH);
data/nss-pem-1.0.6/nss/nss/lib/libpkix/include/pkix_errorstrings.h:85:70:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
PKIX_ERRORENTRY(CANNOTOPENCOLLECTIONCERTSTORECONTEXTDIRECTORY,Cannot open CollectionCertStoreContext directory,0),
data/nss-pem-1.0.6/nss/nss/lib/libpkix/include/pkix_errorstrings.h:1028:48:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
PKIX_ERRORENTRY(UNABLETOOPENCERTFILE,Unable to open cert file,0),
data/nss-pem-1.0.6/nss/nss/lib/libpkix/include/pkix_errorstrings.h:1029:47:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
PKIX_ERRORENTRY(UNABLETOOPENCRLFILE,Unable to open crl file,0),
data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/util/pkix_error.c:350:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const char *
data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/util/pkix_error.c:542:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char errorStr[32];
data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/util/pkix_logger.c:275:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char error[32];
data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/util/pkix_tools.h:1455:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern const char *PKIX_ERRORCLASSNAMES[PKIX_NUMERRORCLASSES];
data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_httpdefaultclient.c:191:32:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        client->responseCode = atoi(httpcode);
data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_httpdefaultclient.c:226:49:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                                contentLength = atoi(value);
data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_httpdefaultclient.c:1316:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char portstr[16];
data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_socket.c:1427:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[PR_NETDB_BUF_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_socket.c:1440:38:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                 portNum = (PRUint16)atoi(sepPtr);
data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_socket.c:1580:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[PR_NETDB_BUF_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_ocspresponse.c:459:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char b64ReqBuf[max_get_request_size+1];
data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_lifecycle.c:78:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char  classNameBuff[128];
data/nss-pem-1.0.6/nss/nss/lib/mozpkix/test-lib/pkixtestutil.cpp:69:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  file.reset(fopen(path.c_str(), mode.c_str()));
data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/debug_module.c:397:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char fmtBuf[80];
data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/debug_module.c:692:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char atype[48];
data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/debug_module.c:693:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char valstr[49];
data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/debug_module.c:3447:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        outfile = fopen(fname, "w+");
data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11cert.c:86:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buildNew[sizeof(DEFAULT_STRING) + MAX_CERT_ID * 2];
data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11cert.c:1595:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(slotid->data, &mlp->module->slots[i]->slotID,
data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11cert.c:1597:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&slotid->data[sizeof(CK_SLOT_ID)], &mlp->module->moduleID,
data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11cert.c:1652:25:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                        memcpy(slotid->data, &le->slot->slotID,
data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11cert.c:1654:25:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                        memcpy(&slotid->data[sizeof(CK_SLOT_ID)],
data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11cxt.c:794:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char random[8];
data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11cxt.c:1554:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char stackBuf[256];
data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11merge.c:233:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char randomData[SHA1_LENGTH];
data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11nobj.c:68:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char sha1_hash[SHA1_LENGTH];
data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11nobj.c:182:29:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    derCrl.data = (unsigned char *)fetchCrl[0].pValue;
data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11nobj.c:296:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    derCrl->data = (unsigned char *)fetchCrl[0].pValue;
data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11nobj.c:462:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(rvItem->data, crl->encoding.data, crl->encoding.size);
data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11nobj.c:614:41:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        profileSubject.data = (unsigned char *)smimeData[0].pValue;
data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11nobj.c:626:36:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    emailProfile->data = (unsigned char *)smimeData[1].pValue;
data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11nobj.c:632:46:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            (*profileTime)->data = (unsigned char *)smimeData[0].pValue;
data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11obj.c:511:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char h_data[20] = { 0 };
data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11obj.c:512:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[20]; /* obviously to small */
data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11obj.c:2263:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    item->data = (unsigned char *)theTemplate[0].pValue;
data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11pars.c:523:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    PRInt32 val = atoi(policyValue);
data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11pbe.c:985:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char ivData[8];
data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11skey.c:2068:29:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            static unsigned char rb_email[128] = { 0 };
data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11slot.c:1383:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            unsigned char random_bytes[32];
data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11slot.c:1797:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char label[32 + 1], manufacturer[32 + 1], serial[16 + 1], model[16 + 1];
data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11slot.c:2618:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char tokenName[32];
data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11util.c:107:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    f = fopen("/proc/sys/crypto/fips_enabled", "r");
data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11util.c:634:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char libraryManufacturer[32 + 1], libraryDescription[32 + 1], libraryVersion[8];
data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/secmodti.h:95:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char serial[16];
data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/secmodti.h:98:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char slot_name[65];
data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/secmodti.h:99:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char token_name[33];
data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/secmodti.h:113:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char mechanismBits[256];
data/nss-pem-1.0.6/nss/nss/lib/pkcs12/p12d.c:1112:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(buf, (char *)p12cxt->buffer + p12cxt->currentpos, toread);
data/nss-pem-1.0.6/nss/nss/lib/pkcs12/p12d.c:1142:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy((char *)p12cxt->buffer + p12cxt->currentpos, buf, len);
data/nss-pem-1.0.6/nss/nss/lib/pkcs12/p12d.c:1342:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(buf + IN_BUF_LEN, bufferEnd, sizeof bufferEnd);
data/nss-pem-1.0.6/nss/nss/lib/pkcs12/p12e.c:53:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[PK12_OUTPUT_BUFFER_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/pkcs12/p12e.c:1697:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(bufcx->buf + bufcx->numBytes, buf, len);
data/nss-pem-1.0.6/nss/nss/lib/pkcs12/p12e.c:1706:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(bufcx->buf + bufcx->numBytes, buf, toCopy);
data/nss-pem-1.0.6/nss/nss/lib/pkcs12/p12e.c:1718:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(bufcx->buf, buf, len);
data/nss-pem-1.0.6/nss/nss/lib/pkcs12/p12exp.c:137:31:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    (unsigned char *)PORT_ZAlloc(PORT_Strlen(nicknames[j]) + 1);
data/nss-pem-1.0.6/nss/nss/lib/pkcs7/p7local.c:45:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char pending_buf[BLOCK_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/pki/certificate.c:921:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char sha1_hashcmp[SHA1_LENGTH];
data/nss-pem-1.0.6/nss/nss/lib/pki/certificate.c:922:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char sha1_hashin[SHA1_LENGTH];
data/nss-pem-1.0.6/nss/nss/lib/pki/pki3hack.c:702:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(nick, tokenName, tokenlen - 1);
data/nss-pem-1.0.6/nss/nss/lib/pki/pki3hack.c:706:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(nick, stanNick, nicklen - 1);
data/nss-pem-1.0.6/nss/nss/lib/pki/pki3hack.c:764:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(nick, tokenName, tokenlen - 1);
data/nss-pem-1.0.6/nss/nss/lib/pki/pki3hack.c:766:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(nick + tokenlen, stanNick, nicklen - 1);
data/nss-pem-1.0.6/nss/nss/lib/pki/pki3hack.c:768:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(nick, stanNick, nicklen - 1);
data/nss-pem-1.0.6/nss/nss/lib/pki/pki3hack.c:1161:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(newTrust, trust, sizeof(CERTCertTrust));
data/nss-pem-1.0.6/nss/nss/lib/pki/tdcache.c:41:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[33];
data/nss-pem-1.0.6/nss/nss/lib/pki/tdcache.c:44:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(&buf[2 * i], "%02X", ((PRUint8 *)it->data)[i]);
data/nss-pem-1.0.6/nss/nss/lib/pki/tdcache.c:47:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(&buf[2 * i], "..");
data/nss-pem-1.0.6/nss/nss/lib/pki/tdcache.c:50:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(&buf[2 * i], "%02X", ((PRUint8 *)it->data)[j]);
data/nss-pem-1.0.6/nss/nss/lib/smime/cmscipher.c:36:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char pending_buf[BLOCK_SIZE]; /* because of blocking */
data/nss-pem-1.0.6/nss/nss/lib/smime/cmsdecode.c:328:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                static const char lbuf[2] = { 0, 0 };
data/nss-pem-1.0.6/nss/nss/lib/smime/cmsdecode.c:653:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            static const char lbuf[2] =
data/nss-pem-1.0.6/nss/nss/lib/smime/cmsdigest.c:199:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char hash[HASH_LENGTH_MAX];
data/nss-pem-1.0.6/nss/nss/lib/softoken/fipsaudt.c:67:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char msg[256];
data/nss-pem-1.0.6/nss/nss/lib/softoken/fipsaudt.c:68:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char shObject[32];
data/nss-pem-1.0.6/nss/nss/lib/softoken/fipsaudt.c:86:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char msg[256];
data/nss-pem-1.0.6/nss/nss/lib/softoken/fipsaudt.c:87:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char shNewObject[32];
data/nss-pem-1.0.6/nss/nss/lib/softoken/fipsaudt.c:105:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char msg[256];
data/nss-pem-1.0.6/nss/nss/lib/softoken/fipsaudt.c:118:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char msg[256];
data/nss-pem-1.0.6/nss/nss/lib/softoken/fipsaudt.c:134:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char msg[256];
data/nss-pem-1.0.6/nss/nss/lib/softoken/fipsaudt.c:150:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char msg[256];
data/nss-pem-1.0.6/nss/nss/lib/softoken/fipsaudt.c:165:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char msg[256];
data/nss-pem-1.0.6/nss/nss/lib/softoken/fipsaudt.c:166:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char mech[MECHANISM_BUFSIZE];
data/nss-pem-1.0.6/nss/nss/lib/softoken/fipsaudt.c:183:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char msg[256];
data/nss-pem-1.0.6/nss/nss/lib/softoken/fipsaudt.c:184:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char mech[MECHANISM_BUFSIZE];
data/nss-pem-1.0.6/nss/nss/lib/softoken/fipsaudt.c:185:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char shKey[32];
data/nss-pem-1.0.6/nss/nss/lib/softoken/fipsaudt.c:205:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char msg[512];
data/nss-pem-1.0.6/nss/nss/lib/softoken/fipsaudt.c:206:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char mech[MECHANISM_BUFSIZE];
data/nss-pem-1.0.6/nss/nss/lib/softoken/fipsaudt.c:207:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char shPublicKey[32];
data/nss-pem-1.0.6/nss/nss/lib/softoken/fipsaudt.c:208:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char shPrivateKey[32];
data/nss-pem-1.0.6/nss/nss/lib/softoken/fipsaudt.c:234:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char msg[256];
data/nss-pem-1.0.6/nss/nss/lib/softoken/fipsaudt.c:235:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char mech[MECHANISM_BUFSIZE];
data/nss-pem-1.0.6/nss/nss/lib/softoken/fipsaudt.c:254:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char msg[256];
data/nss-pem-1.0.6/nss/nss/lib/softoken/fipsaudt.c:255:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char mech[MECHANISM_BUFSIZE];
data/nss-pem-1.0.6/nss/nss/lib/softoken/fipsaudt.c:256:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char shKey[32];
data/nss-pem-1.0.6/nss/nss/lib/softoken/fipsaudt.c:277:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char msg[512];
data/nss-pem-1.0.6/nss/nss/lib/softoken/fipsaudt.c:278:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char mech[MECHANISM_BUFSIZE];
data/nss-pem-1.0.6/nss/nss/lib/softoken/fipsaudt.c:279:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char shKey[32];
data/nss-pem-1.0.6/nss/nss/lib/softoken/fipsaudt.c:280:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char sTlsKeys[128];
data/nss-pem-1.0.6/nss/nss/lib/softoken/fipsaudt.c:314:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char msg[256];
data/nss-pem-1.0.6/nss/nss/lib/softoken/fipstest.c:99:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char sha[HASH_LENGTH_MAX]; /* SHA digest */
data/nss-pem-1.0.6/nss/nss/lib/softoken/fipstest.c:102:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char rsa_computed_signature[FIPS_RSA_SIGNATURE_LENGTH];
data/nss-pem-1.0.6/nss/nss/lib/softoken/fipstokn.c:516:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char msg[128];
data/nss-pem-1.0.6/nss/nss/lib/softoken/fipstokn.c:533:31:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        sftk_audit_enabled = (atoi(envp) == 1);
data/nss-pem-1.0.6/nss/nss/lib/softoken/fipstokn.c:703:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char msg[128];
data/nss-pem-1.0.6/nss/nss/lib/softoken/fipstokn.c:736:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char msg[128];
data/nss-pem-1.0.6/nss/nss/lib/softoken/fipstokn.c:788:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char msg[128];
data/nss-pem-1.0.6/nss/nss/lib/softoken/fipstokn.c:887:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char msg[128];
data/nss-pem-1.0.6/nss/nss/lib/softoken/fipstokn.c:913:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char msg[128];
data/nss-pem-1.0.6/nss/nss/lib/softoken/fipstokn.c:914:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char user[61];
data/nss-pem-1.0.6/nss/nss/lib/softoken/fipstokn.c:941:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char msg[128];
data/nss-pem-1.0.6/nss/nss/lib/softoken/fipstokn.c:1685:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char msg[128];
data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/dbmshim.c:50:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char staticBlobArea[BLOB_BUF_LEN];
data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/dbmshim.c:115:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char sha1_data[SHA1_LENGTH];
data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/keydb.c:471:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char saltbuf[16];
data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/keydb.c:1150:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char buf[SHA1_LENGTH];
data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/lgattr.c:437:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char hash[SHA1_LENGTH];
data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/lgattr.c:470:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char hash[SHA1_LENGTH];
data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/lgattr.c:513:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char hash[SHA1_LENGTH];
data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/lgattr.c:549:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char hash[SHA1_LENGTH];
data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/lgattr.c:794:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char hash[SHA1_LENGTH];
data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/lgattr.c:849:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char hash[SHA1_LENGTH];
data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/lgattr.c:896:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char hash[SHA1_LENGTH];
data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/lgattr.c:936:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char hash[SHA1_LENGTH];
data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/lgattr.c:1070:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char hash[SHA1_LENGTH];
data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/lgattr.c:1229:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char hash[SHA1_LENGTH];
data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/lgattr.c:1378:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[LG_BUF_SPACE];
data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/lgcreate.c:458:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char buf[SHA1_LENGTH];
data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/lgcreate.c:683:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char buf[SHA1_LENGTH];
data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/lgcreate.c:772:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static unsigned char derZero[1] = { 0 };
data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/lgfind.c:176:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char hashKey[SHA1_LENGTH];
data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/lgfind.c:804:36:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            copy->data = (unsigned char *)pTemplate[i].pValue;
data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/lgutil.c:304:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char hashBuf[4];
data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/lgutil.c:340:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char hashBuf[4];
data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/lowkey.c:164:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(params->curveOID.data, oid.data, oid.len);
data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/lowkeyti.h:127:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char data[128];
data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/pcertdb.c:1059:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[512];
data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/pcertdb.c:4815:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char keyBuf[512];
data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/pcertt.h:88:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char dbKeySpace[512];
data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/pcertt.h:125:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char nicknameSpace[200];
data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/pcertt.h:126:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char emailAddrSpace[200];
data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/pcertt.h:127:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char certKeySpace[512];
data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/pcertt.h:226:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char nicknameSpace[200];
data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/pcertt.h:227:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char derCertSpace[2048];
data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/pk11db.c:56:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char nameStart[2];
data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/pk11db.c:57:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char slotOffset[2];
data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/pk11db.c:60:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char ssl[8];
data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/pk11db.c:61:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char trustOrder[4];
data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/pk11db.c:62:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char cipherOrder[4];
data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/pk11db.c:67:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char reserved[4];
data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/pk11db.c:68:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char names[6]; /* enough space for the length fields */
data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/pk11db.c:72:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char slotID[4];
data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/pk11db.c:73:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char defaultFlags[4];
data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/pk11db.c:74:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char timeout[4];
data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/pk11db.c:77:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char reserved[18]; /* this makes it a round 32 bytes */
data/nss-pem-1.0.6/nss/nss/lib/softoken/lowpbe.c:825:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char ivData[MAX_IV_LENGTH];
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11.c:69:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char manufacturerID_space[33];
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11.c:71:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char libraryDescription_space[33];
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11.c:160:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
typedef unsigned char desKey[8];
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11.c:219:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const unsigned char parityTable[256] = {
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11.c:2552:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char buf[33];
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11.c:2564:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(buf, "NSS Application Token %08x  ", (unsigned int)slotID);
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11.c:2571:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char buf[65];
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11.c:2583:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(buf,
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11.c:3345:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[200];
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11.c:3967:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char newPinStr[SFTK_MAX_PIN + 1];
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11.c:4062:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char newPinStr[SFTK_MAX_PIN + 1], oldPinStr[SFTK_MAX_PIN + 1];
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11.c:4311:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char pinStr[SFTK_MAX_PIN + 1];
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11c.c:107:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char key1[8] = { 0xc4, 0x08, 0xb0, 0x54, 0x0b, 0xa1, 0xe0, 0xae };
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11c.c:108:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char key2[8] = { 0xef, 0x2c, 0x04, 0x1c, 0xe6, 0x38, 0x2f, 0xe6 };
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11c.c:109:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char enc_src[8];
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11c.c:110:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char enc_dest[8];
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11c.c:764:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char newdeskey[24];
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11c.c:1020:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(newdeskey, att->attrib.pValue, 16);
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11c.c:1021:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(newdeskey + 16, newdeskey, 8);
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11c.c:1312:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(ctx->key, att->attrib.pValue, att->attrib.ulValueLen);
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11c.c:1328:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(ctx->nonce, nonce, nonce_len);
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11c.c:1593:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(pText.data, pData, ulDataLen);
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11c.c:2025:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(out, hashResult, toCopy);
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11c.c:2104:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static unsigned char ssl_pad_1[60] = {
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11c.c:2114:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static unsigned char ssl_pad_2[60] = {
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11c.c:2129:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char tmpBuf[SFTK_MAX_MAC_LENGTH];
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11c.c:2146:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char tmpBuf[SFTK_MAX_MAC_LENGTH];
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11c.c:2237:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char ivBlock[SFTK_MAX_BLOCK_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11c.c:2238:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char k2[SFTK_MAX_BLOCK_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11c.c:2239:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char k3[SFTK_MAX_BLOCK_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11c.c:3235:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char tmpbuf[SFTK_MAX_MAC_LENGTH];
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11c.c:3749:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char tmpbuf[SFTK_MAX_MAC_LENGTH];
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11c.c:4468:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[MAX_KEY_LEN];
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11c.c:4771:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char plaintext[PAIRWISE_MESSAGE_LENGTH];
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11c.c:5583:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char msg[128];
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11c.c:5881:25:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                        memcpy(pText.data, attribute->attrib.pValue,
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11c.c:6723:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char tmpdata[SFTK_MAX_DERIVE_KEY_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11c.c:6762:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char hashbuf[HASH_LENGTH_MAX];
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11c.c:6763:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char keyBlock[9 * SFTK_MAX_MAC_LENGTH];
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11c.c:6923:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *const mixers[NUM_MIXERS] = {
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11c.c:6970:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char sha_out[SHA1_LENGTH];
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11c.c:6971:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char key_block[NUM_MIXERS * SFTK_MAX_MAC_LENGTH];
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11c.c:7172:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            unsigned char crsrdata[SSL3_RANDOM_LENGTH * 2];
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11c.c:7294:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    SHA1_Update(sha, (unsigned char *)mixers[i], strlen(mixers[i]));
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11c.c:7443:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            unsigned char srcrdata[SSL3_RANDOM_LENGTH * 2];
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11c.c:7444:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            unsigned char crsrdata[SSL3_RANDOM_LENGTH * 2];
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11c.c:7585:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    SHA1_Update(sha, (unsigned char *)mixers[i], strlen(mixers[i]));
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11c.c:7687:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            unsigned char des3key[MAX_DES3_KEY_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11i.h:162:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char space[ATTR_SPACE];
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11i.h:271:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char padBuf[SFTK_MAX_BLOCK_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11i.h:273:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char macBuf[SFTK_MAX_BLOCK_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11i.h:274:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char k2[SFTK_MAX_BLOCK_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11i.h:275:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char k3[SFTK_MAX_BLOCK_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11i.h:371:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tokDescription[33];       /* per load */
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11i.h:372:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char updateTokDescription[33]; /* per load */
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11i.h:373:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char slotDescription[65];      /* invariant */
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11i.h:412:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char key[MAX_KEY_LEN];
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11i.h:420:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char nonce[12];
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11i.h:421:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char ad[16];
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11i.h:611:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char mac[64];
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11i.h:612:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char secret[64];
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11i.h:616:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char header[75];
data/nss-pem-1.0.6/nss/nss/lib/softoken/sdb.c:241:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char path[MAX_PATH];
data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkdb.c:253:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char id[30];
data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkdb.c:278:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char id[30];
data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkdb.c:304:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char id[30];
data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkdb.c:421:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            unsigned char signData[SDB_MAX_META_DATA_LEN];
data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkdb.c:641:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            unsigned char signData[SDB_MAX_META_DATA_LEN];
data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkdb.c:907:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char objTypeData[SDB_ULONG_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkdb.c:950:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char objTypeData[SDB_ULONG_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkdb.c:1799:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char dummyData[SDB_MAX_META_DATA_LEN];
data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkdb.c:2059:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char trustData[SFTK_TRUST_TEMPLATE_COUNT * SDB_ULONG_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkdb.c:2312:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            unsigned char signData[SDB_MAX_META_DATA_LEN];
data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkdb.c:2500:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char data1[SDB_MAX_META_DATA_LEN];
data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkdb.c:2501:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char data2[SDB_MAX_META_DATA_LEN];
data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkhmac.c:46:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char secret[sizeof(ctx->secret)];
data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkhmac.c:67:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(secret, keyval->attrib.pValue, secretLength);
data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkhmac.c:75:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(ctx->secret, secret, secretLength);
data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkhmac.c:99:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(ctx->header, params->pHeader, params->ulHeaderLen);
data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkhmac.c:134:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&ctx->header[j], ctx->secret, ctx->secretLength);
data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkhmac.c:138:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&ctx->header[j], params->pHeader, params->ulHeaderLen);
data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkhmac.c:182:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(out, ctx->mac, toCopy);
data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkike.c:51:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char padBuf[AES_BLOCK_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkike.c:52:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char macBuf[AES_BLOCK_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkike.c:53:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char k1[AES_BLOCK_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkike.c:54:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char k2[AES_BLOCK_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkike.c:55:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char k3[AES_BLOCK_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkike.c:77:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char newKey[AES_BLOCK_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkike.c:466:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char outKeyData[HASH_LENGTH_MAX];
data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkike.c:593:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char outKeyData[HASH_LENGTH_MAX];
data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkike.c:1006:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[AES_BLOCK_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkpars.c:66:60:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                                  if (tmp) { parsed->minPW=atoi(tmp); PORT_Free(tmp); tmp = NULL; })
data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkpars.c:178:35:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        tokens[i].minPW = minPW ? atoi(minPW) : 0;
data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkpwd.c:46:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        int minimum = atoi(val);
data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkpwd.c:54:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        int maximum = atoi(val);
data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkpwd.c:287:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char signData[SDB_MAX_META_DATA_LEN];
data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkpwd.c:364:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char saltData[HASH_LENGTH_MAX];
data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkpwd.c:445:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char addressData[SDB_ULONG_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkpwd.c:503:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char signData[HASH_LENGTH_MAX];
data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkpwd.c:547:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char saltData[HASH_LENGTH_MAX];
data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkpwd.c:548:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char signData[HASH_LENGTH_MAX];
data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkpwd.c:759:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char saltData[SDB_MAX_META_DATA_LEN];
data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkpwd.c:760:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char valueData[SDB_MAX_META_DATA_LEN];
data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkpwd.c:809:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char saltData[SDB_MAX_META_DATA_LEN];
data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkpwd.c:810:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char valueData[SDB_MAX_META_DATA_LEN];
data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkpwd.c:885:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char saltData[SDB_MAX_META_DATA_LEN];
data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkpwd.c:886:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char valueData[SDB_MAX_META_DATA_LEN];
data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkpwd.c:1326:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char saltData[SDB_MAX_META_DATA_LEN];
data/nss-pem-1.0.6/nss/nss/lib/softoken/sftkpwd.c:1327:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char valueData[SDB_MAX_META_DATA_LEN];
data/nss-pem-1.0.6/nss/nss/lib/softoken/tlsprf.c:27:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char cxBuf[512]; /* actual size may be larger than 512.       */
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:10175:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char hidden[48];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:13711:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
# define memcpy(D,S,N) {char*xxd=(char*)(D);const char*xxs=(const char*)(S);\
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:18009:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  typedef unsigned char yDbMask[(SQLITE_MAX_ATTACHED+9)/8];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:19753:31:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
SQLITE_PRIVATE const unsigned char sqlite3CtypeMap[256] = {
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:20372:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char z[8];               /* Dequoted value for the string */
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:21927:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char zBuf[100];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:21947:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char zBuf[100];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:21966:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char zBuf[100];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:22003:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char zBuf[100];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:22190:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char zBuf[20];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:23216:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char zTitle[100];  /* The title text */
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:23386:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pBt, &aAddr[1], pHdr->nBacktrace*sizeof(void*));
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:23395:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(z, mem.zTitle, mem.nTitle);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:23462:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(pNew, pPrior, (int)(nByte<pOldHdr->iSize ? nByte : pOldHdr->iSize));
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:23568:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(mem.zTitle, zTitle, n);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:23592:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  out = fopen(zFilename, "w");
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:24181:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(p, pPrior, nOld);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:24183:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(p, pPrior, nBytes);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:24239:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    out = fopen(zFilename, "w");
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:24738:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(p, pPrior, nOld);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:24859:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    out = fopen(zFilename, "w");
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:27145:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(pNew, p, db->lookaside.sz);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:27192:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(zNew, z, n);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:27205:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(zNew, z, (size_t)n);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:27538:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[etBUFSIZE];       /* Conversion buffer */
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:27858:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(buf+(prefix!=0),"Inf",4);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:28233:42:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      if( !isMalloced(p) && p->nChar>0 ) memcpy(zNew, p->zText, p->nChar);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:28268:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&p->zText[p->nChar], z, N);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:28287:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&p->zText[p->nChar-N], z, N);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:28309:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(zText, p->zText, p->nChar+1);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:28422:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char zBase[SQLITE_PRINT_BUF_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:28455:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char zBase[SQLITE_PRINT_BUF_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:28542:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char zMsg[SQLITE_PRINT_BUF_SIZE*3];    /* Complete log message */
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:28571:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char zBuf[500];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:28659:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char zBuf[500];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:28703:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char zLine[1000];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:28734:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char zLine[100];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:28942:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char zBuf[30];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:28954:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char zBuf[30];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:28993:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char zFlgs[60];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:29359:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char s[256];          /* State variables */
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:29412:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char k[256];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:29453:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:29460:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:29964:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char zBuf[100];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:30074:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char zBuf[100];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:30233:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char zBuf[20];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:31014:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(pOut, &u, 8);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:31055:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pValue, &u, 4);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:31478:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&x,p,4);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:31482:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&x,p,4);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:31486:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&x,p,4);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:31495:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(p,&v,4);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:31498:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(p,&x,4);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:31501:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(p,&x,4);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:31775:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&a, &x, 8);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:31872:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(z, zName, nName);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:32630:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char aPadding[32];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:32928:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  return open(zFile, flags, mode);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:33532:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(pNew->zCanonicalName, zAbsoluteName, n+1);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:33734:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char aSemName[MAX_PATHNAME+2];  /* Name of that semaphore */
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:33792:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char aErr[80];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:33985:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&pInode->fileId, &fileId, sizeof(fileId));
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:35913:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pBuf, &((u8 *)(pFile->pMapRegion))[offset], amt);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:35917:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pBuf, &((u8 *)(pFile->pMapRegion))[offset], nCopy);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:36032:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char oldCntr[4];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:36048:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&((u8 *)(pFile->pMapRegion))[offset], pBuf, amt);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:36052:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&((u8 *)(pFile->pMapRegion))[offset], pBuf, nCopy);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:36235:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char zDirname[MAX_PATHNAME+1];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:38413:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char zDb[MAX_PATHNAME+1];     /* Database file path */
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:38437:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(zDb, zPath, nDb);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:38518:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char zTmpname[MAX_PATHNAME+2];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:38704:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      useProxy = atoi(envforce)>0;
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:38909:15:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
              memcpy(zDel, zIn, n);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:39024:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(zBuf, &t, sizeof(t));
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:39025:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&zBuf[sizeof(t)], &randomnessPid, sizeof(randomnessPid));
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:39368:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[MAXPATHLEN];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:39546:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char tPath[MAXPATHLEN];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:39547:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[PROXY_MAXCONCHLEN];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:39551:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char errmsg[64] = "";
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:39640:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char tBuf[PROXY_MAXCONCHLEN];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:39690:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char readBuf[PROXY_MAXCONCHLEN];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:39691:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char lockPath[MAXPATHLEN];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:39747:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(lockPath, &readBuf[PROXY_PATHINDEX], pathLen);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:39793:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char writeBuffer[PROXY_MAXCONCHLEN];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:39797:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&writeBuffer[PROXY_HEADERLEN], myHostID, PROXY_HOSTIDLEN);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:39944:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(conchPath, dbPath, len+1);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:39960:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&conchPath[i+1], "-conch", 7);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:40020:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(dbPath, (char *)pFile->lockingContext, len + 1);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:40039:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char dbPath[MAXPATHLEN+1];       /* Name of the database file */
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:41566:41:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
  { "MultiByteToWideChar",     (SYSCALL)MultiByteToWideChar,     0 },
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:41984:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char zDbgBuf[SQLITE_WIN32_DBG_BUF_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:41997:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(zDbgBuf, zBuf, nMin);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:42013:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(zDbgBuf, zBuf, nMin);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:42732:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char zMsg[500];                 /* Human readable error text */
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:43386:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pBuf, &((u8 *)(pFile->pMapRegion))[offset], amt);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:43392:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pBuf, &((u8 *)(pFile->pMapRegion))[offset], nCopy);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:43464:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&((u8 *)(pFile->pMapRegion))[offset], pBuf, amt);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:43470:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&((u8 *)(pFile->pMapRegion))[offset], pBuf, nCopy);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:46932:23:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    if( iOfst<p->sz ) memcpy(zBuf, p->aData+iOfst, p->sz - iOfst);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:46935:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(zBuf, p->aData+iOfst, iAmt);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:46980:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(p->aData+iOfst, z, iAmt);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:47284:18:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      if( pOut ) memcpy(pOut, p->aData, p->sz);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:47314:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(pTo, sqlite3PagerGetData(pPage), szPage);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:47626:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(aiValues, p->u.aHash, sizeof(p->u.aHash));
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:47666:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(aiValues, p->u.aHash, sizeof(p->u.aHash));
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:51325:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char dbFileVers[16];        /* Changes whenever database file changes */
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:51663:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char zRet[1024];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:51771:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char ac[4];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:51790:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char ac[4];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:51975:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char aMagic[8];   /* A buffer to hold the magic header */
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:52068:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static const char zeroHdr[28] = {0};
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:52156:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(zHeader, aJournalMagic, sizeof(aJournalMagic));
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:52233:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char aMagic[8];     /* A buffer to hold the magic header */
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:53143:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(pData, (u8*)aData, pPager->pageSize);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:54968:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(zHeader, aJournalMagic, sizeof(aJournalMagic));
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:55503:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(pPager->zFilename, zPathname, nPathname);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:55504:16:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    if( nUri ) memcpy(&pPager->zFilename[nPathname+1], zUri, nUri);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:55505:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(pPager->zJournal, zPathname, nPathname);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:55506:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&pPager->zJournal[nPathname], "-journal\000", 8+2);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:55510:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(pPager->zWal, zPathname, nPathname);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:55511:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&pPager->zWal[nPathname], "-wal\000", 4+1);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:55979:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char dbFileVers[sizeof(pPager->dbFileVers)];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:56933:54:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          const void *pCopy = (const void *)&((const char *)zBuf)[24];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:59099:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy((void*)&aHdr[1], (const void*)&pWal->hdr, sizeof(WalIndexHdr));
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:59101:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy((void*)&aHdr[0], (const void*)&pWal->hdr, sizeof(WalIndexHdr));
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:59130:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&aFrame[8], pWal->hdr.aSalt, 8);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:59211:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char zName[15];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:59588:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&pWal->hdr.aSalt, &aBuf[16], 8);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:59895:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(aLeft, aTmp, sizeof(aTmp[0])*iOut);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:60122:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&pWal->hdr.aSalt[1], &salt1, 4);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:60479:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&pWal->hdr, &h1, sizeof(WalIndexHdr));
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:60685:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&pWal->hdr, (void*)walIndexHdr(pWal), sizeof(WalIndexHdr));
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:61187:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&pWal->hdr, pSnapshot, sizeof(WalIndexHdr));
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:61440:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&pWal->hdr, (void *)walIndexHdr(pWal), sizeof(WalIndexHdr));
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:61748:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&aWalHdr[16], pWal->hdr.aSalt, 8);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:62138:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(pRet, &pWal->hdr, sizeof(WalIndexHdr));
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:64757:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&temp[x], &data[x], (cbrk+size) - x);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:64760:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&data[cbrk], &src[pc], size);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:64817:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&aData[iAddr], &aData[pc], 2);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:65589:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char zDbHeader[100];  /* Database header content */
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:65651:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(zFullPathname, zFilename, nFilename);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:66543:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(data, zMagicHeader, sizeof(zMagicHeader));
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:67946:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(pPayload, pBuf, nByte);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:67949:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(pBuf, pPayload, nByte);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:68130:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(aSave, aWrite, 4);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:68133:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(aWrite, aSave, 4);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:69211:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&pPage1->aData[32], &pTrunk->aData[0], 4);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:69235:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&pPage1->aData[32], &pTrunk->aData[0], 4);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:69241:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&pPrevTrunk->aData[0], &pTrunk->aData[0], 4);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:69264:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&pNewTrunk->aData[0], &pTrunk->aData[0], 4);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:69266:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&pNewTrunk->aData[8], &pTrunk->aData[12], (k-1)*4);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:69331:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&aData[8+closest*4], &aData[4+k*4], 4);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:69705:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(pPayload, pSrc, nSrc);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:69763:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pPayload, pSrc, n);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:69766:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pPayload, pSrc, n);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:69929:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pTemp, pCell, sz);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:69973:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&data[idx+4], pCell+4, sz-4);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:69976:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&data[idx], pCell, sz);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:70158:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&pTmp[j], &aData[j], usableSize - j);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:70181:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(pData, pCell, sz);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:70367:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(pTmp, aData, pPg->pBt->usableSize);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:70647:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&aTo[iData], &aFrom[iData], pBt->usableSize-iData);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:70648:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&aTo[iToHdr], &aFrom[iFromHdr], pFrom->cellOffset + 2*pFrom->nCell);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:70846:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aOvflSpace[iOff], apDiv[i], szNew[i]);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:70967:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pTemp, apDiv[i], sz);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:70976:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(b.apCell[b.nCell], &pOld->aData[8], 4);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:71225:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&apNew[nNew-1]->aData[8], &pOld->aData[8], 4);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:71300:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&pNew->aData[8], pCell, 4);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:71529:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(pChild->aiOvfl, pRoot->aiOvfl,
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:71531:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(pChild->apOvfl, pRoot->apOvfl,
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:71969:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(newCell, oldCell, 4);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:71986:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(oldCell, newCell, szNew);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:72042:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(pCur->pKey, pX->pKey, pX->nKey);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:73295:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char zErr[100];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:74003:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(zOut, zIn, nCopy);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:74646:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char zBuf[100];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:74755:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(pMem->zMalloc, pMem->z, pMem->n);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:74945:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(pMem, &t, sizeof(t));
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:75498:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(pTo, pFrom, MEMCELLSIZE);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:75515:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(pTo, pFrom, MEMCELLSIZE);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:75539:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(pTo, pFrom, sizeof(Mem));
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:75613:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(pMem->z, z, nAlloc);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:76519:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pStr->z, z, n+1);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:76776:16:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  if( p4copy ) memcpy(p4copy, zP4, 8);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:77783:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char zAlt[50];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:78129:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char zPtr[50];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:78130:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char zCom[100];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:78496:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char z[1000];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:79589:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *out = fopen("vdbe_profile.out", "a");
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:79607:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char zHdr[100];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:80067:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    if( len>0 ) memcpy(buf, pMem->z, len);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:80124:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&pMem->u.r, &x, sizeof(x));
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:81796:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(pNew, pOrig, MEMCELLSIZE);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:83600:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char zBase[100];         /* Initial working space */
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:84269:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char zBuf[200];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:85084:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(pOut, pVar, MEMCELLSIZE);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:85331:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(pOut->z, pIn2->z, pIn2->n);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:85335:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&pOut->z[pIn2->n], pIn1->z, pIn1->n);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:86549:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pDest->z, zData, len);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:86905:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(pNew->zName, zName, nName+1);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:92575:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(p->aAlloc, &p->aBuffer[iBuf], nAvail);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:92591:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&p->aAlloc[nByte - nRem], aNext, nCopy);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:92997:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(pKeyInfo, pCsr->pKeyInfo, szKeyInfo);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:93505:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&p->aBuffer[p->iBufEnd], &pData[nData-nRem], nCopy);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:93886:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(SRVAL(pNew), pVal->z, pVal->n);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:94729:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(pOut->z, pKey, nKey);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:94912:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(zOut, (u8*)pChunk->zChunk + iChunkOffset, nCopy);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:95010:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy((u8*)p->pFirst->zChunk, zBuf, iAmt);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:95038:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy((u8*)p->endpoint.pChunk->zChunk + iChunkOffset, zWrite, iSpace);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:95510:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(pExpr, pDup, sizeof(*pExpr));
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:97999:25:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        if( pToken->n ) memcpy(pNew->u.zToken, pToken->z, pToken->n);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:98307:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(pDest, pSrc, exprStructSize(pSrc));
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:98451:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(zAlloc, p, nNewSize);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:98454:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(zAlloc, p, nSize);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:98468:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(zToken, p->u.zToken, nToken);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:103227:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(pNew->aCol, pTab->aCol, sizeof(Column)*pNew->nCol);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:103827:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(zOut, zSql, nSql);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:103850:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&zOut[iOff], zReplace, nReplace);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:104760:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(p->u.aRowid, pData, n);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:104787:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(pTo->anEq, pFrom->anEq, sizeof(tRowcnt)*p->nCol);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:104788:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(pTo->anLt, pFrom->anLt, sizeof(tRowcnt)*p->nCol);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:104789:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(pTo->anDLt, pFrom->anDLt, sizeof(tRowcnt)*p->nCol);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:105477:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(pStat1->zName, "sqlite_stat1", 13);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:106248:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pSample->p, sqlite3_column_blob(pStmt, 4), pSample->n);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:106457:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  zFile = (const char *)sqlite3_value_text(argv[0]);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:106458:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  zName = (const char *)sqlite3_value_text(argv[1]);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:106509:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(aNew, db->aDb, sizeof(db->aDb[0])*2);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:106584:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        zKey = (char *)sqlite3_value_blob(argv[2]);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:106673:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *zName = (const char *)sqlite3_value_text(argv[0]);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:106677:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char zErr[128];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:107540:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char saveBuf[PARSE_TAIL_SZ];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:107556:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(saveBuf, PARSE_TAIL(pParse), PARSE_TAIL_SZ);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:107561:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(PARSE_TAIL(pParse), saveBuf, PARSE_TAIL_SZ);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:107805:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(db->aDbStatic, db->aDb, 2*sizeof(db->aDb[0]));
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:108396:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(z, pName->z, pName->n);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:108432:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(zType, pType->z, pType->n);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:108956:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&zStmt[k], zType, len);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:108976:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(zExtra, pIdx->azColl, sizeof(char*)*pIdx->nColumn);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:108979:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(zExtra, pIdx->aiColumn, sizeof(i16)*pIdx->nColumn);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:108982:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(zExtra, pIdx->aSortOrder, pIdx->nColumn);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:109920:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char zTab[24];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:110178:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(z, pTo->z, pTo->n);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:110212:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(z, pToCol->a[i].zName, n);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:110656:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(pIndex->zName, zName, nName+1);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:110730:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(zExtra, zColl, nColl);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:111029:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&a[1], aVal, nCopy*sizeof(LogEst));
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:112111:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pColl, pColl2, sizeof(CollSeq));
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:112222:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pColl[0].zName, zName, nName);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:112464:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy((char*)&pBest[1], zName, nName+1);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:114219:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char zStop[3];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:114522:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char zBuf[50];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:114775:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&zOut[j], zRep, nRep);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:114781:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&zOut[j], &zStr[i], nStr-i);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:114909:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char zResult[8];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:114958:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *zFile = (const char *)sqlite3_value_text(argv[0]);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:114972:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    zProc = (const char *)sqlite3_value_text(argv[1]);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:115373:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(aWc, pDef->pUserData, 3);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:116834:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy((char *)pStep->zTarget, zFrom, nFrom);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:119692:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  int  (*open)(const char*,sqlite3**);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:120005:53:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#define sqlite3_open                   sqlite3_api->open
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:120764:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(zAltEntry, "sqlite3_", 8);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:120773:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(zAltEntry+iEntry, "_init", 6);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:120809:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(aHandle, db->aExtension, sizeof(handle)*db->nExtension);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:122043:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char *aFcntl[4];       /* Argument to SQLITE_FCNTL_PRAGMA */
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:123836:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char zBuf[40];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:123914:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char *azArg[2];           /* Value of the argument and schema */
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:123933:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char zBuf[200];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:124371:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char const *azArg[4];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:127208:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&pCol->zName[n+1], zType, m+1);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:131870:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(z, argv[i], n);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:132394:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(z, pName->z, pName->n);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:134893:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(zCopy, zName, nName+1);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:135945:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy((char*)&pNew[1], pDef->zName, sqlite3Strlen30(pDef->zName)+1);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:136833:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char zBuf[100];               /* Initial space for EQP output string */
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:137548:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char d2[4];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:138600:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pOrTab->a, pTabItem, sizeof(*pTabItem));
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:139054:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(pWC->a, pOld, sizeof(pWC->a[0])*pWC->nTerm);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:140731:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(aiCur, pWInfo->aiCurOnePass, sizeof(int)*2);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:140747:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(pDest->a, pSrc->a, pDest->n*sizeof(pDest->a[0]));
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:142339:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char zType[4];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:142340:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char zLeft[50];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:142341:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(zType, "...", 4);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:142478:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(paNew, p->aLTerm, sizeof(p->aLTerm[0])*p->nLSlot);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:142494:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(pTo, pFrom, WHERE_LOOP_XFER_SZ);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:142495:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(pTo->aLTerm, pFrom->aLTerm, pTo->nLTerm*sizeof(pTo->aLTerm[0]));
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:144528:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char zName[65];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:144838:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(pTo->aLoop, pFrom->aLoop, sizeof(WhereLoop*)*iLoop);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:146963:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(pTab, pTab2, sizeof(Table));
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:148828:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(p->u.zToken, t.z, t.n);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:150831:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static unsigned char yycoverage[YYNSTATE][YYNTOKEN];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:153781:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char zKWText[628] = {
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:153819:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const unsigned char aKWHash[127] = {
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:153834:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const unsigned char aKWNext[140] = {
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:153848:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const unsigned char aKWLen[140] = {
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:153877:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const unsigned char aKWCode[140] = {
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:155483:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&y, &x, 8);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:156628:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char zBuf[50];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:158120:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(zFile, zUri, nUri);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:158157:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char zDecoded[40];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:158780:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char zMsg[100];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:159889:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(pNew, aArg, nArg*sizeof(void *));
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:161979:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(p, zCol, n);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:162276:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(p->aIndex, aIndex, sizeof(struct Fts3Index) * nIndex);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:162286:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(zCsr, argv[2], nName);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:162289:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(zCsr, argv[1], nDb);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:162296:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    z = (char *)sqlite3Fts3NextToken(aCol[iCol], &n);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:162298:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(zCsr, z, n);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:162304:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    assert( zCsr <= &((char *)p)[nByte] );
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:162770:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&zBuffer[nPrefix], zCsr, nSuffix);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:162922:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(p, *ppPoslist, n);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:162960:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(p, *ppPoslist, n);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:163291:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char *aaOutput[16];             /* Malloc'd output buffers */
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:163691:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pTS->aaOutput[0], aDoclist, nDoclist);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:164611:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      zArg = (const char *)sqlite3_value_text(apVal[1]);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:165527:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(aDoclist, a[p->nToken-1].pList, nByte+1);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:166998:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy((char *)p->pFts3Tab->zDb, zDb, nDb);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:166999:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy((char *)p->pFts3Tab->zName, zFts3, nFts3);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:167657:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(pRet->pPhrase->aToken[0].z, zToken, nToken);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:167772:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&zTemp[nTemp], zByte, nByte);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:167800:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(zBuf, zTemp, nTemp);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:168656:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  zExpr = (const char *)sqlite3_value_text(argv[1]);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:168665:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    azCol[ii] = (char *)sqlite3_value_text(argv[ii+2]);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:169104:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy((void*)new_elem->pKey, pKey, nKey);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:169464:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char zReverse[28];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:170064:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *azArg[64];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:170081:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  zName = (const char *)sqlite3_value_text(argv[0]);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:170083:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  zInput = (const char *)sqlite3_value_text(argv[argc-1]);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:170099:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    azArg[i-1] = (const char *)sqlite3_value_text(argv[i]);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:170180:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy((void *)pp, sqlite3_column_blob(pStmt, 0), sizeof(*pp));
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:170344:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char delim[128];             /* flag ASCII delimiters */
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:170677:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(pSpace, argv[i], n+1);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:170891:32:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *zByte = (const char *)sqlite3_value_text(apVal[0]);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:170897:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pCsr->zInput, zByte, nByte);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:171930:34:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *zText = (const char *)sqlite3_value_text(apVal[i]);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:172340:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(aCopy, pList->aData, nCopy);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:172405:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&pReader->zTerm[nPrefix], pNext, nSuffix);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:172642:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    if( nRoot ) memcpy(pReader->aNode, zRoot, nRoot);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:172766:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pReader->ppNextElem, aElem, nElem*sizeof(Fts3HashElem *));
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:173059:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&pTree->aData[nData], &zTerm[nPrefix], nSuffix);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:173073:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(pTree->zTerm, zTerm, nTerm);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:173328:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&pWriter->aData[nData], &zTerm[nPrefix], nSuffix);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:173331:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&pWriter->aData[nData], aDoclist, nDoclist);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:173350:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(pWriter->zTerm, zTerm, nTerm);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:173658:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(pMsr->aBuffer, pList, nList);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:174004:15:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
              memcpy(&pCsr->aBuffer[nDoclist], pList, nList);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:174764:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&p->term.a[nPrefix], &p->aNode[p->iOff], nSuffix);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:174870:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&pBlk->a[pBlk->n], &zTerm[nPrefix], nSuffix);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:174873:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(pNode->key.a, zTerm, nTerm);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:174946:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(pPrev->a, zTerm, nTerm);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:174953:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&pNode->a[pNode->n], &zTerm[nPrefix], nSuffix);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:174958:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&pNode->a[pNode->n], aDoclist, nDoclist);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:175291:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(pNode->block.a, aRoot, nRoot);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:175305:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(pNode->key.a, reader.term.a, reader.term.n);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:175317:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(pNode->block.a, aBlock, nBlock);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:175788:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(pHint->a, aHint, nHint);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:176354:20:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    p->nNodeSize = atoi(&zVal[9]);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:176357:26:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    p->nMaxPendingData = atoi(&zVal[11]);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:176360:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    p->bNoIncrDoclist = atoi(&zVal[21]);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:176482:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(pRet, &p->pList->aData[nSkip], *pnData);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:176875:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(pRet->zMatchinfo, zMatchinfo, nStr+1);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:176916:24:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      if( p->bGlobal ) memcpy(aOut, &p->aMatchinfo[1], p->nElem*sizeof(u32));
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:176926:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&p->aMatchinfo[2+p->nElem], &p->aMatchinfo[1], p->nElem*sizeof(u32));
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:177354:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&pStr->z[pStr->n], zAppend, nAppend);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:178398:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char aBuffer[64];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:179357:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char zSpace[100];        /* Initial static space */
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:179483:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(zNew, p->zBuf, (size_t)p->nUsed);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:179502:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(p->zBuf+p->nUsed, zIn, N);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:180281:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy((char*)p->zJson, zJson, nJson+1);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:181574:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(p->zJson, z, (size_t)n+1);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:181596:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(p->zRoot, zRoot, (size_t)n+1);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:182262:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&x, p, 8);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:182266:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&x, p, 8);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:182270:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&x, p, 8);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:182302:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(p, &i, 4);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:182305:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(p, &i, 4);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:182308:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(p, &i, 4);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:182321:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(p, &i, 8);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:182324:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(p, &i, 8);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:182326:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(p, &i, 8);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:182919:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&c.u,a,4);                                           \
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:182927:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&c.u,a,4);                                           \
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:183534:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(pBlob, pSrc, pSrc->iSize);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:183699:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char zIdxStr[RTREE_MAX_DIMENSIONS*8+1];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:183865:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&cell, p, sizeof(RtreeCell));
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:184049:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(aSpare, aLeft, sizeof(int)*nLeft);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:184118:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(aSpare, aLeft, sizeof(int)*nLeft);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:184209:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&left, &aCell[aaSorted[ii][0]], sizeof(RtreeCell));
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:184210:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&right, &aCell[aaSorted[ii][nCell-1]], sizeof(RtreeCell));
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:184239:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(pBboxLeft, &aCell[aaSorted[iBestDim][0]], sizeof(RtreeCell));
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:184240:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(pBboxRight, &aCell[aaSorted[iBestDim][iBestSplit]], sizeof(RtreeCell));
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:184307:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&aCell[nCell], pCell, sizeof(RtreeCell));
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:184602:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&aCell[ii], pCell, sizeof(RtreeCell));
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:185219:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static const char *azSql[N_STATEMENT] = {
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:185465:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(pRtree->zDb, argv[1], nDb);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:185466:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(pRtree->zName, argv[2], nName);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:185735:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(pRet, pNode, nNode);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:185768:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *azSql[2] = {
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:186201:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char hdr[4]; /* Header for on-disk representation */
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:186359:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pOut->a, s.a, s.nVertex*2*sizeof(GeoCoord));
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:186407:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(p->hdr, a, nByte);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:186816:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pBBox->a, a, sizeof(RtreeCoord)*4);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:187146:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char aOverlap[4];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:187333:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(pRtree->zDb, argv[1], nDb);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:187334:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(pRtree->zName, argv[2], nName);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:188135:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char zBuf[128];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:188446:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    zLocale = (const char *)sqlite3_value_text(apArg[1]);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:188548:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  zLocale = (const char *)sqlite3_value_text(apArg[0]);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:188549:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  zName = (const char *)sqlite3_value_text(apArg[1]);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:188700:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(p->zLocale, argv[0], n);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:189872:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char zStateDb[5];               /* Db name for state ("stat" or "main") */
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:190093:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(zOut, &zSrc[ofst], cnt);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:190108:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(zOut, zDelta, cnt);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:190600:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(zRet, zStr, nCopy);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:190753:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(pIter->abIndexed, pIter->abTblPk, sizeof(u8)*pIter->nTblCol);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:192055:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(pUp->zMask, zMask, pIter->nTblCol);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:192213:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(p->zStateDb, "stat", 4);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:192215:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(p->zStateDb, "main", 4);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:192581:11:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
  nChar = MultiByteToWideChar(CP_UTF8, 0, zFilename, -1, NULL, 0);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:192590:11:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
  nChar = MultiByteToWideChar(CP_UTF8, 0, zFilename, -1, zWideFilename,
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:193262:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char zRnd[64];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:193406:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(p->zTarget, zTarget, nTarget+1);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:193410:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(p->zRbu, zRbu, nRbu+1);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:194471:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(zCopy, zBase, nCopy);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:194726:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&pNew->base, &vfs_template, sizeof(sqlite3_vfs));
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:194731:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(zSpace, zName, nName);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:195855:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(sqlite3PagerGetData(pDbPage),
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:196316:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&i, &r, 8);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:196340:19:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          if( n ) memcpy(&aBuf[nVarint + 1], z, n);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:196446:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&iVal, &rVal, 8);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:196602:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(aOut, a2, n2);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:196605:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(aOut, a1, n1);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:196700:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(aOut, aOld, nOld);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:196728:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(aOut, aNew, nNew);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:196790:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&rVal, &iVal, 8);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:196949:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pAlloc, zThis, nThis+1);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:196959:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pAlloc, zName, nName+1);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:197613:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(pNew->zDb, zDb, nDb+1);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:197738:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(pTab->zName, zName, nName+1);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:197838:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&p->aBuf[p->nBuf], aBlob, nBlob);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:197858:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&p->aBuf[p->nBuf], zStr, nStr);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:197876:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char aBuf[24];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:197931:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&i, &r, 8);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:198014:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&dVal, &iVal, 8);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:198220:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&rVal, &iVal, 8);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:198664:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(aCopy, aData, nData);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:198741:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&d, &v, 8);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:198876:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&p->tblhdr.aBuf[iPK], &p->in.aData[p->in.iNext], nCopy);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:200558:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pNew->aRecord, aRec, nRec);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:200570:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(pOut, pIn, nIn);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:200602:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(pOut, a1, n1);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:200605:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(pOut, a2, n2);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:200668:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(aCsr, aRec, nRec);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:200693:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(aCsr, aRec, nRec);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:200763:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(pTab->abPK, abPK, nCol);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:200765:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(pTab->zName, zNew, nNew+1);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:201056:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(pOut, a2, nn2);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:201059:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(pOut, a1, nn1);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:201112:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(pOut, a1, n1);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:201116:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(pOut, a2, n2);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:201130:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(pOut, a1, n1);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:203481:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static unsigned char fts5yycoverage[fts5YYNSTATE][fts5YYNFTS5TOKEN];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:205073:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&pBuf->p[pBuf->n], pData, nData);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:205286:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(zRet, pIn, nIn);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:205381:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(pEntry->pTerm, pTerm, nTerm);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:205721:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(pSpace, p2, p-p2);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:205843:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(zOut, zIn, (size_t)(nIn+1));
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:206187:19:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      if( zRank ) memcpy(zRank, pRank, p-pRank);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:206207:27:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          if( zRankArgs ) memcpy(zRankArgs, pArgs, p-pArgs);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:206732:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(aNew, aIter, sizeof(Fts5PoslistReader) * nIter);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:207935:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pSyn->zTerm, pToken, nToken);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:208093:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(pColset, pColsetOrig, (size_t)nByte);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:208310:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pRet, pOrig, (size_t)nByte);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:208438:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&p->apChild[p->nChild], pSub->apChild, nByte);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:209511:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&zKey[1], pToken, nToken);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:209731:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&pRet[nPre], &((u8*)p)[nHashPre], nList);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:210887:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&(pBuf)->p[(pBuf)->n], pBlob, nBlob);             \
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:210985:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(pOut->aSeg, &pLvl->aSeg[is], sizeof(Fts5StructureSegment));
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:214942:23:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      if( doclist.n ) memcpy(pData->p, doclist.p, doclist.n);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:215184:18:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    if( nToken ) memcpy(&buf.p[1], pToken, nToken);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:216115:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  if( n>0 ) memcpy(a, aBlob, n);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:218844:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pAux->zFunc, zName, nName);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:218882:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(pNew->zName, zName, nName);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:220313:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static unsigned char aAsciiTokenChar[128] = {
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:220326:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char aTokenChar[128];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:220369:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(p->aTokenChar, aAsciiTokenChar, sizeof(aAsciiTokenChar));
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:220417:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char aFold[64];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:220522:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char aTokenChar[128];  /* ASCII range token characters */
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:220529:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char aCategory[32];    /* True for token char categories */
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:220788:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(aFold, p->aFold, nFold);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:220842:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char aBuf[FTS5_PORTER_MAX_TOKEN + 64];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:220929:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&aBuf[nStem], p->zOutput, p->nOutput);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:221168:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&aBuf[nBuf-2], "ate", 3);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:221176:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&aBuf[nBuf-2], "ble", 3);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:221184:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&aBuf[nBuf-2], "ize", 3);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:221203:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-7], "ate", 3);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:221208:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-6], "tion", 4);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:221217:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-4], "ence", 4);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:221222:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-4], "ance", 4);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:221231:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-4], "ize", 3);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:221240:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-4], "log", 3);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:221249:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-3], "ble", 3);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:221254:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-4], "al", 2);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:221259:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-5], "ent", 3);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:221264:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-3], "e", 1);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:221269:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-5], "ous", 3);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:221278:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-7], "ize", 3);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:221283:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-5], "ate", 3);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:221288:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-4], "ate", 3);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:221297:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-5], "al", 2);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:221302:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-7], "ive", 3);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:221307:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-7], "ful", 3);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:221312:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-7], "ous", 3);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:221321:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-5], "al", 2);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:221326:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-5], "ive", 3);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:221331:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-6], "ble", 3);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:221350:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-4], "ic", 2);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:221367:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-5], "ic", 2);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:221372:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-5], "ic", 2);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:221397:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-5], "al", 2);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:221416:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-3], "ee", 2);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:221479:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(aBuf, pToken, nBuf);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:222911:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pRet->zFts5Tbl, zTab, nTab);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:222912:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pRet->zFts5Db, zDb, nDb);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:223330:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(pCsr->zLeTerm, zCopy, pCsr->nLeTerm+1);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.h:9131:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char hidden[48];
data/nss-pem-1.0.6/nss/nss/lib/ssl/preenc.h:28:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char key[12];
data/nss-pem-1.0.6/nss/nss/lib/ssl/preenc.h:29:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char iv[24];
data/nss-pem-1.0.6/nss/nss/lib/ssl/preenc.h:30:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char hash[20];
data/nss-pem-1.0.6/nss/nss/lib/ssl/preenc.h:31:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char serial[8];
data/nss-pem-1.0.6/nss/nss/lib/ssl/preenc.h:35:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char key[12];
data/nss-pem-1.0.6/nss/nss/lib/ssl/preenc.h:36:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char iv[24];
data/nss-pem-1.0.6/nss/nss/lib/ssl/preenc.h:37:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char hash[20];
data/nss-pem-1.0.6/nss/nss/lib/ssl/preenc.h:38:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char Ra[128];
data/nss-pem-1.0.6/nss/nss/lib/ssl/preenc.h:39:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char Y[128];
data/nss-pem-1.0.6/nss/nss/lib/ssl/preenc.h:43:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char pkcs11Mech[4];
data/nss-pem-1.0.6/nss/nss/lib/ssl/preenc.h:44:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char labelLen[2];
data/nss-pem-1.0.6/nss/nss/lib/ssl/preenc.h:45:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char keyIDLen[2];
data/nss-pem-1.0.6/nss/nss/lib/ssl/preenc.h:46:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char ivLen[2];
data/nss-pem-1.0.6/nss/nss/lib/ssl/preenc.h:47:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char keyLen[2];
data/nss-pem-1.0.6/nss/nss/lib/ssl/preenc.h:48:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char data[1];
data/nss-pem-1.0.6/nss/nss/lib/ssl/preenc.h:52:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char pkcs11Mech[4];
data/nss-pem-1.0.6/nss/nss/lib/ssl/preenc.h:53:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char issuerLen[2];
data/nss-pem-1.0.6/nss/nss/lib/ssl/preenc.h:54:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char serialLen[2];
data/nss-pem-1.0.6/nss/nss/lib/ssl/preenc.h:55:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char ivLen[2];
data/nss-pem-1.0.6/nss/nss/lib/ssl/preenc.h:56:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char keyLen[2];
data/nss-pem-1.0.6/nss/nss/lib/ssl/preenc.h:57:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char data[1];
data/nss-pem-1.0.6/nss/nss/lib/ssl/preenc.h:75:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char magic[2];
data/nss-pem-1.0.6/nss/nss/lib/ssl/preenc.h:76:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char len[2];
data/nss-pem-1.0.6/nss/nss/lib/ssl/preenc.h:77:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char type[2];
data/nss-pem-1.0.6/nss/nss/lib/ssl/preenc.h:78:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char version[2];
data/nss-pem-1.0.6/nss/nss/lib/ssl/selfencrypt.c:124:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char iv[AES_BLOCK_SIZE];
data/nss-pem-1.0.6/nss/nss/lib/ssl/selfencrypt.c:243:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char computedMac[SHA256_LENGTH];
data/nss-pem-1.0.6/nss/nss/lib/ssl/ssl3con.c:441:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char line[40];
data/nss-pem-1.0.6/nss/nss/lib/ssl/ssl3con.c:496:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(line, "*UNKNOWN* handshake type! (%d)", msgType);
data/nss-pem-1.0.6/nss/nss/lib/ssl/ssl3con.c:506:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char line[40];
data/nss-pem-1.0.6/nss/nss/lib/ssl/ssl3con.c:525:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(line, "*UNKNOWN* record type! (%d)", msgType);
data/nss-pem-1.0.6/nss/nss/lib/ssl/ssl3con.c:1923:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const unsigned char mac_pad_1[60] = {
data/nss-pem-1.0.6/nss/nss/lib/ssl/ssl3con.c:1933:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const unsigned char mac_pad_2[60] = {
data/nss-pem-1.0.6/nss/nss/lib/ssl/ssl3con.c:2104:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char pseudoHeaderBuf[13];
data/nss-pem-1.0.6/nss/nss/lib/ssl/ssl3con.c:2152:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char ivOut[MAX_IV_LENGTH];
data/nss-pem-1.0.6/nss/nss/lib/ssl/ssl3con.c:4657:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char stackBuf[1024];
data/nss-pem-1.0.6/nss/nss/lib/ssl/ssl3con.c:4699:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char md5StackBuf[256];
data/nss-pem-1.0.6/nss/nss/lib/ssl/ssl3con.c:4700:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char shaStackBuf[512];
data/nss-pem-1.0.6/nss/nss/lib/ssl/ssl3con.c:4724:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            unsigned char s[4];
data/nss-pem-1.0.6/nss/nss/lib/ssl/ssl3con.c:10603:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cfn[100];
data/nss-pem-1.0.6/nss/nss/lib/ssl/ssl3con.c:10613:20:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        fileNum += atoi(startat);
data/nss-pem-1.0.6/nss/nss/lib/ssl/ssl3con.c:10616:20:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        fileNum >= atoi(stopat)) {
data/nss-pem-1.0.6/nss/nss/lib/ssl/ssl3con.c:11471:27:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static const unsigned char padding[32] = { 0 };
data/nss-pem-1.0.6/nss/nss/lib/ssl/ssl3con.c:11514:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[200];
data/nss-pem-1.0.6/nss/nss/lib/ssl/ssl3con.c:12493:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char rotatedMac[MAX_MAC_LENGTH];
data/nss-pem-1.0.6/nss/nss/lib/ssl/ssl3con.c:12685:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char ivOut[MAX_IV_LENGTH];
data/nss-pem-1.0.6/nss/nss/lib/ssl/ssl3ecc.c:64:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(params->data + 2, oidData->oid.data, oidData->oid.len);
data/nss-pem-1.0.6/nss/nss/lib/ssl/ssl3ecc.c:138:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(hashBuf, client_rand, SSL3_RANDOM_LENGTH);
data/nss-pem-1.0.6/nss/nss/lib/ssl/ssl3ecc.c:140:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(pBuf, server_rand, SSL3_RANDOM_LENGTH);
data/nss-pem-1.0.6/nss/nss/lib/ssl/ssl3ecc.c:142:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(pBuf, ec_params.data, ec_params.len);
data/nss-pem-1.0.6/nss/nss/lib/ssl/ssl3ecc.c:146:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(pBuf, server_ecpoint.data, server_ecpoint.len);
data/nss-pem-1.0.6/nss/nss/lib/ssl/ssl3ecc.c:500:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char paramBuf[3];
data/nss-pem-1.0.6/nss/nss/lib/ssl/ssl3ecc.c:651:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char paramBuf[3];
data/nss-pem-1.0.6/nss/nss/lib/ssl/ssl3ext.c:881:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static unsigned char padding[252] = { 0 };
data/nss-pem-1.0.6/nss/nss/lib/ssl/ssl3exthandle.c:315:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char resultBuffer[255];
data/nss-pem-1.0.6/nss/nss/lib/ssl/ssl3exthandle.c:625:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char wrapped_ms[SSL3_MASTER_SECRET_LENGTH];
data/nss-pem-1.0.6/nss/nss/lib/ssl/ssl3exthandle.c:648:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(wrapped_ms, sid.u.ssl3.keys.wrapped_master_secret,
data/nss-pem-1.0.6/nss/nss/lib/ssl/ssl3gthr.c:355:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(gs->hdr, SSL_BUFFER_BASE(&gs->dtlsPacket) + gs->dtlsPacketOffset,
data/nss-pem-1.0.6/nss/nss/lib/ssl/sslimpl.h:354:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char hdr[13];
data/nss-pem-1.0.6/nss/nss/lib/ssl/sslinfo.c:111:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(inf.sessionID, sid->u.ssl3.sessionID, sidLen);
data/nss-pem-1.0.6/nss/nss/lib/ssl/sslinfo.c:115:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(info, &inf, inf.length);
data/nss-pem-1.0.6/nss/nss/lib/ssl/sslinfo.c:175:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(info, &inf, inf.length);
data/nss-pem-1.0.6/nss/nss/lib/ssl/sslinfo.c:362:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(info, &suiteInfo[i], len);
data/nss-pem-1.0.6/nss/nss/lib/ssl/sslprimitive.c:30:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char iv[MAX_IV_LENGTH];
data/nss-pem-1.0.6/nss/nss/lib/ssl/sslprimitive.c:39:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char label[255]; // Maximum length label.
data/nss-pem-1.0.6/nss/nss/lib/ssl/sslprimitive.c:70:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(label, labelPrefix, labelPrefixLen);
data/nss-pem-1.0.6/nss/nss/lib/ssl/sslprimitive.c:71:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(label + labelPrefixLen, ivSuffix, strlen(ivSuffix));
data/nss-pem-1.0.6/nss/nss/lib/ssl/sslprimitive.c:82:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(label + labelPrefixLen, keySuffix, strlen(keySuffix));
data/nss-pem-1.0.6/nss/nss/lib/ssl/sslprimitive.c:385:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(outMask, outMask_, maskLen);
data/nss-pem-1.0.6/nss/nss/lib/ssl/sslprimitive.c:402:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            unsigned char zeros[128] = { 0 };
data/nss-pem-1.0.6/nss/nss/lib/ssl/sslsnce.c:587:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(x, s, nl);
data/nss-pem-1.0.6/nss/nss/lib/ssl/sslsnce.c:1091:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(cacheMem, cache, sizeof *cache);
data/nss-pem-1.0.6/nss/nss/lib/ssl/sslsnce.c:1260:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char fmString[PR_FILEMAP_STRING_BUFSIZE];
data/nss-pem-1.0.6/nss/nss/lib/ssl/sslsnce.c:1433:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(cache, cache->sharedCache, sizeof *cache); /* overwrite */
data/nss-pem-1.0.6/nss/nss/lib/ssl/sslsnce.c:1477:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(newLocks, cache->sidCacheLocks,
data/nss-pem-1.0.6/nss/nss/lib/ssl/sslsock.c:771:17:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
                strcpy(lockStatus + LOCKSTATUS_OFFSET, "DISABLED.");
data/nss-pem-1.0.6/nss/nss/lib/ssl/sslsock.c:1299:17:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
                strcpy(lockStatus + LOCKSTATUS_OFFSET, "DISABLED.");
data/nss-pem-1.0.6/nss/nss/lib/ssl/sslsock.c:2212:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(protoOut, result + 1, result[0]);
data/nss-pem-1.0.6/nss/nss/lib/ssl/sslsock.c:3456:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[MAX_FRAGMENT_LENGTH];
data/nss-pem-1.0.6/nss/nss/lib/ssl/sslsock.c:3860:29:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            ssl_trace_iob = fopen(ev, "w");
data/nss-pem-1.0.6/nss/nss/lib/ssl/sslsock.c:3868:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            ssl_trace = atoi(ev);
data/nss-pem-1.0.6/nss/nss/lib/ssl/sslsock.c:3874:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            ssl_debug = atoi(ev);
data/nss-pem-1.0.6/nss/nss/lib/ssl/sslsock.c:3882:30:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            ssl_keylog_iob = fopen(ev, "a");
data/nss-pem-1.0.6/nss/nss/lib/ssl/sslsock.c:3904:13:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
            strcpy(lockStatus + LOCKSTATUS_OFFSET, "FORCED.  ");
data/nss-pem-1.0.6/nss/nss/lib/ssl/sslspec.h:130:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char data[DTLS_RECVD_RECORDS_WINDOW / 8];
data/nss-pem-1.0.6/nss/nss/lib/ssl/ssltrace.c:18:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char printable[257] = {
data/nss-pem-1.0.6/nss/nss/lib/ssl/ssltrace.c:41:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[80];
data/nss-pem-1.0.6/nss/nss/lib/ssl/ssltrace.c:83:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[2000];
data/nss-pem-1.0.6/nss/nss/lib/ssl/tls13con.c:3486:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[100];
data/nss-pem-1.0.6/nss/nss/lib/ssl/tls13con.c:4037:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char iv[MAX_IV_LENGTH];
data/nss-pem-1.0.6/nss/nss/lib/ssl/tls13con.c:4038:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char tagbuf[HASH_LENGTH_MAX];
data/nss-pem-1.0.6/nss/nss/lib/ssl/tls13con.c:5556:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char ivOut[MAX_IV_LENGTH];
data/nss-pem-1.0.6/nss/nss/lib/ssl/tls13esni.c:816:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char zero[sizeof(sslSequenceNumber)] = { 0 };
data/nss-pem-1.0.6/nss/nss/lib/ssl/tls13exthandle.c:1338:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char zero[sizeof(sslSequenceNumber)] = { 0 };
data/nss-pem-1.0.6/nss/nss/lib/ssl/tls13hashstate.c:90:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char plaintext[1024];
data/nss-pem-1.0.6/nss/nss/lib/ssl/tls13hkdf.c:263:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char labelStr[100];
data/nss-pem-1.0.6/nss/nss/lib/ssl/tls13hkdf.c:323:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(output, rawkey->data, outputLen);
data/nss-pem-1.0.6/nss/nss/lib/ssl/tls13subcerts.c:487:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char endStr[256];
data/nss-pem-1.0.6/nss/nss/lib/sysinit/nsssysinit.c:178:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    f = fopen("/proc/sys/crypto/fips_enabled", "r");
data/nss-pem-1.0.6/nss/nss/lib/util/dersubr.c:34:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char b[4];
data/nss-pem-1.0.6/nss/nss/lib/util/dersubr.c:80:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char bb[4];
data/nss-pem-1.0.6/nss/nss/lib/util/dersubr.c:131:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char bb[5];
data/nss-pem-1.0.6/nss/nss/lib/util/dertime.c:112:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char localBuf[20];
data/nss-pem-1.0.6/nss/nss/lib/util/dertime.c:205:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char localBuf[20];
data/nss-pem-1.0.6/nss/nss/lib/util/nssb64d.c:69:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char token[4];
data/nss-pem-1.0.6/nss/nss/lib/util/nssb64d.c:102:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static unsigned char base64_codetovaluep1[256] = {
data/nss-pem-1.0.6/nss/nss/lib/util/nssb64e.c:28:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[3];
data/nss-pem-1.0.6/nss/nss/lib/util/nssb64e.c:63:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char in_buffer[2];
data/nss-pem-1.0.6/nss/nss/lib/util/nssb64e.c:104:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static unsigned char base64_valuetocode[64] =
data/nss-pem-1.0.6/nss/nss/lib/util/nssilckt.h:173:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char file[24];           /* filename */
data/nss-pem-1.0.6/nss/nss/lib/util/pkcs11uri.c:113:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&buffer->data[buffer->size], data, size);
data/nss-pem-1.0.6/nss/nss/lib/util/pkcs11uri.c:141:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[4];
data/nss-pem-1.0.6/nss/nss/lib/util/pkcs11uri.c:184:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[1];
data/nss-pem-1.0.6/nss/nss/lib/util/pkcs11uri.c:337:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(name_copy, name, name_size);
data/nss-pem-1.0.6/nss/nss/lib/util/pkcs11uri.c:393:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char sep[1];
data/nss-pem-1.0.6/nss/nss/lib/util/portreg.c:136:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(dest, exp, sx);
data/nss-pem-1.0.6/nss/nss/lib/util/portreg.c:193:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char map[256];
data/nss-pem-1.0.6/nss/nss/lib/util/quickder.c:554:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(((char*)dest + templateEntry->offset), &entries, sizeof(void**));
data/nss-pem-1.0.6/nss/nss/lib/util/secasn1d.c:174:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(buf, "_OF");
data/nss-pem-1.0.6/nss/nss/lib/util/secasn1d.c:178:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(buf, " [%lu]", k);
data/nss-pem-1.0.6/nss/nss/lib/util/secasn1d.c:749:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char kindBuf[256];
data/nss-pem-1.0.6/nss/nss/lib/util/secasn1d.c:2707:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char kindBuf[256];
data/nss-pem-1.0.6/nss/nss/lib/util/secasn1d.c:2758:47:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
               len ? (unsigned int)((unsigned char *)buf)[consumed] : 0,
data/nss-pem-1.0.6/nss/nss/lib/util/secasn1e.c:418:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[sizeof(unsigned long) + 1];
data/nss-pem-1.0.6/nss/nss/lib/util/secasn1e.c:441:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char eoc[2] = { 0, 0 };
data/nss-pem-1.0.6/nss/nss/lib/util/secload.c:77:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(fullName, referencePath, referencePathSize);
data/nss-pem-1.0.6/nss/nss/lib/util/secplcy.h:72:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char policy_string[SEC_POLICY_HEADER_LENGTH];
data/nss-pem-1.0.6/nss/nss/lib/util/secport.h:183:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#define PORT_Memcpy memcpy
data/nss-pem-1.0.6/nss/nss/lib/util/secport.h:187:32:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#define PORT_Memmove(s, ct, n) bcopy((ct), (s), (n))
data/nss-pem-1.0.6/nss/nss/lib/util/utilmod.c:58:12:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
    size = MultiByteToWideChar(CP_UTF8, 0, buf, -1, NULL, 0);
data/nss-pem-1.0.6/nss/nss/lib/util/utilmod.c:66:12:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
    size = MultiByteToWideChar(CP_UTF8, 0, buf, -1, wide, size);
data/nss-pem-1.0.6/nss/nss/lib/util/utilmod.c:215:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#define os_fopen fopen
data/nss-pem-1.0.6/nss/nss/lib/util/utilmod.c:216:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#define os_open open
data/nss-pem-1.0.6/nss/nss/lib/util/utilmod.c:378:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char line[MAX_LINE_LENGTH];
data/nss-pem-1.0.6/nss/nss/lib/util/utilmod.c:678:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char line[MAX_LINE_LENGTH];
data/nss-pem-1.0.6/nss/nss/lib/util/utilpars.c:180:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char searchValue[256];
data/nss-pem-1.0.6/nss/nss/lib/util/utilpars.c:1023:34:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                newCiphers[1] |= atoi(&cipherList[2]);
data/nss-pem-1.0.6/nss/nss/lib/util/utilpars.c:1025:34:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                newCiphers[0] |= atoi(&cipherList[2]);
data/nss-pem-1.0.6/nss/nss/lib/zlib/crc32.c:143:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        out = fopen("crc32.h", "w");
data/nss-pem-1.0.6/nss/nss/lib/zlib/gzguts.h:47:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#  define open _open
data/nss-pem-1.0.6/nss/nss/lib/zlib/gzlib.c:36:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char buf[1024];
data/nss-pem-1.0.6/nss/nss/lib/zlib/gzlib.c:65:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(buf, "unknown win32 error (%ld)", error);
data/nss-pem-1.0.6/nss/nss/lib/zlib/gzlib.c:245:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        open((const char *)path, oflag, 0666));
data/nss-pem-1.0.6/nss/nss/lib/zlib/gzlib.c:298:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(path, "<fd:%d>", fd);   /* for debugging */
data/nss-pem-1.0.6/nss/nss/lib/zlib/gzlib.c:615:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(state->msg, ": ");
data/nss-pem-1.0.6/nss/nss/lib/zlib/gzread.c:161:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(state->x.next, strm->next_in, strm->avail_in);
data/nss-pem-1.0.6/nss/nss/lib/zlib/gzread.c:325:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(buf, state->x.next, n);
data/nss-pem-1.0.6/nss/nss/lib/zlib/gzread.c:451:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[1];
data/nss-pem-1.0.6/nss/nss/lib/zlib/gzread.c:591:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(buf, state->x.next, n);
data/nss-pem-1.0.6/nss/nss/lib/zlib/gzwrite.c:213:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(state->in + have, buf, copy);
data/nss-pem-1.0.6/nss/nss/lib/zlib/gzwrite.c:309:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[1];
data/nss-pem-1.0.6/nss/nss/lib/zlib/gzwrite.c:444:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(state->in, state->in + state->size, left);
data/nss-pem-1.0.6/nss/nss/lib/zlib/gzwrite.c:543:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(state->in, state->in + state->size, left);
data/nss-pem-1.0.6/nss/nss/lib/zlib/inflate.c:640:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char hbuf[4];      /* buffer for gzip header crc calculation */
data/nss-pem-1.0.6/nss/nss/lib/zlib/inflate.c:1405:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[4];       /* to restore bit buffer to byte string */
data/nss-pem-1.0.6/nss/nss/lib/zlib/trees.c:328:20:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *header = fopen("trees.h", "w");
data/nss-pem-1.0.6/nss/nss/lib/zlib/zutil.c:13:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
z_const char * const z_errmsg[10] = {
data/nss-pem-1.0.6/nss/nss/lib/zlib/zutil.h:49:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern z_const char * const z_errmsg[10]; /* indexed by 2-zlib_error */
data/nss-pem-1.0.6/nss/nss/lib/zlib/zutil.h:109:6:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
     fopen((name), (mode), "mbc=60", "ctx=stm", "rfm=fix", "mrs=512")
data/nss-pem-1.0.6/nss/nss/lib/zlib/zutil.h:202:30:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#  define F_OPEN(name, mode) fopen((name), (mode))
data/nss-pem-1.0.6/nss/nss/lib/zlib/zutil.h:226:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#    define zmemcpy memcpy
data/nss-pem-1.0.6/nss/nss/nss-tool/common/util.cc:80:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[1024];
data/nss-pem-1.0.6/nss/nss/nss-tool/common/util.cc:208:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  ifs.open(path, std::ifstream::binary);
data/nss-pem-1.0.6/nss/nss/nss-tool/digest/digesttool.cc:127:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char digest[HASH_LENGTH_MAX];
data/nss-pem-1.0.6/nss/nss/nss-tool/digest/digesttool.cc:147:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[4096];
data/nss-pem-1.0.6/nss/nss/nss-tool/enc/enctool.cc:75:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(key_item->data, key_bytes.data(), key_bytes.size());
data/nss-pem-1.0.6/nss/nss/nss-tool/enc/enctool.cc:100:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(iv, iv_bytes.data(), iv_bytes.size());
data/nss-pem-1.0.6/nss/nss/nss-tool/enc/enctool.cc:112:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(ad, aad.data(), aad.size());
data/nss-pem-1.0.6/nss/nss/nss-tool/enc/enctool.cc:174:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(iv, iv_bytes.data(), iv_bytes.size());
data/nss-pem-1.0.6/nss/nss/nss-tool/enc/enctool.cc:186:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(ad, aad.data(), aad.size());
data/nss-pem-1.0.6/nss/nss/nss-tool/enc/enctool.cc:234:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[1040];
data/nss-pem-1.0.6/src/ckpem.h:149:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char   sha1_hash[SHA1_LENGTH];
data/nss-pem-1.0.6/src/ckpem.h:150:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char   md5_hash[MD5_LENGTH];
data/nss-pem-1.0.6/src/ckpem.h:198:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char   hashKeyData[128];
data/nss-pem-1.0.6/src/pargs.c:69:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(buffer, instr, (size_t) inlen);
data/nss-pem-1.0.6/src/pfind.c:406:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(fo->objs, temp, sizeof(pemInternalObject *) * fo->n);
data/nss-pem-1.0.6/src/pinst.c:187:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char id[24];
data/nss-pem-1.0.6/src/pinst.c:190:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(id, "%ld", objid);
data/nss-pem-1.0.6/src/pinst.c:197:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(o->id.data, id, len);
data/nss-pem-1.0.6/src/pinst.c:264:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(o->derCert->data, certDER->data, certDER->len);
data/nss-pem-1.0.6/src/pinst.c:278:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(o->u.cert.subject.data, subject.data, subject.len);
data/nss-pem-1.0.6/src/pinst.c:286:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(o->u.cert.issuer.data, issuer.data, issuer.len);
data/nss-pem-1.0.6/src/pinst.c:295:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(o->u.cert.serial.data, serial.data, serial.len);
data/nss-pem-1.0.6/src/pinst.c:317:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(o->u.key.key.privateKey->data, keyDER->data, keyDER->len);
data/nss-pem-1.0.6/src/pinst.c:491:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char nickname[1024];
data/nss-pem-1.0.6/src/pobject.c:1028:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(str, item.data, item.size);
data/nss-pem-1.0.6/src/pobject.c:1059:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&io->mdObject, &pem_prototype_mdObject, sizeof io->mdObject);
data/nss-pem-1.0.6/src/pobject.c:1157:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char nickname[1024];
data/nss-pem-1.0.6/src/pobject.c:1218:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(certDER.data,
data/nss-pem-1.0.6/src/prsa.c:229:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(modulus->data,
data/nss-pem-1.0.6/src/prsa.c:293:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(io->u.key.key.modulus.data,
data/nss-pem-1.0.6/src/prsa.c:301:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(io->u.key.key.exponent.data,
data/nss-pem-1.0.6/src/prsa.c:309:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(io->u.key.key.privateExponent.data,
data/nss-pem-1.0.6/src/prsa.c:317:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(io->u.key.key.prime1.data,
data/nss-pem-1.0.6/src/prsa.c:325:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(io->u.key.key.prime2.data,
data/nss-pem-1.0.6/src/prsa.c:333:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(io->u.key.key.exponent1.data,
data/nss-pem-1.0.6/src/prsa.c:341:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(io->u.key.key.exponent2.data,
data/nss-pem-1.0.6/src/prsa.c:349:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(io->u.key.key.coefficient.data,
data/nss-pem-1.0.6/src/prsa.c:428:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&iOperation->mdOperation, proto, sizeof iOperation->mdOperation);
data/nss-pem-1.0.6/src/prsa.c:518:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(iOperation->buffer.data, input->data, input->size);
data/nss-pem-1.0.6/src/prsa.c:561:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(output->data, buffer->data, buffer->size);
data/nss-pem-1.0.6/src/psession.c:63:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char conv[3];
data/nss-pem-1.0.6/src/psession.c:94:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char H[25];
data/nss-pem-1.0.6/src/psession.c:236:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char mykey[32];
data/nss-pem-1.0.6/src/psession.c:338:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(io->u.key.key.privateKey->data, output, len - output[len - 1]);
data/nss-pem-1.0.6/src/rsawrapr.c:112:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(output, buffer + modulus_len - *output_len, *output_len);
data/nss-pem-1.0.6/src/util.c:119:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(der->data, tmp.data, tmp.len);
data/nss-pem-1.0.6/src/util.c:297:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[LOGGING_BUFFER_SIZE];
data/nss-pem-1.0.6/nss/nss/cmd/bltest/blapitest.c:3084:12:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    PRBool equal;
data/nss-pem-1.0.6/nss/nss/cmd/bltest/blapitest.c:3089:17:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
            if (equal) {
data/nss-pem-1.0.6/nss/nss/cmd/bltest/blapitest.c:3094:20:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
            return equal ? SECSuccess : SECFailure;
data/nss-pem-1.0.6/nss/nss/cmd/bltest/blapitest.c:3104:13:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        if (equal) {
data/nss-pem-1.0.6/nss/nss/cmd/bltest/blapitest.c:3111:17:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
            if (equal) {
data/nss-pem-1.0.6/nss/nss/cmd/bltest/blapitest.c:3117:17:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
            if (equal) {
data/nss-pem-1.0.6/nss/nss/cmd/bltest/blapitest.c:3124:12:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    return equal ? SECSuccess : SECFailure;
data/nss-pem-1.0.6/nss/nss/cmd/bltest/tests/aes_gcm/hex.c:60:17:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ((c = getchar()) != EOF) {
data/nss-pem-1.0.6/nss/nss/cmd/certutil/certext.c:157:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    PORT_ArenaAlloc(arena, strlen(buffer));
data/nss-pem-1.0.6/nss/nss/cmd/certutil/certext.c:162:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                            current->name.other.len = strlen(buffer));
data/nss-pem-1.0.6/nss/nss/cmd/certutil/certext.c:172:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    PORT_ArenaAlloc(arena, strlen(buffer) + 2);
data/nss-pem-1.0.6/nss/nss/cmd/certutil/certext.c:178:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                            strlen(buffer));
data/nss-pem-1.0.6/nss/nss/cmd/certutil/certext.c:183:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                current->name.other.data[1] = (char)strlen(buffer);
data/nss-pem-1.0.6/nss/nss/cmd/certutil/certext.c:184:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                current->name.other.len = strlen(buffer) + 2;
data/nss-pem-1.0.6/nss/nss/cmd/certutil/certext.c:241:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (buffPrt && strlen(buffer) > 0) {
data/nss-pem-1.0.6/nss/nss/cmd/certutil/certext.c:242:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        value->data = PORT_ArenaAlloc(arena, strlen(buffer));
data/nss-pem-1.0.6/nss/nss/cmd/certutil/certext.c:247:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        PORT_Memcpy(value->data, buffer, value->len = strlen(buffer));
data/nss-pem-1.0.6/nss/nss/cmd/certutil/certext.c:286:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            keyLen = strlen(thisPos);
data/nss-pem-1.0.6/nss/nss/cmd/certutil/certext.c:887:72:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                rv = GetOidFromString(arena, &current->name.other, cp, strlen(cp));
data/nss-pem-1.0.6/nss/nss/cmd/certutil/certext.c:906:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                      oidString, strlen(oidString));
data/nss-pem-1.0.6/nss/nss/cmd/certutil/certext.c:2025:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        *filenameLen = strlen(*filename);
data/nss-pem-1.0.6/nss/nss/cmd/certutil/certutil.c:2418:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(name, flagsString, MAX_STRING);
data/nss-pem-1.0.6/nss/nss/cmd/certutil/certutil.c:3443:62:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            srv = GetOidFromString(NULL, &oid_item, oid_str, strlen(oid_str));
data/nss-pem-1.0.6/nss/nss/cmd/certutil/certutil.c:3967:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            cmd_len = strlen(nextcommand);
data/nss-pem-1.0.6/nss/nss/cmd/certutil/keystuff.c:94:13:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        c = getc(stdin);
data/nss-pem-1.0.6/nss/nss/cmd/certutil/keystuff.c:113:17:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ((c = getc(stdin)) != '\n' && c != EOF)
data/nss-pem-1.0.6/nss/nss/cmd/crlutil/crlgen.c:200:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            nextChunk = data + strlen(data);
data/nss-pem-1.0.6/nss/nss/cmd/crlutil/crlgen.c:256:67:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                current->name.other.data = PORT_ArenaAlloc(arena, strlen(buffer));
data/nss-pem-1.0.6/nss/nss/cmd/crlutil/crlgen.c:262:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                            current->name.other.len = strlen(buffer));
data/nss-pem-1.0.6/nss/nss/cmd/crlutil/crlgen.c:271:67:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                current->name.other.data = PORT_ArenaAlloc(arena, strlen(buffer) + 2);
data/nss-pem-1.0.6/nss/nss/cmd/crlutil/crlgen.c:277:67:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                PORT_Memcpy(current->name.other.data + 2, buffer, strlen(buffer));
data/nss-pem-1.0.6/nss/nss/cmd/crlutil/crlgen.c:280:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                current->name.other.data[1] = (char)strlen(buffer);
data/nss-pem-1.0.6/nss/nss/cmd/crlutil/crlgen.c:281:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                current->name.other.len = strlen(buffer) + 2;
data/nss-pem-1.0.6/nss/nss/cmd/crlutil/crlgen.c:307:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    } while (nextChunk != data + strlen(data));
data/nss-pem-1.0.6/nss/nss/cmd/crlutil/crlgen.c:1008:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    timeValLength = strlen(revocationDate);
data/nss-pem-1.0.6/nss/nss/cmd/crlutil/crlgen_lex.c:540:26:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                    (c = getc(yyin)) != EOF && c != '\n';         \
data/nss-pem-1.0.6/nss/nss/cmd/crlutil/crlutil.c:718:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                int len = strlen(certNickName) + 5;
data/nss-pem-1.0.6/nss/nss/cmd/crmf-cgi/crmfcgi.c:161:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        memmove(&percentSign[1], &percentSign[3], 1 + strlen(&percentSign[3]));
data/nss-pem-1.0.6/nss/nss/cmd/crmf-cgi/crmfcgi.c:168:23:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    char *ampersand, *equal;
data/nss-pem-1.0.6/nss/nss/cmd/crmf-cgi/crmfcgi.c:184:24:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    ampersand = strchr(equal, '&');
data/nss-pem-1.0.6/nss/nss/cmd/crmf-cgi/crmfcgi.c:188:5:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    equal[0] = '\0';
data/nss-pem-1.0.6/nss/nss/cmd/crmf-cgi/crmfcgi.c:194:19:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    var->value = &equal[1];
data/nss-pem-1.0.6/nss/nss/cmd/fipstest/fipstest.c:2076:17:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ((c = fgetc(req)) != EOF) {
data/nss-pem-1.0.6/nss/nss/cmd/httpserv/httpserv.c:416:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    remaining_bytes = strlen(buf) + 1; /* include terminator */
data/nss-pem-1.0.6/nss/nss/cmd/httpserv/httpserv.c:560:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            expectedPostLen = atoi(foundStr + strlen(tmp));
data/nss-pem-1.0.6/nss/nss/cmd/httpserv/httpserv.c:610:29:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                            strncpy(fileName, fnBegin, fnLen);
data/nss-pem-1.0.6/nss/nss/cmd/httpserv/httpserv.c:667:61:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    PR_Write(ssl_sock, outBadRequestHeader, strlen(outBadRequestHeader));
data/nss-pem-1.0.6/nss/nss/cmd/httpserv/httpserv.c:677:75:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                        NSSBase64_DecodeBuffer(arena, &postData, getData, strlen(getData));
data/nss-pem-1.0.6/nss/nss/cmd/httpserv/httpserv.c:789:63:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                            PR_Write(ssl_sock, outOcspHeader, strlen(outOcspHeader));
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:436:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(dir) >= PR_ARRAY_SIZE(sslDir)) {
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:441:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (sslDir[strlen(sslDir) - 1] == '/')
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:442:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        sslDir[strlen(sslDir) - 1] = 0;
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:452:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (dir[strlen(dir) - 1] == '/')
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:475:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (*home && home[strlen(home) - 1] == '/')
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:481:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (buf[strlen(buf) - 1] == '/')
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:482:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            buf[strlen(buf) - 1] = 0;
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:592:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        column = (level * INDENT_MULT) + strlen(m) + 2;
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:3804:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (SECU_GetSSLVersionFromName(maxStr, strlen(maxStr), &version) !=
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:4028:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            exporter->context.len = strlen(outputEnd);
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:4052:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    exporter->label.len = strlen(label);
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:4181:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (!psk || !psk->data || psk->len != strlen(&str[2]) / 2) {
data/nss-pem-1.0.6/nss/nss/cmd/lib/secutil.c:4192:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        labelItem.len = strlen(inLabel);
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/module/test_socket.c:166:68:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                                                   strlen(sendBuf2) +
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/module/test_socket.c:210:68:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                                                   strlen(sendBuf4) +
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/module/test_socket.c:280:67:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                                                  strlen(sendBuf1) +
data/nss-pem-1.0.6/nss/nss/cmd/libpkix/pkix_pl/module/test_socket.c:341:67:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                                                  strlen(sendBuf3) +
data/nss-pem-1.0.6/nss/nss/cmd/lowhashtest/lowhashtest.c:418:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (argc < 2 || !argv[1] || strlen(argv[1]) == 0) {
data/nss-pem-1.0.6/nss/nss/cmd/modutil/install-ds.c:1297:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    tmp = (char*)PR_Malloc((unsigned int)(strlen(str) + 1));
data/nss-pem-1.0.6/nss/nss/cmd/modutil/install.c:618:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                       cp + strlen(ROOT_MARKER));
data/nss-pem-1.0.6/nss/nss/cmd/modutil/install.c:626:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                       cp + strlen(TEMP_MARKER));
data/nss-pem-1.0.6/nss/nss/cmd/modutil/install.c:801:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    char *tmp = (char *)PR_Malloc(strlen(str) + 1);
data/nss-pem-1.0.6/nss/nss/cmd/modutil/lex.Pk11Install_yy.c:512:26:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                    (c = getc(yyin)) != EOF && c != '\n';         \
data/nss-pem-1.0.6/nss/nss/cmd/modutil/lex.Pk11Install_yy.c:1571:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    char *tmp = (char *)PR_Malloc(strlen(str) + 1);
data/nss-pem-1.0.6/nss/nss/cmd/modutil/lex.Pk11Install_yy.c:1589:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size = strlen(str);
data/nss-pem-1.0.6/nss/nss/cmd/modutil/pk11.c:203:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    buf = PR_Malloc(strlen(string) + 1);
data/nss-pem-1.0.6/nss/nss/cmd/modutil/pk11.c:254:17:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
                strcat(buf, ":");
data/nss-pem-1.0.6/nss/nss/cmd/modutil/pk11.c:801:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                PORT_ZFree(newpw, strlen(newpw));
data/nss-pem-1.0.6/nss/nss/cmd/modutil/pk11.c:802:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                PORT_ZFree(newpw2, strlen(newpw2));
data/nss-pem-1.0.6/nss/nss/cmd/modutil/pk11.c:829:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        PORT_ZFree(oldpw, strlen(oldpw));
data/nss-pem-1.0.6/nss/nss/cmd/modutil/pk11.c:832:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        PORT_ZFree(newpw, strlen(newpw));
data/nss-pem-1.0.6/nss/nss/cmd/modutil/pk11.c:835:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        PORT_ZFree(newpw2, strlen(newpw2));
data/nss-pem-1.0.6/nss/nss/cmd/nss-policy-check/nss-policy-check.c:91:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    fullPathLen = strlen(argv[1]);
data/nss-pem-1.0.6/nss/nss/cmd/pk11mode/pk11mode.c:381:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    pwdLen = strlen((const char *)pwd);
data/nss-pem-1.0.6/nss/nss/cmd/pk11mode/pk11mode.c:1694:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                       strlen((char *)weakPin));
data/nss-pem-1.0.6/nss/nss/cmd/pk11mode/pk11mode.c:1705:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                   strlen((char *)testPin));
data/nss-pem-1.0.6/nss/nss/cmd/pk11mode/pk11mode.c:1738:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                 strlen((const char *)testPin));
data/nss-pem-1.0.6/nss/nss/cmd/pk11mode/pk11mode.c:1747:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            strlen((const char *)testPin),
data/nss-pem-1.0.6/nss/nss/cmd/pk11mode/pk11mode.c:1749:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            strlen((const char *)weakPin));
data/nss-pem-1.0.6/nss/nss/cmd/pk11mode/pk11mode.c:1761:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        strlen((const char *)testPin),
data/nss-pem-1.0.6/nss/nss/cmd/pk11mode/pk11mode.c:3878:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    one[4].ulValueLen = strlen(one[4].pValue);
data/nss-pem-1.0.6/nss/nss/cmd/pk11mode/pk11mode.c:3884:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    one[6].ulValueLen = strlen(one[6].pValue);
data/nss-pem-1.0.6/nss/nss/cmd/pk11mode/pk11mode.c:3900:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    two[4].ulValueLen = strlen(two[4].pValue);
data/nss-pem-1.0.6/nss/nss/cmd/pk11mode/pk11mode.c:3906:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    two[6].ulValueLen = strlen(two[6].pValue);
data/nss-pem-1.0.6/nss/nss/cmd/pk11mode/pk11mode.c:3922:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    three[4].ulValueLen = strlen(three[4].pValue);
data/nss-pem-1.0.6/nss/nss/cmd/pk11mode/pk11mode.c:3928:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    three[6].ulValueLen = strlen(three[6].pValue);
data/nss-pem-1.0.6/nss/nss/cmd/pk11mode/pk11mode.c:3968:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    delta[0].ulValueLen = strlen(delta[0].pValue);
data/nss-pem-1.0.6/nss/nss/cmd/pk11mode/pk11mode.c:4042:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    delta[0].ulValueLen = strlen(delta[0].pValue);
data/nss-pem-1.0.6/nss/nss/cmd/pk11mode/pk11mode.c:4184:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    plainlen = strlen((char *)plaintext);
data/nss-pem-1.0.6/nss/nss/cmd/pk11mode/pk11mode.c:4185:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    plainlen_1 = strlen((char *)plaintext_1);
data/nss-pem-1.0.6/nss/nss/cmd/pk11mode/pk11mode.c:4186:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    plainlen_2 = strlen((char *)plaintext_2);
data/nss-pem-1.0.6/nss/nss/cmd/pk11util/pk11util.c:564:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size = strlen(vname);
data/nss-pem-1.0.6/nss/nss/cmd/pk11util/pk11util.c:621:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    memcpy(aname, attributes, strlen(attributes) + 1);
data/nss-pem-1.0.6/nss/nss/cmd/pk11util/pk11util.c:889:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    size = read(fd, ptr->data, ptr->size);
data/nss-pem-1.0.6/nss/nss/cmd/pk11util/pk11util.c:1155:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int size = strlen(cp->fname);
data/nss-pem-1.0.6/nss/nss/cmd/pk11util/pk11util.c:1208:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            int size = strlen(bp) + 1;
data/nss-pem-1.0.6/nss/nss/cmd/ppcertdata/ppcertdata.c:31:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    while (fgets(line, 132, stdin) && (bytes_read = strlen(line)) > 0) {
data/nss-pem-1.0.6/nss/nss/cmd/ppcertdata/ppcertdata.c:59:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
               (bytes_read = strlen(line)) > 0) {
data/nss-pem-1.0.6/nss/nss/cmd/pwdecrypt/pwdecrypt.c:133:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int strLen = strlen(dataString);
data/nss-pem-1.0.6/nss/nss/cmd/pwdecrypt/pwdecrypt.c:171:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int strLen = strlen(dataString + 1);
data/nss-pem-1.0.6/nss/nss/cmd/rsapoptst/rsapoptst.c:547:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            int len = strlen(arg);
data/nss-pem-1.0.6/nss/nss/cmd/sdrtest/sdrtest.c:260:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    data.len = strlen(value);
data/nss-pem-1.0.6/nss/nss/cmd/sdrtest/sdrtest.c:343:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            outBuf.len = strlen(newResult);
data/nss-pem-1.0.6/nss/nss/cmd/selfserv/selfserv.c:1414:25:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                        strncpy(fileName, fnBegin, fnLen);
data/nss-pem-1.0.6/nss/nss/cmd/shlibsign/shlibsign.c:99:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int in_len = strlen(input);
data/nss-pem-1.0.6/nss/nss/cmd/shlibsign/shlibsign.c:1029:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            int pwdLen = strlen((const char *)pwd);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/certgen.c:136:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    common_name = PORT_ZAlloc(strlen(cp) + 6);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/certgen.c:141:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    subjectlen += strlen(common_name);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/certgen.c:156:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        org = PORT_ZAlloc(strlen(cp) + 5);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/certgen.c:161:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        subjectlen += strlen(org);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/certgen.c:177:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        orgunit = PORT_ZAlloc(strlen(cp) + 6);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/certgen.c:182:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        subjectlen += strlen(orgunit);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/certgen.c:197:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        state = PORT_ZAlloc(strlen(cp) + 6);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/certgen.c:202:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        subjectlen += strlen(state);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/certgen.c:216:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(cp) != 2) {
data/nss-pem-1.0.6/nss/nss/cmd/signtool/certgen.c:220:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        country = PORT_ZAlloc(strlen(cp) + 5);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/certgen.c:225:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        subjectlen += strlen(country);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/certgen.c:240:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        uid = PORT_ZAlloc(strlen(cp) + 7);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/certgen.c:245:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        subjectlen += strlen(uid);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/certgen.c:260:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        email = PORT_ZAlloc(strlen(cp) + 5);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/certgen.c:265:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        subjectlen += strlen(email);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/certgen.c:283:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if ((strlen(subject) > 1) && (subject[strlen(subject) - 1] == ' ')) {
data/nss-pem-1.0.6/nss/nss/cmd/signtool/certgen.c:283:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if ((strlen(subject) > 1) && (subject[strlen(subject) - 1] == ' ')) {
data/nss-pem-1.0.6/nss/nss/cmd/signtool/certgen.c:284:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        subject[strlen(subject) - 2] = '\0';
data/nss-pem-1.0.6/nss/nss/cmd/signtool/certgen.c:661:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    filename = PORT_ZAlloc(strlen(DEFAULT_X509_BASENAME) + 8);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/javascript.c:85:58:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (!(PL_strcaserstr(filename, ".htm") == filename + strlen(filename) - 4) &&
data/nss-pem-1.0.6/nss/nss/cmd/signtool/javascript.c:86:59:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        !(PL_strcaserstr(filename, ".html") == filename + strlen(filename) - 5) &&
data/nss-pem-1.0.6/nss/nss/cmd/signtool/javascript.c:87:60:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        !(PL_strcaserstr(filename, ".shtml") == filename + strlen(filename) - 6)) {
data/nss-pem-1.0.6/nss/nss/cmd/signtool/javascript.c:94:56:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (PL_strcaserstr(filename, ".arc") == filename + strlen(filename) - 4)
data/nss-pem-1.0.6/nss/nss/cmd/signtool/javascript.c:105:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (PL_strcaserstr(reldir, ".arc") == reldir + strlen(reldir) - 4)
data/nss-pem-1.0.6/nss/nss/cmd/signtool/javascript.c:901:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    writeLen = strlen(text);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/javascript.c:1100:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
               (basedir + strlen(basedir) - 1)) {
data/nss-pem-1.0.6/nss/nss/cmd/signtool/javascript.c:1339:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    PL_strcasecmp((archiveDir + strlen(archiveDir) - 4),
data/nss-pem-1.0.6/nss/nss/cmd/signtool/javascript.c:1349:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    PL_strcpy(archiveDir + strlen(archiveDir) - 4, ".arc");
data/nss-pem-1.0.6/nss/nss/cmd/signtool/sign.c:204:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if ((PL_strcaserstr(relpath, ".arc") == relpath + strlen(relpath) - 4) &&
data/nss-pem-1.0.6/nss/nss/cmd/signtool/sign.c:205:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        (PL_strcasestr(relpath, ".arc") == relpath + strlen(relpath) - 4)) {
data/nss-pem-1.0.6/nss/nss/cmd/signtool/sign.c:377:5:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
    strcat(metadir, "/");
data/nss-pem-1.0.6/nss/nss/cmd/signtool/sign.c:421:5:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
    strcat(sfname, "/");
data/nss-pem-1.0.6/nss/nss/cmd/signtool/sign.c:508:56:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if ((PL_strcaserstr(filename, ".js") != filename + strlen(filename) - 3) &&
data/nss-pem-1.0.6/nss/nss/cmd/signtool/sign.c:509:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        (PL_strcaserstr(reldir, ".arc") == reldir + strlen(filename) - 4))
data/nss-pem-1.0.6/nss/nss/cmd/signtool/util.c:83:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            (entry->name + strlen(entry->name) - 4)) {
data/nss-pem-1.0.6/nss/nss/cmd/signtool/util.c:508:9:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
        strcat(newdir, "/");
data/nss-pem-1.0.6/nss/nss/cmd/signtool/util.c:533:13:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
            strcat(newdir, "/");
data/nss-pem-1.0.6/nss/nss/cmd/signtool/util.c:537:13:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
            strcat(newdir, "/");
data/nss-pem-1.0.6/nss/nss/cmd/signtool/util.c:546:17:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
                strcat(newpath, "/");
data/nss-pem-1.0.6/nss/nss/cmd/signtool/util.c:562:21:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
                    strcat(newprefix, "/");
data/nss-pem-1.0.6/nss/nss/cmd/signtool/util.c:848:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            end = start + strlen(start) - 1;
data/nss-pem-1.0.6/nss/nss/cmd/signtool/zip.c:64:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        zipfile->filename = PORT_ZAlloc(strlen(filename) + 1);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/zip.c:70:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        zipfile->comment = PORT_ZAlloc(strlen(comment) + 1);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/zip.c:224:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    inttox(strlen(filename), entry->local.filename_len);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/zip.c:231:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    inttox(strlen(filename), entry->central.filename_len);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/zip.c:233:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        inttox(strlen(entry->comment), entry->central.commentfield_len);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/zip.c:290:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (PR_Write(zipfp, filename, strlen(filename)) < strlen(filename)) {
data/nss-pem-1.0.6/nss/nss/cmd/signtool/zip.c:290:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (PR_Write(zipfp, filename, strlen(filename)) < strlen(filename)) {
data/nss-pem-1.0.6/nss/nss/cmd/signtool/zip.c:533:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (PR_Write(zipfp, pe->filename, strlen(pe->filename)) <
data/nss-pem-1.0.6/nss/nss/cmd/signtool/zip.c:534:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            strlen(pe->filename)) {
data/nss-pem-1.0.6/nss/nss/cmd/signtool/zip.c:552:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            if (PR_Write(zipfp, pe->comment, strlen(pe->comment)) <
data/nss-pem-1.0.6/nss/nss/cmd/signtool/zip.c:553:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                strlen(pe->comment)) {
data/nss-pem-1.0.6/nss/nss/cmd/signtool/zip.c:592:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        inttox(strlen(zipfile->comment), zipend.commentfield_len);
data/nss-pem-1.0.6/nss/nss/cmd/signtool/zip.c:614:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (PR_Write(zipfp, zipfile->comment, strlen(zipfile->comment)) <
data/nss-pem-1.0.6/nss/nss/cmd/signtool/zip.c:615:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            strlen(zipfile->comment)) {
data/nss-pem-1.0.6/nss/nss/cmd/smimetools/cmsutil.c:750:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        dummyIn.len = strlen(str);
data/nss-pem-1.0.6/nss/nss/cmd/smimetools/cmsutil.c:1005:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        int len = strlen(str);
data/nss-pem-1.0.6/nss/nss/cmd/ssltap/ssltap.c:2211:13:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
            strcpy(string, "");
data/nss-pem-1.0.6/nss/nss/cmd/strsclnt/strsclnt.c:669:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    rv = PR_Send(ssl_sock, request, strlen(request), 0, maxInterval);
data/nss-pem-1.0.6/nss/nss/cmd/symkeyutil/symkeyutil.c:252:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int len = strlen(inString);
data/nss-pem-1.0.6/nss/nss/cmd/tstclnt/tstclnt.c:1518:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                    strlen(encryptedSNIKeys))) {
data/nss-pem-1.0.6/nss/nss/cmd/vfyserv/vfyserv.c:199:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    numBytes = PR_Write(sslSocket, requestString, strlen(requestString));
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/nsinstall.c:80:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	program, (int)strlen(program), "");
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/nsinstall.c:209:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    lplen = strlen(linkprefix);
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/nsinstall.c:249:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    tdlen = strlen(todir);
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/nsinstall.c:259:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len    = strlen(name);
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/nsinstall.c:261:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	bnlen  = strlen(base);
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/nsinstall.c:310:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		    len = strlen(linkname);
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/nsinstall.c:364:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    while ((cc = read(fromfd, bp, sizeof buf)) > 0) {
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/pathsub.c:128:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    return strcpy((char*)xmalloc(strlen(s) + 1), s);
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/pathsub.c:172:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen(strcpy(outpath, to));
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/pathsub.c:185:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    len += strlen(outpath + len);
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/pathsub.c:207:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    len = strlen(name);
data/nss-pem-1.0.6/nss/nss/coreconf/nsinstall/sunos4.h:73:12:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
extern int fgetc(FILE *);
data/nss-pem-1.0.6/nss/nss/gtests/certdb_gtest/alg1485_unittest.cc:108:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  EXPECT_EQ(15U, strlen(result));
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/include/gtest/internal/gtest-port.h:2504:10:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  return strncpy(dest, src, n);
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/include/gtest/internal/gtest-port.h:2526:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return static_cast<int>(read(fd, buf, count));
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/include/gtest/internal/gtest-type-util.h:67:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (s.compare(0, strlen(prefix), prefix) == 0) {
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/include/gtest/internal/gtest-type-util.h:68:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    std::string::size_type end = s.find("::", strlen(prefix));
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/include/gtest/internal/gtest-type-util.h:71:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      s.erase(strlen("std"), end - strlen("std"));
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/include/gtest/internal/gtest-type-util.h:71:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      s.erase(strlen("std"), end - strlen("std"));
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/samples/sample2.cc:40:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const size_t len = strlen(a_c_string);
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/samples/sample2.h:75:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    return c_string_ == NULL ? 0 : strlen(c_string_);
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/src/gtest-port.cc:656:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const size_t full_regex_len = strlen(regex) + 10;
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/src/gtest-port.cc:910:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const size_t len = strlen(regex);
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/src/gtest-printers.cc:334:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    PrintCharsAsStringTo(s, strlen(s), os);
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/src/gtest-printers.cc:351:34:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    PrintCharsAsStringTo(s, std::wcslen(s), os);
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/src/gtest.cc:904:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const int length = strlen(ansi);
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/src/gtest.cc:1870:34:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    num_chars = static_cast<int>(wcslen(str));
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/src/gtest.cc:3662:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      segment = next_segment + strlen("]]>");
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/src/gtest.cc:4247:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  result.reserve(strlen(str) + 1);
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/src/gtest.cc:5566:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const size_t prefix_len = strlen(prefix);
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/src/gtest.cc:5977:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  else if (temp_dir[strlen(temp_dir) - 1] == '\\')
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/test/googletest-printers-test.cc:875:20:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  EXPECT_TRUE(std::equal(a, a + kSize, numbers.begin()));
data/nss-pem-1.0.6/nss/nss/gtests/google_test/gtest/xcode/Samples/FrameworkSample/widget.cc:60:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(buffer, name_.c_str(), max_size-1);
data/nss-pem-1.0.6/nss/nss/gtests/pk11_gtest/pk11_module_unittest.cc:66:20:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  EXPECT_TRUE(std::equal(kSlotsWithToken.begin(), kSlotsWithToken.end(),
data/nss-pem-1.0.6/nss/nss/gtests/pkcs11testmodule/pkcs11testmodule.cpp:574:3:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
  usleep(50000);  // usleep takes the duration argument as microseconds
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_0rtt_unittest.cc:469:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const PRInt32 k0RttDataLen = static_cast<PRInt32>(strlen(k0RttData));
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_0rtt_unittest.cc:515:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const size_t short_size = strlen(big_message) - 1;
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_0rtt_unittest.cc:533:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    static_cast<PRInt32>(strlen(big_message)));
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_0rtt_unittest.cc:536:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    static_cast<PRInt32>(strlen(big_message)));
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_0rtt_unittest.cc:556:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  EXPECT_EQ(short_length, read);
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_0rtt_unittest.cc:561:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  EXPECT_EQ(SECFailure, read);
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_0rtt_unittest.cc:592:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const PRInt32 message_len = static_cast<PRInt32>(strlen(message));
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_0rtt_unittest.cc:609:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  std::vector<uint8_t> buf(strlen(message) + 1);
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_0rtt_unittest.cc:688:54:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ASSERT_EQ(static_cast<PRInt32>(early_data.size()), read);
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_0rtt_unittest.cc:689:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  buf.resize(read);
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_0rtt_unittest.cc:698:53:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ASSERT_EQ(static_cast<PRInt32>(late_data.size()), read);
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_0rtt_unittest.cc:699:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  buf.resize(read);
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_0rtt_unittest.cc:764:49:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  EXPECT_EQ(static_cast<PRInt32>(sizeof(data)), read);
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_0rtt_unittest.cc:812:56:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  EXPECT_EQ(static_cast<PRInt32>(small_buffer.size()), read);
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_0rtt_unittest.cc:824:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  EXPECT_GT(0, read);
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_0rtt_unittest.cc:850:49:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  EXPECT_EQ(static_cast<PRInt32>(sizeof(data)), read);
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_0rtt_unittest.cc:880:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  EXPECT_EQ(1, read);
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_0rtt_unittest.cc:885:53:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  EXPECT_EQ(static_cast<PRInt32>(sizeof(data) - 1), read);
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_0rtt_unittest.cc:912:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  EXPECT_GT(0, read);
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_0rtt_unittest.cc:917:49:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  EXPECT_EQ(static_cast<PRInt32>(sizeof(data)), read);
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_aead_unittest.cc:136:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                         secret_.get(), kLabel, strlen(kLabel), &ctx));
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_aead_unittest.cc:144:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                         secret_.get(), kLabel, strlen(kLabel), &ctx));
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_aead_unittest.cc:153:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                   secret_.get(), kLabel, strlen(kLabel), &ctx));
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_aead_unittest.cc:178:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                         secret_.get(), kLabel, strlen(kLabel), nullptr));
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_aead_unittest.cc:187:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                         secret_.get(), kLabel, strlen(kLabel), &ctxInit));
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_aead_unittest.cc:198:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                         secret_.get(), kLabel, strlen(kLabel), &ctxInit));
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_aead_unittest.cc:210:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                   secret_.get(), kLabel, strlen(kLabel), &ctxInit));
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_agent_unittest.cc:185:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  PRInt32 rv = PR_Write(agent_->ssl_fd(), k0RttData, strlen(k0RttData));
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_agent_unittest.cc:200:60:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
             reinterpret_cast<const uint8_t *>(k0RttData), strlen(k0RttData),
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_agent_unittest.cc:221:60:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
             reinterpret_cast<const uint8_t *>(k0RttData), strlen(k0RttData),
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_ciphersuite_unittest.cc:506:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  EXPECT_LT(0U, strlen(issuer));
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_ciphersuite_unittest.cc:507:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  EXPECT_LT(0U, strlen(subject));
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_drop_unittest.cc:717:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const PRInt32 k0RttDataLen = static_cast<PRInt32>(strlen(k0RttData));
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_drop_unittest.cc:757:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const PRInt32 k0RttDataLen = static_cast<PRInt32>(strlen(k0RttData));
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_exporter_unittest.cc:23:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                client->ssl_fd(), kExporterLabel, strlen(kExporterLabel),
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_exporter_unittest.cc:29:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                server->ssl_fd(), kExporterLabel, strlen(kExporterLabel),
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_exporter_unittest.cc:92:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                     strlen(kExporterLabel), PR_TRUE,
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_exporter_unittest.cc:100:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                     strlen(kExporterLabel), PR_TRUE,
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_exporter_unittest.cc:113:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                            strlen(kExporterLabel), PR_TRUE, kExporterContext,
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_exporter_unittest.cc:131:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                client_->ssl_fd(), kExporterLabel, strlen(kExporterLabel),
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_exporter_unittest.cc:140:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                server_->ssl_fd(), kExporterLabel, strlen(kExporterLabel),
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_exporter_unittest.cc:168:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                client_->ssl_fd(), kExporterLabel, strlen(kExporterLabel),
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_exporter_unittest.cc:177:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                server_->ssl_fd(), kExporterLabel, strlen(kExporterLabel),
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_fuzz_unittest.cc:68:59:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      SSL_ExportKeyingMaterial(client_->ssl_fd(), kLabel, strlen(kLabel), false,
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_fuzz_unittest.cc:81:60:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  rv = SSL_ExportKeyingMaterial(client_->ssl_fd(), kLabel, strlen(kLabel),
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_hrr_unittest.cc:25:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const PRInt32 k0RttDataLen = static_cast<PRInt32>(strlen(k0RttData));
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_hrr_unittest.cc:144:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const PRInt32 k0RttDataLen = static_cast<PRInt32>(strlen(k0RttData));
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_recordsep_unittest.cc:421:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const PRInt32 kMsgLen = static_cast<PRInt32>(strlen(kMsg));
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/ssl_recordsep_unittest.cc:657:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const PRInt32 kMsgLen = static_cast<PRInt32>(strlen(kMsg));
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/tls_connect.cc:750:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const PRInt32 k0RttDataLen = static_cast<PRInt32>(strlen(k0RttData));
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/tls_esni_unittest.cc:122:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                      strlen(kDummySni));
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/tls_hkdf_unittest.cc:314:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                  kLabelMasterSecret, strlen(kLabelMasterSecret),
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/tls_hkdf_unittest.cc:334:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                  strlen(kLabelMasterSecret), expected_data);
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/tls_hkdf_unittest.cc:375:58:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                          k1_.get(), nullptr, 0, kLabel, strlen(kLabel), &key));
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/tls_hkdf_unittest.cc:382:58:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                          k1_.get(), nullptr, 0, kLabel, strlen(kLabel), &key));
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/tls_hkdf_unittest.cc:389:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                nullptr, 0, kLabel, strlen(kLabel), &key));
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/tls_hkdf_unittest.cc:395:58:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                            nullptr, nullptr, 0, kLabel, strlen(kLabel), &key));
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/tls_hkdf_unittest.cc:402:58:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                          k1_.get(), nullptr, 2, kLabel, strlen(kLabel), &key));
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/tls_hkdf_unittest.cc:409:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                nullptr, strlen(kLabel), &key));
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/tls_hkdf_unittest.cc:422:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                kLabel, strlen(kLabel), nullptr));
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/tls_protect.cc:44:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      kHkdfPurposeSn, strlen(kHkdfPurposeSn), &mask_ctx);
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/tls_psk_unittest.cc:432:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const size_t short_size = strlen(big_message) - 1;
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/tls_psk_unittest.cc:462:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    static_cast<PRInt32>(strlen(big_message)));
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/tls_psk_unittest.cc:465:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    static_cast<PRInt32>(strlen(big_message)));
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/tls_psk_unittest.cc:485:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  EXPECT_EQ(short_length, read);
data/nss-pem-1.0.6/nss/nss/gtests/ssl_gtest/tls_psk_unittest.cc:490:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  EXPECT_EQ(SECFailure, read);
data/nss-pem-1.0.6/nss/nss/gtests/util_gtest/util_b64_unittest.cc:33:57:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          NSSBase64_DecodeBuffer(nullptr, nullptr, out, strlen(out)));
data/nss-pem-1.0.6/nss/nss/gtests/util_gtest/util_utf8_unittest.cc:78:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      PR_TRUE, (unsigned char *)testCase.utf8, strlen(testCase.utf8),
data/nss-pem-1.0.6/nss/nss/gtests/util_gtest/util_utf8_unittest.cc:91:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  unsigned int len = strlen(testCase.utf8) - 1;
data/nss-pem-1.0.6/nss/nss/gtests/util_gtest/util_utf8_unittest.cc:99:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT_EQ(strlen(testCase.utf8), len);
data/nss-pem-1.0.6/nss/nss/gtests/util_gtest/util_utf8_unittest.cc:126:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      PR_TRUE, (unsigned char *)testCase.utf8, strlen(testCase.utf8),
data/nss-pem-1.0.6/nss/nss/gtests/util_gtest/util_utf8_unittest.cc:139:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  unsigned int len = strlen(testCase.utf8) - 1;
data/nss-pem-1.0.6/nss/nss/gtests/util_gtest/util_utf8_unittest.cc:147:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT_EQ(strlen(testCase.utf8), len);
data/nss-pem-1.0.6/nss/nss/gtests/util_gtest/util_utf8_unittest.cc:230:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      PR_TRUE, (unsigned char *)utf8, strlen(utf8), destBuf, sizeof(destBuf),
data/nss-pem-1.0.6/nss/nss/gtests/util_gtest/util_utf8_unittest.cc:242:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      PR_TRUE, (unsigned char *)utf8, strlen(utf8), destBuf, sizeof(destBuf),
data/nss-pem-1.0.6/nss/nss/lib/certdb/alg1485.c:406:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        rv = SEC_StringToOID(arena, &derOid, tagBuf, strlen(tagBuf));
data/nss-pem-1.0.6/nss/nss/lib/certdb/alg1485.c:983:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    nameLen = strlen(tagName);
data/nss-pem-1.0.6/nss/nss/lib/certdb/certdb.c:1342:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (!hn || !(newNameLen = strlen(hn))) {
data/nss-pem-1.0.6/nss/nss/lib/certdb/certdb.c:1785:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (!hn || !strlen(hn)) {
data/nss-pem-1.0.6/nss/nss/lib/certdb/genname.c:1143:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                cnItem.len = strlen(cn);
data/nss-pem-1.0.6/nss/nss/lib/certdb/xconst.c:136:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        encodeContext.len = strlen(value);
data/nss-pem-1.0.6/nss/nss/lib/certhigh/ocsp.c:3143:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    const PRInt32 CRLFlen = strlen(CRLF);
data/nss-pem-1.0.6/nss/nss/lib/certhigh/ocsp.c:3145:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    const PRInt32 markLen = strlen(headerEndMark);
data/nss-pem-1.0.6/nss/nss/lib/certhigh/ocsp.c:3151:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    const PRInt32 httplen = strlen(httpprotocol);
data/nss-pem-1.0.6/nss/nss/lib/certhigh/ocsp.c:3673:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    pathLength = strlen(location);
data/nss-pem-1.0.6/nss/nss/lib/certhigh/ocsp.c:3708:9:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
        strcpy(walkOutput, "/");
data/nss-pem-1.0.6/nss/nss/lib/ckfw/capi/cobject.c:332:12:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size = wcslen(wide) + 1;
data/nss-pem-1.0.6/nss/nss/lib/ckfw/capi/cobject.c:377:11:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = wcslen(wide) + 1;
data/nss-pem-1.0.6/nss/nss/lib/ckfw/capi/cobject.c:715:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            size = strlen(co->labelData);
data/nss-pem-1.0.6/nss/nss/lib/ckfw/capi/cobject.c:828:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    DWORD provLen = strlen(ko->provName);
data/nss-pem-1.0.6/nss/nss/lib/ckfw/capi/cobject.c:829:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    DWORD containerLen = strlen(ko->containerName);
data/nss-pem-1.0.6/nss/nss/lib/dbm/src/dirent.c:158:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(name, path, MAXPATHLEN);
data/nss-pem-1.0.6/nss/nss/lib/dbm/src/dirent.c:160:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    switch (name[strlen(name) - 1]) {
data/nss-pem-1.0.6/nss/nss/lib/dbm/src/dirent.c:162:13:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
            strcat(name, "\\");
data/nss-pem-1.0.6/nss/nss/lib/dbm/src/dirent.c:167:5:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
    strcat(name, ".");
data/nss-pem-1.0.6/nss/nss/lib/dbm/src/dirent.c:170:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (dir->name[strlen(dir->name) - 1] == '\\')
data/nss-pem-1.0.6/nss/nss/lib/dbm/src/dirent.c:171:9:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
        strcat(dir->name, "*");
data/nss-pem-1.0.6/nss/nss/lib/dbm/src/dirent.c:282:9:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
        strcat(name, "*");
data/nss-pem-1.0.6/nss/nss/lib/dbm/src/dirent.c:332:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            if (strchr("\\/:", argv[i][strlen(argv[i]) - 1]))
data/nss-pem-1.0.6/nss/nss/lib/dbm/src/h_page.c:714:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ((rsize = read(fd, p, size)) == -1))
data/nss-pem-1.0.6/nss/nss/lib/dbm/src/h_page.c:1170:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = strlen(tmpdir);
data/nss-pem-1.0.6/nss/nss/lib/dbm/src/h_page.c:1174:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = strlen(filename);
data/nss-pem-1.0.6/nss/nss/lib/dbm/src/hash.c:204:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        hdrsize = read(hashp->fp, (char *)&hashp->hdr, sizeof(HASHHDR));
data/nss-pem-1.0.6/nss/nss/lib/dbm/src/snprintf.c:26:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    return (strlen(rp));
data/nss-pem-1.0.6/nss/nss/lib/dbm/src/snprintf.c:41:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    return (strlen(vsprintf(str, fmt, ap)));
data/nss-pem-1.0.6/nss/nss/lib/dbm/tests/lots.c:143:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    rv.size = strlen(data_string);
data/nss-pem-1.0.6/nss/nss/lib/freebl/genload.c:36:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    resolved = PR_Malloc(strlen(tmp) + 1);
data/nss-pem-1.0.6/nss/nss/lib/freebl/genload.c:49:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = PR_MAX(1024, strlen(link) + 1);
data/nss-pem-1.0.6/nss/nss/lib/freebl/genload.c:95:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        fullName = (char*)PORT_Alloc(strlen(name) + referencePathSize + 1);
data/nss-pem-1.0.6/nss/nss/lib/freebl/stubs.c:406:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return read(*lfd, buf, amount);
data/nss-pem-1.0.6/nss/nss/lib/freebl/stubs.c:468:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    result = PORT_Alloc_stub(strlen(dli.dli_fname) + 1);
data/nss-pem-1.0.6/nss/nss/lib/freebl/stubs.c:506:5:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
    usleep(ticks * 1000);
data/nss-pem-1.0.6/nss/nss/lib/freebl/unix_rand.c:729:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            RNG_RandomUpdate(*cp, strlen(*cp));
data/nss-pem-1.0.6/nss/nss/lib/freebl/unix_rand.c:737:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        RNG_RandomUpdate(buf, strlen(buf));
data/nss-pem-1.0.6/nss/nss/lib/freebl/unix_rand.c:814:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            bytes = read(fd, buffer, bytes);
data/nss-pem-1.0.6/nss/nss/lib/freebl/unix_rand.c:886:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        bytes = read(fd, buffer, bytes);
data/nss-pem-1.0.6/nss/nss/lib/freebl/unix_urandom.c:70:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        bytes = read(fd, buffer, maxLen - fileBytes);
data/nss-pem-1.0.6/nss/nss/lib/freebl/win_rand.c:123:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    RNG_RandomUpdate(volName, strlen(volName));
data/nss-pem-1.0.6/nss/nss/lib/freebl/win_rand.c:127:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    RNG_RandomUpdate(buffer, strlen(buffer));
data/nss-pem-1.0.6/nss/nss/lib/libpkix/include/pkix_errorstrings.h:43:108:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
PKIX_ERRORENTRY(BASICCONSTRAINTSVALIDATIONFAILEDLN,PKIX_BasicConstraints validation failed: maximum length mismatch,SEC_ERROR_PATH_LEN_CONSTRAINT_INVALID),
data/nss-pem-1.0.6/nss/nss/lib/libpkix/include/pkix_errorstrings.h:355:78:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
PKIX_ERRORENTRY(COULDNOTTESTWHETHERKEYSEQUAL,Could not test whether keys are equal,0),
data/nss-pem-1.0.6/nss/nss/lib/libpkix/include/pkix_errorstrings.h:675:59:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
PKIX_ERRORENTRY(LOCKHASNONZEROREADCOUNT,Lock has non-zero read count,0),
data/nss-pem-1.0.6/nss/nss/lib/libpkix/include/pkix_errorstrings.h:692:62:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
PKIX_ERRORENTRY(NAMECOMPONENTWITHNOEQ,Name Component with no equal sign,SEC_ERROR_BAD_INFO_ACCESS_LOCATION),
data/nss-pem-1.0.6/nss/nss/lib/libpkix/include/pkix_errorstrings.h:1002:74:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
PKIX_ERRORENTRY(TESTNOTANERRORCRLSELECTMISMATCH, Not an error CRL Select mismatch,0),
data/nss-pem-1.0.6/nss/nss/lib/libpkix/include/pkix_errorstrings.h:1031:55:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
PKIX_ERRORENTRY(UNABLETOREADDERFROMCERTFILE,Unable to read DER from cert file,0),
data/nss-pem-1.0.6/nss/nss/lib/libpkix/include/pkix_errorstrings.h:1032:54:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
PKIX_ERRORENTRY(UNABLETOREADDERFROMCRLFILE,Unable to read DER from crl file,0),
data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/util/pkix_tools.c:68:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        PRUint32 len = strlen(str);
data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix/util/pkix_tools.c:1512:9:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
        strcat(errorFnStackString, "/");
data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_ocspresponse.c:467:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				pathLength = strlen(path);
data/nss-pem-1.0.6/nss/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_ocspresponse.c:486:6:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
					strcpy(walkOutput, "/");
data/nss-pem-1.0.6/nss/nss/lib/mozpkix/include/pkix-test/pkixtestutil.h:153:64:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      ByteString(reinterpret_cast<const uint8_t*>(value), std::strlen(value)),
data/nss-pem-1.0.6/nss/nss/lib/mozpkix/include/pkix-test/pkixtestutil.h:162:64:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      ByteString(reinterpret_cast<const uint8_t*>(value), std::strlen(value)),
data/nss-pem-1.0.6/nss/nss/lib/mozpkix/include/pkix-test/pkixtestutil.h:170:64:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      ByteString(reinterpret_cast<const uint8_t*>(value), std::strlen(value)));
data/nss-pem-1.0.6/nss/nss/lib/mozpkix/include/pkix/Input.h:122:15:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
         std::equal(a.UnsafeGetData(), a.UnsafeGetData() + a.GetLength(),
data/nss-pem-1.0.6/nss/nss/lib/mozpkix/include/pkix/Input.h:183:15:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    if (!std::equal(input, end, toMatch)) {
data/nss-pem-1.0.6/nss/nss/lib/mozpkix/include/pkix/Input.h:198:15:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    if (!std::equal(input, end, toMatch.UnsafeGetData())) {
data/nss-pem-1.0.6/nss/nss/lib/mozpkix/lib/pkixcheck.cpp:537:15:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
         std::equal(bytes, bytes + numBytes, ::mozilla::pkix::anyPolicy);
data/nss-pem-1.0.6/nss/nss/lib/mozpkix/lib/pkixcheck.cpp:544:15:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
         std::equal(bytes, bytes + numBytes, other.bytes);
data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11cert.c:635:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (id && (strlen(id) != certs[i]->id.size ||
data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11cert.c:737:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        attributes[nattributes].ulValueLen = strlen(label);
data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11cert.c:841:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (!PORT_Strncasecmp(nickname, "pkcs11:", strlen("pkcs11:"))) {
data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11merge.c:712:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int len = strlen(nickname);
data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11nobj.c:572:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    PK11_SETATTRS(attrs, CKA_NSS_EMAIL, emailAddr, strlen(emailAddr));
data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11pars.c:943:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    diff = esc_len - strlen(value);
data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11pars.c:1525:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = strlen(escSpec);
data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11pars.c:1566:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(rawParam) + sizeof(TOKEN_STRING) + 1;
data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11pars.c:1594:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    tmpLen = strlen(oldParam);
data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11slot.c:700:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (!PORT_Strncasecmp(name, "pkcs11:", strlen("pkcs11:"))) {
data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11slot.c:1119:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(string) == i && memcmp(string, staticString, i) == 0) {
data/nss-pem-1.0.6/nss/nss/lib/pk11wrap/pk11util.c:1379:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                  strlen(sendSpec) + 1);
data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/pcertdb.c:825:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    nnlen = (nickname ? strlen(nickname) + 1 : 0);
data/nss-pem-1.0.6/nss/nss/lib/softoken/legacydb/pk11db.c:503:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        int len = strlen(secname);
data/nss-pem-1.0.6/nss/nss/lib/softoken/lgglue.c:44:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(orig) + 1 > len) {
data/nss-pem-1.0.6/nss/nss/lib/softoken/lgglue.c:104:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    nameLen = strlen(libname);
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11c.c:7294:66:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    SHA1_Update(sha, (unsigned char *)mixers[i], strlen(mixers[i]));
data/nss-pem-1.0.6/nss/nss/lib/softoken/pkcs11c.c:7585:66:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    SHA1_Update(sha, (unsigned char *)mixers[i], strlen(mixers[i]));
data/nss-pem-1.0.6/nss/nss/lib/softoken/sdb.c:248:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = strlen(path);
data/nss-pem-1.0.6/nss/nss/lib/softoken/sdb.c:426:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    directoryLength = strlen(directory);
data/nss-pem-1.0.6/nss/nss/lib/softoken/sdb.c:430:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                 + strlen(doesntExistName) /* filename base */
data/nss-pem-1.0.6/nss/nss/lib/softoken/sdb.c:455:5:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
    strcat(temp, "/");
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:18684:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#define sqlite3Strlen30NN(C) (strlen(C)&0x3fffffff)
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:27189:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  n = strlen(z) + 1;
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:28057:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            pAccum->nChar = 0x7fffffff & (int)strlen(bufpt);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:28077:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          length = 0x7fffffff & (int)strlen(bufpt);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:30360:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  return 0x3fffffff & (int)strlen(z);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:30372:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  return pCol->zName + strlen(pCol->zName) + 1;
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:32981:42:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  { "read",         (sqlite3_syscall_ptr)read,       0  },
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:33528:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  n = (int)strlen(zAbsoluteName);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:34132:5:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
    usleep(1000);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:36238:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  for(ii=(int)strlen(zDirname); ii>0 && zDirname[ii]!='/'; ii--);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:37106:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    nShmFilename = 6 + (int)strlen(zBasePath);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:38172:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    nFilename = (int)strlen(zFilename) + 6;
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:38574:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    assert( (flags & SQLITE_OPEN_URI) || zName[strlen(zName)+1]==0 );
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:38587:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    assert( zName[strlen(zName)+1]==0 );
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:39056:3:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
  usleep(microseconds);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:39352:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  dbLen = (int)strlen(dbPath);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:39373:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = (int)strlen(lockPath);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:39629:9:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
        usleep(500000); /* wait 0.5 sec and try the lock again*/
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:39655:9:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
        usleep(10000000); /* wait 10 sec and try the lock again */
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:39804:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        writeSize = PROXY_PATHINDEX + strlen(&writeBuffer[PROXY_PATHINDEX]);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:39935:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int len = (int)strlen(dbPath); /* Length of database filename - dbPath */
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:39961:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  assert( (int)strlen(conchPath) == len+7 );
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:40011:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    assert( (int)strlen((char*)pFile->lockingContext)<=MAXPATHLEN );
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:40019:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int len = strlen((char *)pFile->lockingContext) - strlen(DOTLOCK_SUFFIX);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:40019:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int len = strlen((char *)pFile->lockingContext) - strlen(DOTLOCK_SUFFIX);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:40023:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    assert( strlen((char*)pFile->lockingContext)<=MAXPATHLEN );
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:75588:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      nByte = 0x7fffffff & (int)strlen(z);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:123958:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  assert( strlen(zBuf) < sizeof(zBuf)-1 );
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:137411:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  assert( zAff==0 || (int)strlen(zAff)>=nEq );
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:161696:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  nRet = 2 + (int)strlen(zInput)*2 + 1;
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:161967:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      nStr += strlen(zCol) + 1;
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:161978:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        int n = (int)strlen(zCol)+1;
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:162044:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  assert( strlen(argv[0])==4 );
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:162049:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  nDb = (int)strlen(argv[1]) + 1;
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:162050:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  nName = (int)strlen(argv[2]) + 1;
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:162084:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
     && strlen(z)>8
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:162119:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            if( strlen(zVal)!=4 || sqlite3_strnicmp(zVal, "fts3", 4) ){
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:162145:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            if( (strlen(zVal)!=3 || sqlite3_strnicmp(zVal, "asc", 3)) 
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:162146:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
             && (strlen(zVal)!=4 || sqlite3_strnicmp(zVal, "desc", 4)) 
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:162184:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      nString += (int)(strlen(z) + 1);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:162309:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = (int)strlen(p->azColumn[iCol]);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:162312:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if( zNot && n==(int)strlen(zNot)
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:166970:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  nDb = (int)strlen(zDb);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:166974:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      nDb = (int)strlen(zDb);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:166982:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  nFts3 = (int)strlen(zFts3);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:167307:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      pCsr->filter.nTerm = (int)strlen(pCsr->filter.zTerm);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:167314:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    pCsr->nStop = (int)strlen(pCsr->zStop);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:167966:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int nStr = (int)strlen(zStr);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:168426:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    n = (int)strlen(z);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:168835:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if( nKey<=0 ) nKey = (int) strlen(z);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:169226:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    c->nInput = (int)strlen(zInput);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:169688:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  *pnOut = i = (int)strlen(z);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:169966:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  zEnd = &zCopy[strlen(zCopy)];
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:169976:68:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  m = (sqlite3_tokenizer_module *)sqlite3Fts3HashFind(pHash,z,(int)strlen(z)+1);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:170384:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int i, n = (int)strlen(argv[1]);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:170436:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    c->nBytes = (int)strlen(pInput);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:170628:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int nName = (int)strlen(zName);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:170666:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      nByte += (int)(strlen(argv[i]) + 1);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:170675:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        int n = (int)strlen(argv[i]);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:176865:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  sqlite3_int64 nStr = strlen(zMatchinfo);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:177335:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    nAppend = (int)strlen(zAppend);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:178693:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = (int)strlen(z);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:178748:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    pCsr->nInput = (int)strlen(aInput);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:179514:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  p->nUsed += (int)strlen(p->zBuf+p->nUsed);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:181446:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          jsonAppendRaw(&x, p->zRoot, (int)strlen(p->zRoot));
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:183610:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                || (idxStr && (int)strlen(idxStr)==argc*2) );
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:185453:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  nDb = (int)strlen(argv[1]);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:185454:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  nName = (int)strlen(argv[2]);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:187319:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  nDb = strlen(argv[1]);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:187320:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  nName = strlen(argv[2]);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:188690:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    n = strlen(argv[0])+1;
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:188746:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    nInput = strlen(zInput);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:190441:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if( strlen(zIn)>4 && memcmp("data", zIn, 4)==0 ){
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:190597:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t nCopy = strlen(zStr) + 1;
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:191373:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if( (int)strlen(zMask)!=pIter->nTblCol ){
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:192295:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if( strlen(p->zRbu)>=5 && 0==memcmp("file:", p->zRbu, 5) ){
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:192380:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    sz = (int)strlen(z)&0xffffff;
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:193388:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t nTarget = zTarget ? strlen(zTarget) : 0;
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:193389:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t nRbu = strlen(zRbu);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:193570:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(zState);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:193599:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t nErrmsg = strlen(p->zErrmsg);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:194384:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int n = (int)strlen(zName);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:194468:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          nCopy = strlen(zBase);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:194713:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  nName = strlen(zName);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:198269:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  sessionAppendBlob(pBuf, (u8 *)pTab->zName, (int)strlen(pTab->zName)+1, pRc);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:199813:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      sessionAppendBlob(&p->rebase, (u8*)zTab, (int)strlen(zTab)+1, &rc);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:200293:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        nTab = (int)strlen(zTab);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:200745:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int nNew = (int)strlen(zNew);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:201193:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      sessionAppendBlob(&sOut,(u8*)pIter->zTab,(int)strlen(pIter->zTab)+1,&rc);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:204424:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if( n<0 ) n = (int)strlen(z);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:205088:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int nStr = (int)strlen(zStr);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:205282:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      nIn = (int)strlen(pIn);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:205615:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int nEnum = (int)strlen(zEnum);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:205647:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int nCmd = (int)strlen(zCmd);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:205703:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    sqlite3_int64 nArg = strlen(zArg) + 1;
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:205833:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  sqlite3_int64 nIn = strlen(zIn);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:207169:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              pExpr->pIndex, p->zTerm, (int)strlen(p->zTerm),
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:208019:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    n = (int)strlen(z);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:208106:66:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        rc = fts5ParseTokenize((void*)&sCtx, tflags, zTerm, (int)strlen(zTerm),
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:208599:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    nByte += (int)strlen(pTerm->zTerm) * 2 + 3 + 2;
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:209080:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int nTerm = (int)strlen(pTerm->zTerm);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:209399:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                          (int)strlen(fts5EntryKey(p)));
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:209721:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    assert( p->nKey+1==(int)strlen(zKey) );
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:209771:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int nTerm = (int)strlen(zKey);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:211726:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      sqlite3Fts5BufferSet(&p->rc,&pIter->term, (int)strlen(zTerm), (u8*)zTerm);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:211806:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      sqlite3Fts5BufferSet(&p->rc, &pIter->term, (int)strlen(zTerm),
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:212255:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    n = (z ? (int)strlen((const char*)z) : 0);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:214323:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      fts5WriteAppendTerm(p, &writer, (int)strlen(zTerm), (const u8*)zTerm);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:218838:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    nName = strlen(zName) + 1;
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:218876:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  nName = strlen(zName) + 1;
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:219453:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        iOff = (int)strlen(zDefn);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:219456:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          iOff += (int)strlen(&zDefn[iOff]);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:220543:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int n = (int)strlen(z);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:220920:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    assert( strlen(p->zSuffix)==p->nSuffix );
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:220921:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    assert( strlen(p->zOutput)==p->nOutput );
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:222883:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  bDb = (argc==6 && strlen(argv[1])==4 && memcmp("temp", argv[1], 4)==0);
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:222893:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int nDb = (int)strlen(zDb)+1; 
data/nss-pem-1.0.6/nss/nss/lib/sqlite/sqlite3.c:222894:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int nTab = (int)strlen(zTab)+1;
data/nss-pem-1.0.6/nss/nss/lib/ssl/ssl3con.c:11531:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = strlen(label) + 1 +          /* label + space */
data/nss-pem-1.0.6/nss/nss/lib/ssl/ssl3con.c:11545:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    offset = strlen(label);
data/nss-pem-1.0.6/nss/nss/lib/ssl/ssldef.c:135:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    rv = lower->methods->read(lower, (void *)buf, len);
data/nss-pem-1.0.6/nss/nss/lib/ssl/sslimpl.h:210:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int (*read)(sslSocket *, unsigned char *, int);
data/nss-pem-1.0.6/nss/nss/lib/ssl/sslinfo.c:461:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                  strlen(kExporterInnerLabel),
data/nss-pem-1.0.6/nss/nss/lib/ssl/sslmutex.c:225:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            cc = read(pMutex->u.pipeStr.mPipes[0], &c, 1);
data/nss-pem-1.0.6/nss/nss/lib/ssl/sslmutex.c:290:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        cc = read(pMutex->u.pipeStr.mPipes[0], &c, 1);
data/nss-pem-1.0.6/nss/nss/lib/ssl/sslnonce.c:860:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    PRUint64 len = sid->peerID ? strlen(sid->peerID) : 0;
data/nss-pem-1.0.6/nss/nss/lib/ssl/sslnonce.c:872:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = sid->urlSvrName ? strlen(sid->urlSvrName) : 0;
data/nss-pem-1.0.6/nss/nss/lib/ssl/sslprimitive.c:46:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    PORT_Assert(strlen(keySuffix) >= strlen(ivSuffix));
data/nss-pem-1.0.6/nss/nss/lib/ssl/sslprimitive.c:46:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    PORT_Assert(strlen(keySuffix) >= strlen(ivSuffix));
data/nss-pem-1.0.6/nss/nss/lib/ssl/sslprimitive.c:49:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        labelPrefixLen + strlen(keySuffix) > sizeof(label)) {
data/nss-pem-1.0.6/nss/nss/lib/ssl/sslprimitive.c:71:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    memcpy(label + labelPrefixLen, ivSuffix, strlen(ivSuffix));
data/nss-pem-1.0.6/nss/nss/lib/ssl/sslprimitive.c:72:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    unsigned int labelLen = labelPrefixLen + strlen(ivSuffix);
data/nss-pem-1.0.6/nss/nss/lib/ssl/sslprimitive.c:82:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    memcpy(label + labelPrefixLen, keySuffix, strlen(keySuffix));
data/nss-pem-1.0.6/nss/nss/lib/ssl/sslprimitive.c:83:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    labelLen = labelPrefixLen + strlen(keySuffix);
data/nss-pem-1.0.6/nss/nss/lib/ssl/sslsnce.c:1271:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if ((prStatus != PR_SUCCESS) || !(fmStrLen = strlen(fmString))) {
data/nss-pem-1.0.6/nss/nss/lib/ssl/sslsnce.c:1280:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (!inhValue || !strlen(inhValue)) {
data/nss-pem-1.0.6/nss/nss/lib/ssl/sslsnce.c:1285:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (!envValue || !strlen(envValue)) {
data/nss-pem-1.0.6/nss/nss/lib/ssl/sslsnce.c:1403:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(fmString) != inherit.fmStrLen) {
data/nss-pem-1.0.6/nss/nss/lib/ssl/sslsock.c:3176:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    rv = (*ss->ops->read)(ss, (unsigned char *)buf, len);
data/nss-pem-1.0.6/nss/nss/lib/ssl/sslsock.c:3725:37:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    new_methods->read = my_methods->read;
data/nss-pem-1.0.6/nss/nss/lib/ssl/tls13con.c:662:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                               strlen(kHkdfLabelTrafficUpdate),
data/nss-pem-1.0.6/nss/nss/lib/ssl/tls13con.c:1145:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                    label, strlen(label),
data/nss-pem-1.0.6/nss/nss/lib/ssl/tls13con.c:1214:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                    strlen(kHkdfLabelDerivedSecret),
data/nss-pem-1.0.6/nss/nss/lib/ssl/tls13con.c:1273:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                    strlen(kHkdfLabelDerivedSecret),
data/nss-pem-1.0.6/nss/nss/lib/ssl/tls13con.c:3406:58:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    PRINT_BUF(50, (ss, "Context string", context_string, strlen(context_string)));
data/nss-pem-1.0.6/nss/nss/lib/ssl/tls13con.c:3410:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                        strlen(context_string) + 1); /* +1 includes the terminating 0 */
data/nss-pem-1.0.6/nss/nss/lib/ssl/tls13con.c:3490:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if ((strlen(prefix) + strlen(suffix) + 2) > sizeof(buf)) {
data/nss-pem-1.0.6/nss/nss/lib/ssl/tls13con.c:3490:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if ((strlen(prefix) + strlen(suffix) + 2) > sizeof(buf)) {
data/nss-pem-1.0.6/nss/nss/lib/ssl/tls13con.c:3511:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    rv = tls13_DeriveSecret(ss, key, label, strlen(label),
data/nss-pem-1.0.6/nss/nss/lib/ssl/tls13con.c:3596:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                               kHkdfPurposeKey, strlen(kHkdfPurposeKey),
data/nss-pem-1.0.6/nss/nss/lib/ssl/tls13con.c:3609:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                           strlen(kHkdfPurposeSn), &spec->maskContext);
data/nss-pem-1.0.6/nss/nss/lib/ssl/tls13con.c:3619:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                  kHkdfPurposeIv, strlen(kHkdfPurposeIv),
data/nss-pem-1.0.6/nss/nss/lib/ssl/tls13con.c:4575:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                               NULL, 0, label, strlen(label),
data/nss-pem-1.0.6/nss/nss/lib/ssl/tls13con.c:5124:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                               strlen(kHkdfLabelResumption),
data/nss-pem-1.0.6/nss/nss/lib/ssl/tls13con.c:5367:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                   strlen(kHkdfLabelResumption),
data/nss-pem-1.0.6/nss/nss/lib/ssl/tls13esni.c:551:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                               kHkdfPurposeEsniKey, strlen(kHkdfPurposeEsniKey),
data/nss-pem-1.0.6/nss/nss/lib/ssl/tls13esni.c:560:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                  kHkdfPurposeEsniIv, strlen(kHkdfPurposeEsniIv),
data/nss-pem-1.0.6/nss/nss/lib/ssl/tls13hkdf.c:189:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        (variant == ssl_variant_stream) ? strlen(kLabelPrefixTls) : strlen(kLabelPrefixDtls);
data/nss-pem-1.0.6/nss/nss/lib/ssl/tls13hkdf.c:189:69:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        (variant == ssl_variant_stream) ? strlen(kLabelPrefixTls) : strlen(kLabelPrefixDtls);
data/nss-pem-1.0.6/nss/nss/lib/ssl/tls13replay.c:265:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                  label, strlen(label),
data/nss-pem-1.0.6/nss/nss/lib/ssl/tls13subcerts.c:323:56:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    rv |= PK11_DigestOp(ctx, kCtxStr, 1 /* 0-byte */ + strlen((const char *)kCtxStr));
data/nss-pem-1.0.6/nss/nss/lib/sysinit/nsssysinit.c:83:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    nssdir = PORT_Alloc(strlen(userdir) + sizeof(NSS_USER_PATH1) + sizeof(NSS_USER_PATH2));
data/nss-pem-1.0.6/nss/nss/lib/sysinit/nsssysinit.c:96:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        size = strlen(xdguserdatadir);
data/nss-pem-1.0.6/nss/nss/lib/sysinit/nsssysinit.c:98:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        size = strlen(userdir) + sizeof(XDG_NSS_USER_PATH1) + sizeof(XDG_NSS_USER_PATH2);
data/nss-pem-1.0.6/nss/nss/lib/util/nssrwlk.c:94:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        rwlock->rw_name = (char *)PR_Malloc((PRUint32)strlen(lock_name) + 1);
data/nss-pem-1.0.6/nss/nss/lib/util/pkcs11uri.c:406:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                   strlen(attr->name));
data/nss-pem-1.0.6/nss/nss/lib/util/pkcs11uri.c:417:62:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        escaped = pk11uri_Escape(buffer->arena, attr->value, strlen(attr->value),
data/nss-pem-1.0.6/nss/nss/lib/util/pkcs11uri.c:423:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                   strlen(escaped));
data/nss-pem-1.0.6/nss/nss/lib/util/pkcs11uri.c:634:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            if (name_length == strlen(attr_names[i]) &&
data/nss-pem-1.0.6/nss/nss/lib/util/portreg.c:165:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    e2 = (char *)PORT_Alloc(1 + strlen(exp));
data/nss-pem-1.0.6/nss/nss/lib/util/secasn1d.c:162:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        buf += strlen(buf);
data/nss-pem-1.0.6/nss/nss/lib/util/secasn1d.c:166:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        buf += strlen(buf);
data/nss-pem-1.0.6/nss/nss/lib/util/secasn1d.c:173:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                buf += strlen(buf);
data/nss-pem-1.0.6/nss/nss/lib/util/secasn1d.c:180:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    buf += strlen(buf);
data/nss-pem-1.0.6/nss/nss/lib/util/secasn1d.c:185:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            buf += strlen(buf);
data/nss-pem-1.0.6/nss/nss/lib/util/secload.c:30:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = PR_MAX(1024, strlen(link) + 1);
data/nss-pem-1.0.6/nss/nss/lib/util/secload.c:75:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        fullName = (char*)PORT_Alloc(strlen(name) + referencePathSize + 1);
data/nss-pem-1.0.6/nss/nss/lib/util/secoid.c:1934:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        !src->desc || !strlen(src->desc)) {
data/nss-pem-1.0.6/nss/nss/lib/util/secport.c:745:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    encoded = (char *)PORT_ZAlloc(strlen(envVarName) + 2 + strlen(envValue));
data/nss-pem-1.0.6/nss/nss/lib/util/secport.c:745:60:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    encoded = (char *)PORT_ZAlloc(strlen(envVarName) + 2 + strlen(envValue));
data/nss-pem-1.0.6/nss/nss/lib/util/secport.c:750:5:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
    strcat(encoded, "=");
data/nss-pem-1.0.6/nss/nss/lib/util/secport.h:197:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#define PORT_Strlen(s) strlen(s)
data/nss-pem-1.0.6/nss/nss/lib/util/secport.h:199:22:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
#define PORT_Strncat strncat
data/nss-pem-1.0.6/nss/nss/lib/util/secport.h:201:22:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
#define PORT_Strncpy strncpy
data/nss-pem-1.0.6/nss/nss/lib/util/utilmod.c:700:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    dbname2[strlen(dbname) - 1]++;
data/nss-pem-1.0.6/nss/nss/lib/util/utilpars.c:181:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t paramLen = strlen(paramName);
data/nss-pem-1.0.6/nss/nss/lib/util/utilpars.c:228:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int len = strlen(flag);
data/nss-pem-1.0.6/nss/nss/lib/util/utilpars.c:922:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    const size_t prefixLen = strlen(prefix);
data/nss-pem-1.0.6/nss/nss/lib/util/utilpars.c:942:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (!nss || !strlen(nss)) {
data/nss-pem-1.0.6/nss/nss/lib/util/utilpars.c:943:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        nss2 = PORT_Alloc(prefixLen + strlen(addFlag) + 1);
data/nss-pem-1.0.6/nss/nss/lib/util/utilpars.c:949:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        size_t maxSize = strlen(nss) + strlen(addFlag) + prefixLen + 2; /* space and null terminator */
data/nss-pem-1.0.6/nss/nss/lib/util/utilpars.c:949:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        size_t maxSize = strlen(nss) + strlen(addFlag) + prefixLen + 2; /* space and null terminator */
data/nss-pem-1.0.6/nss/nss/lib/util/utilpars.c:976:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                if (nss2[strlen(nss2) - 1] != ' ') {
data/nss-pem-1.0.6/nss/nss/lib/zlib/gzguts.h:48:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#  define read _read
data/nss-pem-1.0.6/nss/nss/lib/zlib/gzlib.c:199:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        len = strlen((const char *)path);
data/nss-pem-1.0.6/nss/nss/lib/zlib/gzlib.c:605:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if ((state->msg = (char *)malloc(strlen(state->path) + strlen(msg) + 3)) ==
data/nss-pem-1.0.6/nss/nss/lib/zlib/gzlib.c:605:60:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if ((state->msg = (char *)malloc(strlen(state->path) + strlen(msg) + 3)) ==
data/nss-pem-1.0.6/nss/nss/lib/zlib/gzlib.c:611:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    (void)snprintf(state->msg, strlen(state->path) + strlen(msg) + 3,
data/nss-pem-1.0.6/nss/nss/lib/zlib/gzlib.c:611:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    (void)snprintf(state->msg, strlen(state->path) + strlen(msg) + 3,
data/nss-pem-1.0.6/nss/nss/lib/zlib/gzread.c:35:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ret = read(state->fd, buf + *have, get);
data/nss-pem-1.0.6/nss/nss/lib/zlib/gzwrite.c:370:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = strlen(str);
data/nss-pem-1.0.6/nss/nss/lib/zlib/gzwrite.c:426:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = strlen(next);
data/nss-pem-1.0.6/nss/nss/lib/zlib/gzwrite.c:524:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = strlen(next);
data/nss-pem-1.0.6/nss/nss/nss-tool/common/util.cc:81:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    is.read(buf, sizeof(buf));
data/nss-pem-1.0.6/nss/nss/nss-tool/db/dbtool.cc:212:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (appData && strlen(appData) > 0) {
data/nss-pem-1.0.6/nss/nss/nss-tool/db/dbtool.cc:214:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    } else if (cert->nickname && strlen(cert->nickname) > 0) {
data/nss-pem-1.0.6/nss/nss/nss-tool/db/dbtool.cc:216:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    } else if (cert->emailAddr && strlen(cert->emailAddr) > 0) {
data/nss-pem-1.0.6/nss/nss/nss-tool/db/dbtool.cc:323:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (cert->nickname && strlen(cert->nickname) > 0) {
data/nss-pem-1.0.6/nss/nss/nss-tool/db/dbtool.cc:325:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        } else if (cert->emailAddr && strlen(cert->emailAddr) > 0) {
data/nss-pem-1.0.6/nss/nss/nss-tool/digest/digesttool.cc:148:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    is.read(reinterpret_cast<char*>(buf), sizeof(buf));
data/nss-pem-1.0.6/nss/nss/nss-tool/enc/enctool.cc:307:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      input.read(buffer, chunkSize);
data/nss-pem-1.0.6/nss/nss/nss-tool/enc/enctool.cc:312:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      input.read(buffer, chunkSize + 16);
data/nss-pem-1.0.6/src/pargs.c:62:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(instr) < inlen) {
data/nss-pem-1.0.6/src/pargs.c:95:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            len = strlen(instring);
data/nss-pem-1.0.6/src/pinst.c:191:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = strlen(id) + 1;       /* zero terminate */
data/nss-pem-1.0.6/src/pinst.c:245:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    o->nickname = (char *) NSS_ZAlloc(NULL, strlen(nickname) + 1);
data/nss-pem-1.0.6/src/pobject.c:226:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    co->label.size = strlen(io->nickname);
data/nss-pem-1.0.6/src/util.c:113:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (!NSSBase64_DecodeBuffer(NULL, &tmp, ascii, strlen(ascii)))

ANALYSIS SUMMARY:

Hits = 3430
Lines analyzed = 1311804 in approximately 47.55 seconds (27586 lines/second)
Physical Source Lines of Code (SLOC) = 975063
Hits@level = [0] 3091 [1] 590 [2] 2473 [3]  93 [4] 261 [5]  13
Hits@level+ = [0+] 6521 [1+] 3430 [2+] 2840 [3+] 367 [4+] 274 [5+]  13
Hits/KSLOC@level+ = [0+] 6.68777 [1+] 3.51772 [2+] 2.91263 [3+] 0.376386 [4+] 0.281007 [5+] 0.0133325
Dot directories skipped = 1 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.