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/curvedns-0.87/cache_hashtable.c
Examining data/curvedns-0.87/curvedns.h
Examining data/curvedns-0.87/debug.c
Examining data/curvedns-0.87/debug.h
Examining data/curvedns-0.87/dns.c
Examining data/curvedns-0.87/dns.h
Examining data/curvedns-0.87/dnscurve.c
Examining data/curvedns-0.87/event.h
Examining data/curvedns-0.87/event_main.c
Examining data/curvedns-0.87/event_udp.c
Examining data/curvedns-0.87/ip.h
Examining data/curvedns-0.87/misc.c
Examining data/curvedns-0.87/misc.h
Examining data/curvedns-0.87/nacl/PROTOTYPES.c
Examining data/curvedns-0.87/nacl/PROTOTYPES.cpp
Examining data/curvedns-0.87/nacl/commandline/nacl-sha256.c
Examining data/curvedns-0.87/nacl/commandline/nacl-sha512.c
Examining data/curvedns-0.87/nacl/cpucycles/alpha.c
Examining data/curvedns-0.87/nacl/cpucycles/alpha.h
Examining data/curvedns-0.87/nacl/cpucycles/amd64cpuinfo.c
Examining data/curvedns-0.87/nacl/cpucycles/amd64cpuinfo.h
Examining data/curvedns-0.87/nacl/cpucycles/amd64cpuspeed.c
Examining data/curvedns-0.87/nacl/cpucycles/amd64cpuspeed.h
Examining data/curvedns-0.87/nacl/cpucycles/amd64tscfreq.c
Examining data/curvedns-0.87/nacl/cpucycles/amd64tscfreq.h
Examining data/curvedns-0.87/nacl/cpucycles/celllinux.c
Examining data/curvedns-0.87/nacl/cpucycles/celllinux.h
Examining data/curvedns-0.87/nacl/cpucycles/dev4ns.c
Examining data/curvedns-0.87/nacl/cpucycles/dev4ns.h
Examining data/curvedns-0.87/nacl/cpucycles/gettimeofday.c
Examining data/curvedns-0.87/nacl/cpucycles/gettimeofday.h
Examining data/curvedns-0.87/nacl/cpucycles/hppapstat.c
Examining data/curvedns-0.87/nacl/cpucycles/hppapstat.h
Examining data/curvedns-0.87/nacl/cpucycles/ia64cpuinfo.c
Examining data/curvedns-0.87/nacl/cpucycles/ia64cpuinfo.h
Examining data/curvedns-0.87/nacl/cpucycles/mips.c
Examining data/curvedns-0.87/nacl/cpucycles/mips.h
Examining data/curvedns-0.87/nacl/cpucycles/monotonic.c
Examining data/curvedns-0.87/nacl/cpucycles/monotonic.h
Examining data/curvedns-0.87/nacl/cpucycles/monotoniccpuinfo.c
Examining data/curvedns-0.87/nacl/cpucycles/monotoniccpuinfo.h
Examining data/curvedns-0.87/nacl/cpucycles/osfreq.c
Examining data/curvedns-0.87/nacl/cpucycles/powerpccpuinfo.c
Examining data/curvedns-0.87/nacl/cpucycles/powerpccpuinfo.h
Examining data/curvedns-0.87/nacl/cpucycles/powerpcmacos.c
Examining data/curvedns-0.87/nacl/cpucycles/powerpcmacos.h
Examining data/curvedns-0.87/nacl/cpucycles/sgi.c
Examining data/curvedns-0.87/nacl/cpucycles/sgi.h
Examining data/curvedns-0.87/nacl/cpucycles/sparc32cpuinfo.c
Examining data/curvedns-0.87/nacl/cpucycles/sparc32cpuinfo.h
Examining data/curvedns-0.87/nacl/cpucycles/sparccpuinfo.c
Examining data/curvedns-0.87/nacl/cpucycles/sparccpuinfo.h
Examining data/curvedns-0.87/nacl/cpucycles/test.c
Examining data/curvedns-0.87/nacl/cpucycles/x86cpuinfo.c
Examining data/curvedns-0.87/nacl/cpucycles/x86cpuinfo.h
Examining data/curvedns-0.87/nacl/cpucycles/x86cpuspeed.c
Examining data/curvedns-0.87/nacl/cpucycles/x86cpuspeed.h
Examining data/curvedns-0.87/nacl/cpucycles/x86estimate.c
Examining data/curvedns-0.87/nacl/cpucycles/x86estimate.h
Examining data/curvedns-0.87/nacl/cpucycles/x86tscfreq.c
Examining data/curvedns-0.87/nacl/cpucycles/x86tscfreq.h
Examining data/curvedns-0.87/nacl/cpuid/cbytes.c
Examining data/curvedns-0.87/nacl/cpuid/cpuid.c
Examining data/curvedns-0.87/nacl/cpuid/unknown.c
Examining data/curvedns-0.87/nacl/cpuid/x86.c
Examining data/curvedns-0.87/nacl/crypto_auth/hmacsha256/ref/api.h
Examining data/curvedns-0.87/nacl/crypto_auth/hmacsha256/ref/hmac.c
Examining data/curvedns-0.87/nacl/crypto_auth/hmacsha256/ref/verify.c
Examining data/curvedns-0.87/nacl/crypto_auth/hmacsha512256/ref/api.h
Examining data/curvedns-0.87/nacl/crypto_auth/hmacsha512256/ref/hmac.c
Examining data/curvedns-0.87/nacl/crypto_auth/hmacsha512256/ref/verify.c
Examining data/curvedns-0.87/nacl/crypto_auth/measure.c
Examining data/curvedns-0.87/nacl/crypto_auth/try.c
Examining data/curvedns-0.87/nacl/crypto_auth/wrapper-auth.cpp
Examining data/curvedns-0.87/nacl/crypto_auth/wrapper-verify.cpp
Examining data/curvedns-0.87/nacl/crypto_box/curve25519xsalsa20poly1305/ref/after.c
Examining data/curvedns-0.87/nacl/crypto_box/curve25519xsalsa20poly1305/ref/api.h
Examining data/curvedns-0.87/nacl/crypto_box/curve25519xsalsa20poly1305/ref/before.c
Examining data/curvedns-0.87/nacl/crypto_box/curve25519xsalsa20poly1305/ref/box.c
Examining data/curvedns-0.87/nacl/crypto_box/curve25519xsalsa20poly1305/ref/keypair.c
Examining data/curvedns-0.87/nacl/crypto_box/measure.c
Examining data/curvedns-0.87/nacl/crypto_box/try.c
Examining data/curvedns-0.87/nacl/crypto_box/wrapper-box.cpp
Examining data/curvedns-0.87/nacl/crypto_box/wrapper-keypair.cpp
Examining data/curvedns-0.87/nacl/crypto_box/wrapper-open.cpp
Examining data/curvedns-0.87/nacl/crypto_core/hsalsa20/ref/api.h
Examining data/curvedns-0.87/nacl/crypto_core/hsalsa20/ref/core.c
Examining data/curvedns-0.87/nacl/crypto_core/hsalsa20/ref2/api.h
Examining data/curvedns-0.87/nacl/crypto_core/hsalsa20/ref2/core.c
Examining data/curvedns-0.87/nacl/crypto_core/measure.c
Examining data/curvedns-0.87/nacl/crypto_core/salsa20/ref/api.h
Examining data/curvedns-0.87/nacl/crypto_core/salsa20/ref/core.c
Examining data/curvedns-0.87/nacl/crypto_core/salsa2012/ref/api.h
Examining data/curvedns-0.87/nacl/crypto_core/salsa2012/ref/core.c
Examining data/curvedns-0.87/nacl/crypto_core/salsa208/ref/api.h
Examining data/curvedns-0.87/nacl/crypto_core/salsa208/ref/core.c
Examining data/curvedns-0.87/nacl/crypto_core/try.c
Examining data/curvedns-0.87/nacl/crypto_core/wrapper-empty.cpp
Examining data/curvedns-0.87/nacl/crypto_hash/measure.c
Examining data/curvedns-0.87/nacl/crypto_hash/sha256/ref/api.h
Examining data/curvedns-0.87/nacl/crypto_hash/sha256/ref/hash.c
Examining data/curvedns-0.87/nacl/crypto_hash/sha512/ref/api.h
Examining data/curvedns-0.87/nacl/crypto_hash/sha512/ref/hash.c
Examining data/curvedns-0.87/nacl/crypto_hash/try.c
Examining data/curvedns-0.87/nacl/crypto_hash/wrapper-hash.cpp
Examining data/curvedns-0.87/nacl/crypto_hashblocks/measure.c
Examining data/curvedns-0.87/nacl/crypto_hashblocks/sha256/inplace/api.h
Examining data/curvedns-0.87/nacl/crypto_hashblocks/sha256/inplace/blocks.c
Examining data/curvedns-0.87/nacl/crypto_hashblocks/sha256/ref/api.h
Examining data/curvedns-0.87/nacl/crypto_hashblocks/sha256/ref/blocks.c
Examining data/curvedns-0.87/nacl/crypto_hashblocks/sha512/inplace/api.h
Examining data/curvedns-0.87/nacl/crypto_hashblocks/sha512/inplace/blocks.c
Examining data/curvedns-0.87/nacl/crypto_hashblocks/sha512/ref/api.h
Examining data/curvedns-0.87/nacl/crypto_hashblocks/sha512/ref/blocks.c
Examining data/curvedns-0.87/nacl/crypto_hashblocks/try.c
Examining data/curvedns-0.87/nacl/crypto_hashblocks/wrapper-empty.cpp
Examining data/curvedns-0.87/nacl/crypto_onetimeauth/measure.c
Examining data/curvedns-0.87/nacl/crypto_onetimeauth/poly1305/53/api.h
Examining data/curvedns-0.87/nacl/crypto_onetimeauth/poly1305/53/auth.c
Examining data/curvedns-0.87/nacl/crypto_onetimeauth/poly1305/53/verify.c
Examining data/curvedns-0.87/nacl/crypto_onetimeauth/poly1305/amd64/api.h
Examining data/curvedns-0.87/nacl/crypto_onetimeauth/poly1305/amd64/verify.c
Examining data/curvedns-0.87/nacl/crypto_onetimeauth/poly1305/ref/api.h
Examining data/curvedns-0.87/nacl/crypto_onetimeauth/poly1305/ref/auth.c
Examining data/curvedns-0.87/nacl/crypto_onetimeauth/poly1305/ref/verify.c
Examining data/curvedns-0.87/nacl/crypto_onetimeauth/poly1305/x86/api.h
Examining data/curvedns-0.87/nacl/crypto_onetimeauth/poly1305/x86/verify.c
Examining data/curvedns-0.87/nacl/crypto_onetimeauth/try.c
Examining data/curvedns-0.87/nacl/crypto_onetimeauth/wrapper-auth.cpp
Examining data/curvedns-0.87/nacl/crypto_onetimeauth/wrapper-verify.cpp
Examining data/curvedns-0.87/nacl/crypto_scalarmult/curve25519/athlon/api.h
Examining data/curvedns-0.87/nacl/crypto_scalarmult/curve25519/athlon/base.c
Examining data/curvedns-0.87/nacl/crypto_scalarmult/curve25519/athlon/smult.c
Examining data/curvedns-0.87/nacl/crypto_scalarmult/curve25519/donna_c64/api.h
Examining data/curvedns-0.87/nacl/crypto_scalarmult/curve25519/donna_c64/base.c
Examining data/curvedns-0.87/nacl/crypto_scalarmult/curve25519/donna_c64/smult.c
Examining data/curvedns-0.87/nacl/crypto_scalarmult/curve25519/ref/api.h
Examining data/curvedns-0.87/nacl/crypto_scalarmult/curve25519/ref/base.c
Examining data/curvedns-0.87/nacl/crypto_scalarmult/curve25519/ref/smult.c
Examining data/curvedns-0.87/nacl/crypto_scalarmult/measure.c
Examining data/curvedns-0.87/nacl/crypto_scalarmult/try.c
Examining data/curvedns-0.87/nacl/crypto_scalarmult/wrapper-base.cpp
Examining data/curvedns-0.87/nacl/crypto_scalarmult/wrapper-mult.cpp
Examining data/curvedns-0.87/nacl/crypto_secretbox/measure.c
Examining data/curvedns-0.87/nacl/crypto_secretbox/try.c
Examining data/curvedns-0.87/nacl/crypto_secretbox/wrapper-box.cpp
Examining data/curvedns-0.87/nacl/crypto_secretbox/wrapper-open.cpp
Examining data/curvedns-0.87/nacl/crypto_secretbox/xsalsa20poly1305/ref/api.h
Examining data/curvedns-0.87/nacl/crypto_secretbox/xsalsa20poly1305/ref/box.c
Examining data/curvedns-0.87/nacl/crypto_stream/aes128ctr/core2/api.h
Examining data/curvedns-0.87/nacl/crypto_stream/aes128ctr/core2/stream.c
Examining data/curvedns-0.87/nacl/crypto_stream/aes128ctr/core2/xor.c
Examining data/curvedns-0.87/nacl/crypto_stream/aes128ctr/portable/afternm.c
Examining data/curvedns-0.87/nacl/crypto_stream/aes128ctr/portable/api.h
Examining data/curvedns-0.87/nacl/crypto_stream/aes128ctr/portable/beforenm.c
Examining data/curvedns-0.87/nacl/crypto_stream/aes128ctr/portable/common.c
Examining data/curvedns-0.87/nacl/crypto_stream/aes128ctr/portable/common.h
Examining data/curvedns-0.87/nacl/crypto_stream/aes128ctr/portable/consts.c
Examining data/curvedns-0.87/nacl/crypto_stream/aes128ctr/portable/consts.h
Examining data/curvedns-0.87/nacl/crypto_stream/aes128ctr/portable/int128.c
Examining data/curvedns-0.87/nacl/crypto_stream/aes128ctr/portable/int128.h
Examining data/curvedns-0.87/nacl/crypto_stream/aes128ctr/portable/stream.c
Examining data/curvedns-0.87/nacl/crypto_stream/aes128ctr/portable/types.h
Examining data/curvedns-0.87/nacl/crypto_stream/aes128ctr/portable/xor_afternm.c
Examining data/curvedns-0.87/nacl/crypto_stream/measure.c
Examining data/curvedns-0.87/nacl/crypto_stream/salsa20/amd64_xmm6/api.h
Examining data/curvedns-0.87/nacl/crypto_stream/salsa20/ref/api.h
Examining data/curvedns-0.87/nacl/crypto_stream/salsa20/ref/stream.c
Examining data/curvedns-0.87/nacl/crypto_stream/salsa20/ref/xor.c
Examining data/curvedns-0.87/nacl/crypto_stream/salsa20/x86_xmm5/api.h
Examining data/curvedns-0.87/nacl/crypto_stream/salsa2012/amd64_xmm6/api.h
Examining data/curvedns-0.87/nacl/crypto_stream/salsa2012/ref/api.h
Examining data/curvedns-0.87/nacl/crypto_stream/salsa2012/ref/stream.c
Examining data/curvedns-0.87/nacl/crypto_stream/salsa2012/ref/xor.c
Examining data/curvedns-0.87/nacl/crypto_stream/salsa2012/x86_xmm5/api.h
Examining data/curvedns-0.87/nacl/crypto_stream/salsa208/amd64_xmm6/api.h
Examining data/curvedns-0.87/nacl/crypto_stream/salsa208/ref/api.h
Examining data/curvedns-0.87/nacl/crypto_stream/salsa208/ref/stream.c
Examining data/curvedns-0.87/nacl/crypto_stream/salsa208/ref/xor.c
Examining data/curvedns-0.87/nacl/crypto_stream/salsa208/x86_xmm5/api.h
Examining data/curvedns-0.87/nacl/crypto_stream/try.c
Examining data/curvedns-0.87/nacl/crypto_stream/wrapper-stream.cpp
Examining data/curvedns-0.87/nacl/crypto_stream/wrapper-xor.cpp
Examining data/curvedns-0.87/nacl/crypto_stream/xsalsa20/ref/api.h
Examining data/curvedns-0.87/nacl/crypto_stream/xsalsa20/ref/stream.c
Examining data/curvedns-0.87/nacl/crypto_stream/xsalsa20/ref/xor.c
Examining data/curvedns-0.87/nacl/crypto_verify/16/ref/api.h
Examining data/curvedns-0.87/nacl/crypto_verify/16/ref/verify.c
Examining data/curvedns-0.87/nacl/crypto_verify/32/ref/api.h
Examining data/curvedns-0.87/nacl/crypto_verify/32/ref/verify.c
Examining data/curvedns-0.87/nacl/crypto_verify/measure.c
Examining data/curvedns-0.87/nacl/crypto_verify/try.c
Examining data/curvedns-0.87/nacl/crypto_verify/wrapper-empty.cpp
Examining data/curvedns-0.87/nacl/inttypes/crypto_int16.c
Examining data/curvedns-0.87/nacl/inttypes/crypto_int32.c
Examining data/curvedns-0.87/nacl/inttypes/crypto_int64.c
Examining data/curvedns-0.87/nacl/inttypes/crypto_int8.c
Examining data/curvedns-0.87/nacl/inttypes/crypto_uint16.c
Examining data/curvedns-0.87/nacl/inttypes/crypto_uint32.c
Examining data/curvedns-0.87/nacl/inttypes/crypto_uint64.c
Examining data/curvedns-0.87/nacl/inttypes/crypto_uint8.c
Examining data/curvedns-0.87/nacl/inttypes/signed.h
Examining data/curvedns-0.87/nacl/inttypes/unsigned.h
Examining data/curvedns-0.87/nacl/measure-anything.c
Examining data/curvedns-0.87/nacl/okcompilers/abiname.c
Examining data/curvedns-0.87/nacl/okcompilers/lib.c
Examining data/curvedns-0.87/nacl/okcompilers/lib.cpp
Examining data/curvedns-0.87/nacl/okcompilers/main.c
Examining data/curvedns-0.87/nacl/okcompilers/main.cpp
Examining data/curvedns-0.87/nacl/randombytes/devurandom.c
Examining data/curvedns-0.87/nacl/randombytes/devurandom.h
Examining data/curvedns-0.87/nacl/randombytes/test.c
Examining data/curvedns-0.87/nacl/tests/auth.c
Examining data/curvedns-0.87/nacl/tests/auth2.c
Examining data/curvedns-0.87/nacl/tests/auth3.c
Examining data/curvedns-0.87/nacl/tests/auth4.cpp
Examining data/curvedns-0.87/nacl/tests/auth5.c
Examining data/curvedns-0.87/nacl/tests/auth6.cpp
Examining data/curvedns-0.87/nacl/tests/box.c
Examining data/curvedns-0.87/nacl/tests/box2.c
Examining data/curvedns-0.87/nacl/tests/box3.cpp
Examining data/curvedns-0.87/nacl/tests/box4.cpp
Examining data/curvedns-0.87/nacl/tests/box5.cpp
Examining data/curvedns-0.87/nacl/tests/box6.cpp
Examining data/curvedns-0.87/nacl/tests/box7.c
Examining data/curvedns-0.87/nacl/tests/box8.c
Examining data/curvedns-0.87/nacl/tests/core1.c
Examining data/curvedns-0.87/nacl/tests/core2.c
Examining data/curvedns-0.87/nacl/tests/core3.c
Examining data/curvedns-0.87/nacl/tests/core4.c
Examining data/curvedns-0.87/nacl/tests/core5.c
Examining data/curvedns-0.87/nacl/tests/core6.c
Examining data/curvedns-0.87/nacl/tests/hash.c
Examining data/curvedns-0.87/nacl/tests/hash2.cpp
Examining data/curvedns-0.87/nacl/tests/hash3.c
Examining data/curvedns-0.87/nacl/tests/hash4.cpp
Examining data/curvedns-0.87/nacl/tests/onetimeauth.c
Examining data/curvedns-0.87/nacl/tests/onetimeauth2.c
Examining data/curvedns-0.87/nacl/tests/onetimeauth5.cpp
Examining data/curvedns-0.87/nacl/tests/onetimeauth6.cpp
Examining data/curvedns-0.87/nacl/tests/onetimeauth7.c
Examining data/curvedns-0.87/nacl/tests/onetimeauth8.cpp
Examining data/curvedns-0.87/nacl/tests/scalarmult.c
Examining data/curvedns-0.87/nacl/tests/scalarmult2.c
Examining data/curvedns-0.87/nacl/tests/scalarmult3.cpp
Examining data/curvedns-0.87/nacl/tests/scalarmult4.cpp
Examining data/curvedns-0.87/nacl/tests/scalarmult5.c
Examining data/curvedns-0.87/nacl/tests/scalarmult6.c
Examining data/curvedns-0.87/nacl/tests/scalarmult7.cpp
Examining data/curvedns-0.87/nacl/tests/secretbox.c
Examining data/curvedns-0.87/nacl/tests/secretbox2.c
Examining data/curvedns-0.87/nacl/tests/secretbox3.cpp
Examining data/curvedns-0.87/nacl/tests/secretbox4.cpp
Examining data/curvedns-0.87/nacl/tests/secretbox5.cpp
Examining data/curvedns-0.87/nacl/tests/secretbox6.cpp
Examining data/curvedns-0.87/nacl/tests/secretbox7.c
Examining data/curvedns-0.87/nacl/tests/secretbox8.c
Examining data/curvedns-0.87/nacl/tests/stream.c
Examining data/curvedns-0.87/nacl/tests/stream2.c
Examining data/curvedns-0.87/nacl/tests/stream3.c
Examining data/curvedns-0.87/nacl/tests/stream4.c
Examining data/curvedns-0.87/nacl/tests/stream5.cpp
Examining data/curvedns-0.87/nacl/tests/stream6.cpp
Examining data/curvedns-0.87/nacl/tests/stream7.cpp
Examining data/curvedns-0.87/nacl/tests/stream8.cpp
Examining data/curvedns-0.87/nacl/try-anything.c
Examining data/curvedns-0.87/ip.c
Examining data/curvedns-0.87/event_tcp.c
Examining data/curvedns-0.87/curvedns.c
Examining data/curvedns-0.87/cache_hashtable.h
Examining data/curvedns-0.87/curvedns-keygen.c
Examining data/curvedns-0.87/dnscurve.h

FINAL RESULTS:

data/curvedns-0.87/curvedns-keygen.c:106:6:  [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(fullpath, 0400) != 0) return 1;
data/curvedns-0.87/debug.c:46:3:  [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, args);
data/curvedns-0.87/nacl/cpucycles/osfreq.c:33:7:  [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.
  f = popen("/usr/sbin/lsattr -E -l proc0 -a frequency 2>/dev/null","r");
data/curvedns-0.87/nacl/cpucycles/osfreq.c:40:7:  [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.
  f = popen("/usr/sbin/psrinfo -v 2>/dev/null","r");
data/curvedns-0.87/nacl/cpucycles/sgi.c:14:7:  [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.
  f = popen("hinv -c processor | awk '{if ($3==\"MHZ\") print $2*1000000}'","r");
data/curvedns-0.87/misc.c:45:8:  [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.
	ptr = getenv(env);
data/curvedns-0.87/nacl/crypto_auth/try.c:61: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.
    for (j = -16;j < 0;++j) h[j] = random();
data/curvedns-0.87/nacl/crypto_auth/try.c:62: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.
    for (j = -16;j < 0;++j) k[j] = random();
data/curvedns-0.87/nacl/crypto_auth/try.c:63: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.
    for (j = -16;j < 0;++j) m[j] = random();
data/curvedns-0.87/nacl/crypto_auth/try.c:64:45:  [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.
    for (j = hlen;j < hlen + 16;++j) h[j] = random();
data/curvedns-0.87/nacl/crypto_auth/try.c:65:45:  [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.
    for (j = klen;j < klen + 16;++j) k[j] = random();
data/curvedns-0.87/nacl/crypto_auth/try.c:66:45:  [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.
    for (j = mlen;j < mlen + 16;++j) m[j] = random();
data/curvedns-0.87/nacl/crypto_auth/try.c:78: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.
    for (j = -16;j < 0;++j) h[j] = random();
data/curvedns-0.87/nacl/crypto_auth/try.c:79: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.
    for (j = -16;j < 0;++j) k[j] = random();
data/curvedns-0.87/nacl/crypto_auth/try.c:80: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.
    for (j = -16;j < 0;++j) m[j] = random();
data/curvedns-0.87/nacl/crypto_auth/try.c:81:45:  [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.
    for (j = hlen;j < hlen + 16;++j) h[j] = random();
data/curvedns-0.87/nacl/crypto_auth/try.c:82:45:  [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.
    for (j = klen;j < klen + 16;++j) k[j] = random();
data/curvedns-0.87/nacl/crypto_auth/try.c:83:45:  [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.
    for (j = mlen;j < mlen + 16;++j) m[j] = random();
data/curvedns-0.87/nacl/crypto_box/try.c:94: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.
    for (j = -16;j < 0;++j) ska[j] = random();
data/curvedns-0.87/nacl/crypto_box/try.c:95: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.
    for (j = -16;j < 0;++j) skb[j] = random();
data/curvedns-0.87/nacl/crypto_box/try.c:96: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.
    for (j = -16;j < 0;++j) pka[j] = random();
data/curvedns-0.87/nacl/crypto_box/try.c:97: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.
    for (j = -16;j < 0;++j) pkb[j] = random();
data/curvedns-0.87/nacl/crypto_box/try.c:98: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.
    for (j = -16;j < 0;++j) m[j] = random();
data/curvedns-0.87/nacl/crypto_box/try.c:99: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.
    for (j = -16;j < 0;++j) n[j] = random();
data/curvedns-0.87/nacl/crypto_box/try.c:101: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.
    for (j = sklen;j < sklen + 16;++j) ska[j] = random();
data/curvedns-0.87/nacl/crypto_box/try.c:102: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.
    for (j = sklen;j < sklen + 16;++j) skb[j] = random();
data/curvedns-0.87/nacl/crypto_box/try.c:103: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.
    for (j = pklen;j < pklen + 16;++j) pka[j] = random();
data/curvedns-0.87/nacl/crypto_box/try.c:104: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.
    for (j = pklen;j < pklen + 16;++j) pkb[j] = random();
data/curvedns-0.87/nacl/crypto_box/try.c:105:45:  [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.
    for (j = mlen;j < mlen + 16;++j) m[j] = random();
data/curvedns-0.87/nacl/crypto_box/try.c:106:45:  [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.
    for (j = nlen;j < nlen + 16;++j) n[j] = random();
data/curvedns-0.87/nacl/crypto_box/try.c:114:52:  [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.
    for (j = -16;j < clen + 16;++j) c2[j] = c[j] = random();
data/curvedns-0.87/nacl/crypto_box/try.c:130: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.
    for (j = -16;j < 0;++j) c[j] = random();
data/curvedns-0.87/nacl/crypto_box/try.c:131:45:  [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.
    for (j = clen;j < clen + 16;++j) c[j] = random();
data/curvedns-0.87/nacl/crypto_box/try.c:133:52:  [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.
    for (j = -16;j < tlen + 16;++j) t2[j] = t[j] = random();
data/curvedns-0.87/nacl/crypto_box/try.c:151:52:  [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.
    for (j = -16;j < slen + 16;++j) s2[j] = s[j] = random();
data/curvedns-0.87/nacl/crypto_box/try.c:159:52:  [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.
    for (j = -16;j < tlen + 16;++j) t2[j] = t[j] = random();
data/curvedns-0.87/nacl/crypto_box/try.c:172:52:  [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.
    for (j = -16;j < tlen + 16;++j) t2[j] = t[j] = random();
data/curvedns-0.87/nacl/crypto_core/try.c:74: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.
    for (j = -16;j < 0;++j) h[j] = random();
data/curvedns-0.87/nacl/crypto_core/try.c:75:45:  [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.
    for (j = hlen;j < hlen + 16;++j) h[j] = random();
data/curvedns-0.87/nacl/crypto_core/try.c:77: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.
    for (j = -16;j < 0;++j) n[j] = random();
data/curvedns-0.87/nacl/crypto_core/try.c:78:45:  [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.
    for (j = nlen;j < nlen + 16;++j) n[j] = random();
data/curvedns-0.87/nacl/crypto_core/try.c:80: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.
    for (j = -16;j < 0;++j) k[j] = random();
data/curvedns-0.87/nacl/crypto_core/try.c:81:45:  [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.
    for (j = klen;j < klen + 16;++j) k[j] = random();
data/curvedns-0.87/nacl/crypto_core/try.c:83: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.
    for (j = -16;j < 0;++j) c[j] = random();
data/curvedns-0.87/nacl/crypto_core/try.c:84:45:  [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.
    for (j = clen;j < clen + 16;++j) c[j] = random();
data/curvedns-0.87/nacl/crypto_hash/try.c:54: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.
    for (j = -16;j < 0;++j) h[j] = random();
data/curvedns-0.87/nacl/crypto_hash/try.c:55:45:  [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.
    for (j = hlen;j < hlen + 16;++j) h[j] = random();
data/curvedns-0.87/nacl/crypto_hash/try.c:57: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.
    for (j = -16;j < 0;++j) m[j] = random();
data/curvedns-0.87/nacl/crypto_hash/try.c:58:45:  [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.
    for (j = mlen;j < mlen + 16;++j) m[j] = random();
data/curvedns-0.87/nacl/crypto_hashblocks/try.c:54: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.
    for (j = -16;j < 0;++j) h[j] = random();
data/curvedns-0.87/nacl/crypto_hashblocks/try.c:55:45:  [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.
    for (j = hlen;j < hlen + 16;++j) h[j] = random();
data/curvedns-0.87/nacl/crypto_hashblocks/try.c:57: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.
    for (j = -16;j < 0;++j) m[j] = random();
data/curvedns-0.87/nacl/crypto_hashblocks/try.c:58:45:  [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.
    for (j = mlen;j < mlen + 16;++j) m[j] = random();
data/curvedns-0.87/nacl/crypto_onetimeauth/try.c:61: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.
    for (j = -16;j < 0;++j) h[j] = random();
data/curvedns-0.87/nacl/crypto_onetimeauth/try.c:62: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.
    for (j = -16;j < 0;++j) k[j] = random();
data/curvedns-0.87/nacl/crypto_onetimeauth/try.c:63: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.
    for (j = -16;j < 0;++j) m[j] = random();
data/curvedns-0.87/nacl/crypto_onetimeauth/try.c:64:45:  [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.
    for (j = hlen;j < hlen + 16;++j) h[j] = random();
data/curvedns-0.87/nacl/crypto_onetimeauth/try.c:65:45:  [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.
    for (j = klen;j < klen + 16;++j) k[j] = random();
data/curvedns-0.87/nacl/crypto_onetimeauth/try.c:66:45:  [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.
    for (j = mlen;j < mlen + 16;++j) m[j] = random();
data/curvedns-0.87/nacl/crypto_onetimeauth/try.c:78: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.
    for (j = -16;j < 0;++j) h[j] = random();
data/curvedns-0.87/nacl/crypto_onetimeauth/try.c:79: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.
    for (j = -16;j < 0;++j) k[j] = random();
data/curvedns-0.87/nacl/crypto_onetimeauth/try.c:80: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.
    for (j = -16;j < 0;++j) m[j] = random();
data/curvedns-0.87/nacl/crypto_onetimeauth/try.c:81:45:  [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.
    for (j = hlen;j < hlen + 16;++j) h[j] = random();
data/curvedns-0.87/nacl/crypto_onetimeauth/try.c:82:45:  [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.
    for (j = klen;j < klen + 16;++j) k[j] = random();
data/curvedns-0.87/nacl/crypto_onetimeauth/try.c:83:45:  [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.
    for (j = mlen;j < mlen + 16;++j) m[j] = random();
data/curvedns-0.87/nacl/crypto_scalarmult/try.c:74: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.
  for (i = -16;i < 0;++i) p[i] = random();
data/curvedns-0.87/nacl/crypto_scalarmult/try.c:75: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.
  for (i = -16;i < 0;++i) n[i] = random();
data/curvedns-0.87/nacl/crypto_scalarmult/try.c:76:43:  [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.
  for (i = plen;i < plen + 16;++i) p[i] = random();
data/curvedns-0.87/nacl/crypto_scalarmult/try.c:77:43:  [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.
  for (i = nlen;i < nlen + 16;++i) n[i] = random();
data/curvedns-0.87/nacl/crypto_scalarmult/try.c:88: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.
    for (i = -16;i < 0;++i) q[i] = random();
data/curvedns-0.87/nacl/crypto_scalarmult/try.c:89: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.
    for (i = -16;i < 0;++i) p[i] = random();
data/curvedns-0.87/nacl/crypto_scalarmult/try.c:90: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.
    for (i = -16;i < 0;++i) m[i] = random();
data/curvedns-0.87/nacl/crypto_scalarmult/try.c:91:45:  [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.
    for (i = qlen;i < qlen + 16;++i) q[i] = random();
data/curvedns-0.87/nacl/crypto_scalarmult/try.c:92:45:  [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.
    for (i = plen;i < plen + 16;++i) p[i] = random();
data/curvedns-0.87/nacl/crypto_scalarmult/try.c:93:45:  [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.
    for (i = mlen;i < mlen + 16;++i) m[i] = random();
data/curvedns-0.87/nacl/crypto_secretbox/try.c:73: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.
    for (j = -16;j < 0;++j) k[j] = random();
data/curvedns-0.87/nacl/crypto_secretbox/try.c:74: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.
    for (j = -16;j < 0;++j) n[j] = random();
data/curvedns-0.87/nacl/crypto_secretbox/try.c:75: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.
    for (j = -16;j < 0;++j) m[j] = random();
data/curvedns-0.87/nacl/crypto_secretbox/try.c:76:45:  [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.
    for (j = klen;j < klen + 16;++j) k[j] = random();
data/curvedns-0.87/nacl/crypto_secretbox/try.c:77:45:  [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.
    for (j = nlen;j < nlen + 16;++j) n[j] = random();
data/curvedns-0.87/nacl/crypto_secretbox/try.c:78:45:  [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.
    for (j = mlen;j < mlen + 16;++j) m[j] = random();
data/curvedns-0.87/nacl/crypto_secretbox/try.c:82:52:  [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.
    for (j = -16;j < clen + 16;++j) c2[j] = c[j] = random();
data/curvedns-0.87/nacl/crypto_secretbox/try.c:94: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.
    for (j = -16;j < 0;++j) c[j] = random();
data/curvedns-0.87/nacl/crypto_secretbox/try.c:95:45:  [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.
    for (j = clen;j < clen + 16;++j) c[j] = random();
data/curvedns-0.87/nacl/crypto_secretbox/try.c:97:52:  [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.
    for (j = -16;j < tlen + 16;++j) t2[j] = t[j] = random();
data/curvedns-0.87/nacl/crypto_stream/try.c:69: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.
    for (j = -16;j < 0;++j) m[j] = random();
data/curvedns-0.87/nacl/crypto_stream/try.c:70: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.
    for (j = -16;j < 0;++j) c[j] = random();
data/curvedns-0.87/nacl/crypto_stream/try.c:71: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.
    for (j = -16;j < 0;++j) s[j] = random();
data/curvedns-0.87/nacl/crypto_stream/try.c:72: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.
    for (j = -16;j < 0;++j) n[j] = random();
data/curvedns-0.87/nacl/crypto_stream/try.c:73: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.
    for (j = -16;j < 0;++j) k[j] = random();
data/curvedns-0.87/nacl/crypto_stream/try.c:74:45:  [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.
    for (j = mlen;j < mlen + 16;++j) m[j] = random();
data/curvedns-0.87/nacl/crypto_stream/try.c:75:45:  [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.
    for (j = clen;j < clen + 16;++j) c[j] = random();
data/curvedns-0.87/nacl/crypto_stream/try.c:76:45:  [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.
    for (j = slen;j < slen + 16;++j) s[j] = random();
data/curvedns-0.87/nacl/crypto_stream/try.c:77:45:  [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.
    for (j = nlen;j < nlen + 16;++j) n[j] = random();
data/curvedns-0.87/nacl/crypto_stream/try.c:78:45:  [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.
    for (j = klen;j < klen + 16;++j) k[j] = random();
data/curvedns-0.87/nacl/crypto_verify/try.c:59:52:  [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.
    for (i = 0;i < crypto_verify_BYTES;++i) x[i] = random();
data/curvedns-0.87/nacl/crypto_verify/try.c:60:52:  [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.
    for (i = 0;i < crypto_verify_BYTES;++i) y[i] = random();
data/curvedns-0.87/nacl/crypto_verify/try.c:64: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.
    y[random() % crypto_verify_BYTES] = random();
data/curvedns-0.87/nacl/crypto_verify/try.c:64: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.
    y[random() % crypto_verify_BYTES] = random();
data/curvedns-0.87/nacl/crypto_verify/try.c:66: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.
    y[random() % crypto_verify_BYTES] = random();
data/curvedns-0.87/nacl/crypto_verify/try.c:66: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.
    y[random() % crypto_verify_BYTES] = random();
data/curvedns-0.87/nacl/crypto_verify/try.c:68: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.
    y[random() % crypto_verify_BYTES] = random();
data/curvedns-0.87/nacl/crypto_verify/try.c:68: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.
    y[random() % crypto_verify_BYTES] = random();
data/curvedns-0.87/nacl/tests/auth5.c:23:9:  [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.
      c[random() % clen] += 1 + (random() % 255);
data/curvedns-0.87/nacl/tests/auth5.c:23: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.
      c[random() % clen] += 1 + (random() % 255);
data/curvedns-0.87/nacl/tests/auth5.c:28:9:  [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.
      a[random() % sizeof a] += 1 + (random() % 255);
data/curvedns-0.87/nacl/tests/auth5.c:28: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.
      a[random() % sizeof a] += 1 + (random() % 255);
data/curvedns-0.87/nacl/tests/auth6.cpp:27: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.
      size_t pos = random() % clen;
data/curvedns-0.87/nacl/tests/auth6.cpp:28: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.
      c.replace(pos,1,1,c[pos] + 1 + (random() % 255));
data/curvedns-0.87/nacl/tests/auth6.cpp:35: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.
      pos = random() % a.size();
data/curvedns-0.87/nacl/tests/auth6.cpp:36: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.
      a.replace(pos,1,1,a[pos] + 1 + (random() % 255));
data/curvedns-0.87/nacl/tests/box6.cpp:25: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.
      c.replace(random() % c.size(),1,1,random());
data/curvedns-0.87/nacl/tests/box6.cpp:25: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.
      c.replace(random() % c.size(),1,1,random());
data/curvedns-0.87/nacl/tests/box8.c:28:9:  [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.
      c[random() % (mlen + crypto_box_ZEROBYTES)] = random();
data/curvedns-0.87/nacl/tests/box8.c:28: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.
      c[random() % (mlen + crypto_box_ZEROBYTES)] = random();
data/curvedns-0.87/nacl/tests/onetimeauth7.c:23:9:  [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.
      c[random() % clen] += 1 + (random() % 255);
data/curvedns-0.87/nacl/tests/onetimeauth7.c:23: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.
      c[random() % clen] += 1 + (random() % 255);
data/curvedns-0.87/nacl/tests/onetimeauth7.c:28:9:  [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.
      a[random() % sizeof a] += 1 + (random() % 255);
data/curvedns-0.87/nacl/tests/onetimeauth7.c:28: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.
      a[random() % sizeof a] += 1 + (random() % 255);
data/curvedns-0.87/nacl/tests/onetimeauth8.cpp:27: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.
      size_t pos = random() % clen;
data/curvedns-0.87/nacl/tests/onetimeauth8.cpp:28: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.
      c.replace(pos,1,1,c[pos] + 1 + (random() % 255));
data/curvedns-0.87/nacl/tests/onetimeauth8.cpp:35: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.
      pos = random() % a.size();
data/curvedns-0.87/nacl/tests/onetimeauth8.cpp:36: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.
      a.replace(pos,1,1,a[pos] + 1 + (random() % 255));
data/curvedns-0.87/nacl/tests/secretbox6.cpp:24: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.
      c.replace(random() % c.size(),1,1,random());
data/curvedns-0.87/nacl/tests/secretbox6.cpp:24: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.
      c.replace(random() % c.size(),1,1,random());
data/curvedns-0.87/nacl/tests/secretbox8.c:24:9:  [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.
      c[random() % (mlen + crypto_secretbox_ZEROBYTES)] = random();
data/curvedns-0.87/nacl/tests/secretbox8.c:24:59:  [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.
      c[random() % (mlen + crypto_secretbox_ZEROBYTES)] = random();
data/curvedns-0.87/nacl/try-anything.c:99:40:  [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.
  for (i = 0;i < len + 256;++i) x[i] = random();
data/curvedns-0.87/nacl/try-anything.c:142:3:  [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.
  srandom(getpid());
data/curvedns-0.87/cache_hashtable.c:179: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(entry->key, key, CACHE_KEY_SIZE);
data/curvedns-0.87/cache_hashtable.c:180: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(entry->value, value, CACHE_VALUE_SIZE);
data/curvedns-0.87/curvedns-keygen.c:50: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 hexpublic[65], hexprivate[65];
data/curvedns-0.87/curvedns-keygen.c:73:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[256], fullpath[256];
data/curvedns-0.87/curvedns-keygen.c:99: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).
	f = fopen(fullpath, "w");
data/curvedns-0.87/curvedns-keygen.c:130: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(dnspublic, "uz5", 3);
data/curvedns-0.87/curvedns.c:73:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char ip[INET6_ADDRSTRLEN];
data/curvedns-0.87/dnscurve.c:58:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(packet->publicsharedkey, cache_entry->value, 32);
data/curvedns-0.87/dnscurve.c:69:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(packet->publicsharedkey, sharedsecret, 32);
data/curvedns-0.87/dnscurve.c:125: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(encoded_box + encoded_boxlen, name + i + 1, component_len);
data/curvedns-0.87/dnscurve.c:182: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(packet->publicsharedkey, entry->buffer + 8, 32);
data/curvedns-0.87/dnscurve.c:183: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(fullnonce, entry->buffer + 40, 12);
data/curvedns-0.87/dnscurve.c:184: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(sandbox + 16, entry->buffer + 52, entry->packetsize - 52);
data/curvedns-0.87/dnscurve.c:194:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[65];
data/curvedns-0.87/dnscurve.c:210: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(packet->nonce, fullnonce, 12);
data/curvedns-0.87/dnscurve.c:211: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(entry->buffer, sandbox + 32, sandboxlen - 32);
data/curvedns-0.87/dnscurve.c:272: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(fullnonce, sandbox + 4, 12);
data/curvedns-0.87/dnscurve.c:285: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[65];
data/curvedns-0.87/dnscurve.c:322: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(packet->qname, entry->buffer + 12, packet->qnamelen);
data/curvedns-0.87/dnscurve.c:325: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(packet->nonce, fullnonce, 12);
data/curvedns-0.87/dnscurve.c:326: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(entry->buffer, sandbox + 32, sandboxlen - 32);
data/curvedns-0.87/dnscurve.c:366: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(sandbox + 32, entry->buffer, entry->packetsize);
data/curvedns-0.87/dnscurve.c:369: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(fullnonce, packet->nonce, 12);
data/curvedns-0.87/dnscurve.c:381: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[65];
data/curvedns-0.87/dnscurve.c:397: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(entry->buffer, "R6fnvWJ8", 8);
data/curvedns-0.87/dnscurve.c:398: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(entry->buffer + 8, fullnonce, 24);
data/curvedns-0.87/dnscurve.c:399: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(entry->buffer + 32, sandbox + 16, entry->packetsize + 16);
data/curvedns-0.87/dnscurve.c:430: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(&tmpshort, entry->buffer, 2);
data/curvedns-0.87/dnscurve.c:439: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(sandbox + 32, entry->buffer, entry->packetsize);
data/curvedns-0.87/dnscurve.c:442: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(fullnonce, packet->nonce, 12);
data/curvedns-0.87/dnscurve.c:453: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[65];
data/curvedns-0.87/dnscurve.c:470: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(sandbox + 4, fullnonce + 12, 12);
data/curvedns-0.87/dnscurve.c:475: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(entry->buffer, &tmpshort, 2);
data/curvedns-0.87/dnscurve.c:478: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(entry->buffer + 2, "\x85", 1);
data/curvedns-0.87/dnscurve.c:480: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(entry->buffer + 2, "\x84", 1);
data/curvedns-0.87/dnscurve.c:482: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(entry->buffer + 3,	"\x00"
data/curvedns-0.87/dnscurve.c:491: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(entry->buffer + 12, packet->qname, packet->qnamelen);
data/curvedns-0.87/dnscurve.c:496: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(entry->buffer + pos, 	"\x00\x10"	// question type: TXT
data/curvedns-0.87/dnscurve.c:512: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(entry->buffer + pos, &tmpshort, 2);
data/curvedns-0.87/dnscurve.c:525: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(entry->buffer + pos + 1, sandbox + last, labelsize);
data/curvedns-0.87/event_main.c:128:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char s[52];
data/curvedns-0.87/event_tcp.c:420: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 s[52];
data/curvedns-0.87/event_udp.c:135: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 s[52];
data/curvedns-0.87/event_udp.c:204: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 s[52];
data/curvedns-0.87/ip.c:202:5:  [2] (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.sin6.sin6_addr),
data/curvedns-0.87/ip.c:214:5:  [2] (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.sin.sin_addr),
data/curvedns-0.87/ip.c:306: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(out, result->ai_addr, result->ai_addrlen);
data/curvedns-0.87/ip.c:367:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char address_string[INET6_ADDRSTRLEN];
data/curvedns-0.87/misc.c:71: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).
		*result = atoi(ptr);
data/curvedns-0.87/misc.c:203: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).
	global_urandom_fd = open("/dev/urandom", O_RDONLY);
data/curvedns-0.87/misc.c:231: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(nonce, time, len);
data/curvedns-0.87/misc.c:233: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(nonce, time, 8);
data/curvedns-0.87/nacl/commandline/nacl-sha256.c:20: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 h[crypto_hash_sha256_BYTES];
data/curvedns-0.87/nacl/commandline/nacl-sha256.c:53: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(newinput,input,inputlen);
data/curvedns-0.87/nacl/commandline/nacl-sha512.c:20: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 h[crypto_hash_sha512_BYTES];
data/curvedns-0.87/nacl/commandline/nacl-sha512.c:53: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(newinput,input,inputlen);
data/curvedns-0.87/nacl/cpucycles/dev4ns.c:28: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).
    fddev = open("/dev/cpucycles4ns",O_RDONLY);
data/curvedns-0.87/nacl/cpucycles/osfreq.c:7:7:  [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("/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq", "r");
data/curvedns-0.87/nacl/cpucycles/osfreq.c:14:7:  [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("/sys/devices/system/cpu/cpu0/clock_tick", "r");
data/curvedns-0.87/nacl/cpucycles/osfreq.c:21:7:  [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/cpuinfo","r");
data/curvedns-0.87/nacl/crypto_auth/hmacsha256/ref/hmac.c:14:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 iv[32] = {
data/curvedns-0.87/nacl/crypto_auth/hmacsha256/ref/hmac.c:27: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 h[32];
data/curvedns-0.87/nacl/crypto_auth/hmacsha256/ref/hmac.c:28: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 padded[128];
data/curvedns-0.87/nacl/crypto_auth/hmacsha256/ref/verify.c:6: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 correct[32];
data/curvedns-0.87/nacl/crypto_auth/hmacsha512256/ref/hmac.c:14: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 iv[64] = {
data/curvedns-0.87/nacl/crypto_auth/hmacsha512256/ref/hmac.c:27: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 h[64];
data/curvedns-0.87/nacl/crypto_auth/hmacsha512256/ref/hmac.c:28: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 padded[256];
data/curvedns-0.87/nacl/crypto_auth/hmacsha512256/ref/verify.c:6: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 correct[32];
data/curvedns-0.87/nacl/crypto_auth/try.c:49: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 checksum[crypto_auth_BYTES * 2 + 1];
data/curvedns-0.87/nacl/crypto_auth/wrapper-auth.cpp:8: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 a[crypto_auth_BYTES];
data/curvedns-0.87/nacl/crypto_box/curve25519xsalsa20poly1305/ref/before.c:5: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 sigma[16] = "expand 32-byte k";
data/curvedns-0.87/nacl/crypto_box/curve25519xsalsa20poly1305/ref/before.c:6: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 n[16] = {0};
data/curvedns-0.87/nacl/crypto_box/curve25519xsalsa20poly1305/ref/before.c:14: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[32];
data/curvedns-0.87/nacl/crypto_box/curve25519xsalsa20poly1305/ref/box.c:11: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 k[crypto_box_BEFORENMBYTES];
data/curvedns-0.87/nacl/crypto_box/curve25519xsalsa20poly1305/ref/box.c:24: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 k[crypto_box_BEFORENMBYTES];
data/curvedns-0.87/nacl/crypto_box/try.c:77: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 checksum[nlen * 2 + 1];
data/curvedns-0.87/nacl/crypto_box/wrapper-box.cpp:11: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 mpad[mlen];
data/curvedns-0.87/nacl/crypto_box/wrapper-box.cpp:14: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 cpad[mlen];
data/curvedns-0.87/nacl/crypto_box/wrapper-keypair.cpp:7: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 pk[crypto_box_PUBLICKEYBYTES];
data/curvedns-0.87/nacl/crypto_box/wrapper-keypair.cpp:8: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 sk[crypto_box_SECRETKEYBYTES];
data/curvedns-0.87/nacl/crypto_box/wrapper-open.cpp:11: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 cpad[clen];
data/curvedns-0.87/nacl/crypto_box/wrapper-open.cpp:14: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 mpad[clen];
data/curvedns-0.87/nacl/crypto_core/try.c:66: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 checksum[hlen * 2 + 1];
data/curvedns-0.87/nacl/crypto_hash/sha256/ref/hash.c:14:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 iv[32] = {
data/curvedns-0.87/nacl/crypto_hash/sha256/ref/hash.c:27: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 h[32];
data/curvedns-0.87/nacl/crypto_hash/sha256/ref/hash.c:28: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 padded[128];
data/curvedns-0.87/nacl/crypto_hash/sha512/ref/hash.c:12: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 iv[64] = {
data/curvedns-0.87/nacl/crypto_hash/sha512/ref/hash.c:27: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 h[64];
data/curvedns-0.87/nacl/crypto_hash/sha512/ref/hash.c:28: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 padded[256];
data/curvedns-0.87/nacl/crypto_hash/try.c:44: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 checksum[crypto_hash_BYTES * 2 + 1];
data/curvedns-0.87/nacl/crypto_hash/wrapper-hash.cpp:7: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 h[crypto_hash_BYTES];
data/curvedns-0.87/nacl/crypto_hashblocks/try.c:44: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 checksum[crypto_hashblocks_STATEBYTES * 2 + 1];
data/curvedns-0.87/nacl/crypto_onetimeauth/poly1305/53/verify.c:6: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 correct[16];
data/curvedns-0.87/nacl/crypto_onetimeauth/poly1305/amd64/verify.c:6: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 correct[16];
data/curvedns-0.87/nacl/crypto_onetimeauth/poly1305/ref/verify.c:6: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 correct[16];
data/curvedns-0.87/nacl/crypto_onetimeauth/poly1305/x86/verify.c:6: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 correct[16];
data/curvedns-0.87/nacl/crypto_onetimeauth/try.c:49: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 checksum[crypto_onetimeauth_BYTES * 2 + 1];
data/curvedns-0.87/nacl/crypto_onetimeauth/wrapper-auth.cpp:8: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 a[crypto_onetimeauth_BYTES];
data/curvedns-0.87/nacl/crypto_scalarmult/curve25519/athlon/base.c:3: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 basepoint[32] = {9};
data/curvedns-0.87/nacl/crypto_scalarmult/curve25519/athlon/smult.c: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 e[32];
data/curvedns-0.87/nacl/crypto_scalarmult/curve25519/donna_c64/base.c:3: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 basepoint[32] = {9};
data/curvedns-0.87/nacl/crypto_scalarmult/curve25519/donna_c64/smult.c:295: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(origx, x, 5 * sizeof(felem));
data/curvedns-0.87/nacl/crypto_scalarmult/curve25519/donna_c64/smult.c:299: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(origxprime, xprime, sizeof(felem) * 5);
data/curvedns-0.87/nacl/crypto_scalarmult/curve25519/donna_c64/smult.c:304: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(origxprime, xxprime, sizeof(felem) * 5);
data/curvedns-0.87/nacl/crypto_scalarmult/curve25519/donna_c64/smult.c:354: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(nqpqx, q, sizeof(felem) * 5);
data/curvedns-0.87/nacl/crypto_scalarmult/curve25519/donna_c64/smult.c:388: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(resultx, nqx, sizeof(felem) * 5);
data/curvedns-0.87/nacl/crypto_scalarmult/curve25519/donna_c64/smult.c:389: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(resultz, nqz, sizeof(felem) * 5);
data/curvedns-0.87/nacl/crypto_scalarmult/curve25519/donna_c64/smult.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.
  unsigned char e[32];
data/curvedns-0.87/nacl/crypto_scalarmult/curve25519/ref/base.c:10: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.
const unsigned char base[32] = {9};
data/curvedns-0.87/nacl/crypto_scalarmult/curve25519/ref/smult.c:123:59:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 void mainloop(unsigned int work[64],const unsigned char e[32])
data/curvedns-0.87/nacl/crypto_scalarmult/curve25519/ref/smult.c:252: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 e[32];
data/curvedns-0.87/nacl/crypto_scalarmult/try.c:60: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 checksum[crypto_scalarmult_BYTES * 2 + 1];
data/curvedns-0.87/nacl/crypto_scalarmult/wrapper-base.cpp:7: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 q[crypto_scalarmult_BYTES];
data/curvedns-0.87/nacl/crypto_scalarmult/wrapper-mult.cpp:7: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 q[crypto_scalarmult_BYTES];
data/curvedns-0.87/nacl/crypto_secretbox/try.c:59: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 checksum[klen * 2 + 1];
data/curvedns-0.87/nacl/crypto_secretbox/wrapper-box.cpp:10: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 mpad[mlen];
data/curvedns-0.87/nacl/crypto_secretbox/wrapper-box.cpp:13: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 cpad[mlen];
data/curvedns-0.87/nacl/crypto_secretbox/wrapper-open.cpp:10: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 cpad[clen];
data/curvedns-0.87/nacl/crypto_secretbox/wrapper-open.cpp:13: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 mpad[clen];
data/curvedns-0.87/nacl/crypto_secretbox/xsalsa20poly1305/ref/box.c:28: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 subkey[32];
data/curvedns-0.87/nacl/crypto_stream/aes128ctr/core2/stream.c:10:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/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[crypto_stream_BEFORENMBYTES];
data/curvedns-0.87/nacl/crypto_stream/aes128ctr/core2/xor.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 d[crypto_stream_BEFORENMBYTES];
data/curvedns-0.87/nacl/crypto_stream/aes128ctr/portable/afternm.c:33: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 bl[128];
data/curvedns-0.87/nacl/crypto_stream/aes128ctr/portable/consts.c:3: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.
const unsigned char ROTB[16] = {0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x08};
data/curvedns-0.87/nacl/crypto_stream/aes128ctr/portable/consts.c:4: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.
const unsigned char M0[16]   = {0x0f, 0x0b, 0x07, 0x03, 0x0e, 0x0a, 0x06, 0x02, 0x0d, 0x09, 0x05, 0x01, 0x0c, 0x08, 0x04, 0x00};
data/curvedns-0.87/nacl/crypto_stream/aes128ctr/portable/consts.c:5: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.
const unsigned char EXPB0[16] = {0x03, 0x03, 0x03, 0x03, 0x07, 0x07, 0x07, 0x07, 0x0b, 0x0b, 0x0b, 0x0b, 0x0f, 0x0f, 0x0f, 0x0f};
data/curvedns-0.87/nacl/crypto_stream/aes128ctr/portable/consts.c:7: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.
const unsigned char SWAP32[16] = {0x03, 0x02, 0x01, 0x00, 0x07, 0x06, 0x05, 0x04, 0x0b, 0x0a, 0x09, 0x08, 0x0f, 0x0e, 0x0d, 0x0c};
data/curvedns-0.87/nacl/crypto_stream/aes128ctr/portable/consts.c:8: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.
const unsigned char M0SWAP[16] = {0x0c, 0x08, 0x04, 0x00, 0x0d, 0x09, 0x05, 0x01, 0x0e, 0x0a, 0x06, 0x02, 0x0f, 0x0b, 0x07, 0x03}; 
data/curvedns-0.87/nacl/crypto_stream/aes128ctr/portable/consts.c:9: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.
const unsigned char SR[16] = {0x01, 0x02, 0x03, 0x00, 0x06, 0x07, 0x04, 0x05, 0x0b, 0x08, 0x09, 0x0a, 0x0c, 0x0d, 0x0e, 0x0f};
data/curvedns-0.87/nacl/crypto_stream/aes128ctr/portable/consts.c:10: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.
const unsigned char SRM0[16] = {0x0f, 0x0a, 0x05, 0x00, 0x0e, 0x09, 0x04, 0x03, 0x0d, 0x08, 0x07, 0x02, 0x0c, 0x0b, 0x06, 0x01};
data/curvedns-0.87/nacl/crypto_stream/aes128ctr/portable/consts.h:17: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.
extern const unsigned char ROTB[16];
data/curvedns-0.87/nacl/crypto_stream/aes128ctr/portable/consts.h:18: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.
extern const unsigned char M0[16];
data/curvedns-0.87/nacl/crypto_stream/aes128ctr/portable/consts.h:19: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.
extern const unsigned char EXPB0[16];
data/curvedns-0.87/nacl/crypto_stream/aes128ctr/portable/consts.h:20: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.
extern const unsigned char SWAP32[16];
data/curvedns-0.87/nacl/crypto_stream/aes128ctr/portable/consts.h:21: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.
extern const unsigned char M0SWAP[16];
data/curvedns-0.87/nacl/crypto_stream/aes128ctr/portable/consts.h:22: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.
extern const unsigned char SR[16];
data/curvedns-0.87/nacl/crypto_stream/aes128ctr/portable/consts.h:23: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.
extern const unsigned char SRM0[16];
data/curvedns-0.87/nacl/crypto_stream/aes128ctr/portable/stream.c:10:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/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[crypto_stream_BEFORENMBYTES];
data/curvedns-0.87/nacl/crypto_stream/aes128ctr/portable/stream.c:24:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/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[crypto_stream_BEFORENMBYTES];
data/curvedns-0.87/nacl/crypto_stream/aes128ctr/portable/xor_afternm.c:34: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 bl[128];
data/curvedns-0.87/nacl/crypto_stream/salsa20/ref/stream.c:12: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 sigma[16] = "expand 32-byte k";
data/curvedns-0.87/nacl/crypto_stream/salsa20/ref/stream.c:20: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 in[16];
data/curvedns-0.87/nacl/crypto_stream/salsa20/ref/stream.c:21: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 block[64];
data/curvedns-0.87/nacl/crypto_stream/salsa20/ref/xor.c:12: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 sigma[16] = "expand 32-byte k";
data/curvedns-0.87/nacl/crypto_stream/salsa20/ref/xor.c:21: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 in[16];
data/curvedns-0.87/nacl/crypto_stream/salsa20/ref/xor.c: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 block[64];
data/curvedns-0.87/nacl/crypto_stream/salsa2012/ref/stream.c:12: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 sigma[16] = "expand 32-byte k";
data/curvedns-0.87/nacl/crypto_stream/salsa2012/ref/stream.c:20: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 in[16];
data/curvedns-0.87/nacl/crypto_stream/salsa2012/ref/stream.c:21: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 block[64];
data/curvedns-0.87/nacl/crypto_stream/salsa2012/ref/xor.c:12: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 sigma[16] = "expand 32-byte k";
data/curvedns-0.87/nacl/crypto_stream/salsa2012/ref/xor.c:21: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 in[16];
data/curvedns-0.87/nacl/crypto_stream/salsa2012/ref/xor.c: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 block[64];
data/curvedns-0.87/nacl/crypto_stream/salsa208/ref/stream.c:12: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 sigma[16] = "expand 32-byte k";
data/curvedns-0.87/nacl/crypto_stream/salsa208/ref/stream.c:20: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 in[16];
data/curvedns-0.87/nacl/crypto_stream/salsa208/ref/stream.c:21: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 block[64];
data/curvedns-0.87/nacl/crypto_stream/salsa208/ref/xor.c:12: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 sigma[16] = "expand 32-byte k";
data/curvedns-0.87/nacl/crypto_stream/salsa208/ref/xor.c:21: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 in[16];
data/curvedns-0.87/nacl/crypto_stream/salsa208/ref/xor.c: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 block[64];
data/curvedns-0.87/nacl/crypto_stream/try.c:56: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 checksum[crypto_stream_KEYBYTES * 2 + 1];
data/curvedns-0.87/nacl/crypto_stream/wrapper-stream.cpp:9: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 c[clen];
data/curvedns-0.87/nacl/crypto_stream/wrapper-xor.cpp:10: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 c[mlen];
data/curvedns-0.87/nacl/crypto_stream/xsalsa20/ref/stream.c:11: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 sigma[16] = "expand 32-byte k";
data/curvedns-0.87/nacl/crypto_stream/xsalsa20/ref/stream.c:19: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 subkey[32];
data/curvedns-0.87/nacl/crypto_stream/xsalsa20/ref/xor.c:11: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 sigma[16] = "expand 32-byte k";
data/curvedns-0.87/nacl/crypto_stream/xsalsa20/ref/xor.c:20: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 subkey[32];
data/curvedns-0.87/nacl/crypto_verify/try.c:49: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 checksum[2];
data/curvedns-0.87/nacl/measure-anything.c:139:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/curvedns-0.87/nacl/measure-anything.c:141: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, "%d.%d.%d", __ICC/100, __ICC%100,
data/curvedns-0.87/nacl/measure-anything.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 buf[256];
data/curvedns-0.87/nacl/measure-anything.c:149: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, "%d.%d.%d", __PGIC__, __PGIC_MINOR__, __PGIC_PATCHLEVEL__);
data/curvedns-0.87/nacl/measure-anything.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 buf[256];
data/curvedns-0.87/nacl/measure-anything.c:162:7:  [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.%d.%d", major, minor, micro);
data/curvedns-0.87/nacl/measure-anything.c:164:7:  [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.%d", major, minor);
data/curvedns-0.87/nacl/randombytes/devurandom.c:16:12:  [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/curvedns-0.87/nacl/randombytes/test.c:3: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 x[65536];
data/curvedns-0.87/nacl/tests/auth.c:5: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 key[32] = "Jefe";
data/curvedns-0.87/nacl/tests/auth.c:6: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 c[28] = "what do ya want for nothing?";
data/curvedns-0.87/nacl/tests/auth.c:8: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 a[32];
data/curvedns-0.87/nacl/tests/auth2.c:6: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 key[32] = {
data/curvedns-0.87/nacl/tests/auth2.c:13: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 c[50] = {
data/curvedns-0.87/nacl/tests/auth2.c:23: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 a[32];
data/curvedns-0.87/nacl/tests/auth3.c:6: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 key[32] = {
data/curvedns-0.87/nacl/tests/auth3.c:13: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 c[50] = {
data/curvedns-0.87/nacl/tests/auth3.c:23: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 a[32] = {
data/curvedns-0.87/nacl/tests/auth4.cpp:8: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 key_bytes[32] = {
data/curvedns-0.87/nacl/tests/auth4.cpp:15: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 c_bytes[50] = {
data/curvedns-0.87/nacl/tests/auth4.cpp:25: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_bytes[32] = {
data/curvedns-0.87/nacl/tests/auth5.c:6: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 key[32];
data/curvedns-0.87/nacl/tests/auth5.c:7: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 c[10000];
data/curvedns-0.87/nacl/tests/auth5.c:8: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 a[32];
data/curvedns-0.87/nacl/tests/auth6.cpp:13:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/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_bytes[32];
data/curvedns-0.87/nacl/tests/auth6.cpp: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 c_bytes[clen];
data/curvedns-0.87/nacl/tests/box.c:4: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 alicesk[32] = {
data/curvedns-0.87/nacl/tests/box.c:11: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 bobpk[32] = {
data/curvedns-0.87/nacl/tests/box.c:18: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 nonce[24] = {
data/curvedns-0.87/nacl/tests/box.c:25: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 m[163] = {
data/curvedns-0.87/nacl/tests/box.c:49: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 c[163];
data/curvedns-0.87/nacl/tests/box2.c:4: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 bobsk[32] = {
data/curvedns-0.87/nacl/tests/box2.c:11: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 alicepk[32] = {
data/curvedns-0.87/nacl/tests/box2.c:18: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 nonce[24] = {
data/curvedns-0.87/nacl/tests/box2.c:25: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 c[163] = {
data/curvedns-0.87/nacl/tests/box2.c:49: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 m[163];
data/curvedns-0.87/nacl/tests/box3.cpp:6: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 alicesk_bytes[32] = {
data/curvedns-0.87/nacl/tests/box3.cpp:13: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 bobpk_bytes[32] = {
data/curvedns-0.87/nacl/tests/box3.cpp:20: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 nonce_bytes[24] = {
data/curvedns-0.87/nacl/tests/box3.cpp:26: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 m_bytes[131] = {
data/curvedns-0.87/nacl/tests/box4.cpp:6: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 bobsk_bytes[32] = {
data/curvedns-0.87/nacl/tests/box4.cpp:13: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 alicepk_bytes[32] = {
data/curvedns-0.87/nacl/tests/box4.cpp:20: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 nonce_bytes[24] = {
data/curvedns-0.87/nacl/tests/box4.cpp:26: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 c_bytes[147] = {
data/curvedns-0.87/nacl/tests/box5.cpp: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 nbytes[crypto_box_NONCEBYTES];
data/curvedns-0.87/nacl/tests/box5.cpp: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 mbytes[mlen];
data/curvedns-0.87/nacl/tests/box6.cpp: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 nbytes[crypto_box_NONCEBYTES];
data/curvedns-0.87/nacl/tests/box6.cpp:19:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char mbytes[mlen];
data/curvedns-0.87/nacl/tests/box7.c:5: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 alicesk[crypto_box_SECRETKEYBYTES];
data/curvedns-0.87/nacl/tests/box7.c:6: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 alicepk[crypto_box_PUBLICKEYBYTES];
data/curvedns-0.87/nacl/tests/box7.c:7: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 bobsk[crypto_box_SECRETKEYBYTES];
data/curvedns-0.87/nacl/tests/box7.c:8: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 bobpk[crypto_box_PUBLICKEYBYTES];
data/curvedns-0.87/nacl/tests/box7.c:9: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 n[crypto_box_NONCEBYTES];
data/curvedns-0.87/nacl/tests/box7.c:10: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 m[10000];
data/curvedns-0.87/nacl/tests/box7.c:11: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 c[10000];
data/curvedns-0.87/nacl/tests/box7.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 m2[10000];
data/curvedns-0.87/nacl/tests/box8.c:5: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 alicesk[crypto_box_SECRETKEYBYTES];
data/curvedns-0.87/nacl/tests/box8.c:6: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 alicepk[crypto_box_PUBLICKEYBYTES];
data/curvedns-0.87/nacl/tests/box8.c:7: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 bobsk[crypto_box_SECRETKEYBYTES];
data/curvedns-0.87/nacl/tests/box8.c:8: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 bobpk[crypto_box_PUBLICKEYBYTES];
data/curvedns-0.87/nacl/tests/box8.c:9: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 n[crypto_box_NONCEBYTES];
data/curvedns-0.87/nacl/tests/box8.c:10: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 m[10000];
data/curvedns-0.87/nacl/tests/box8.c:11: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 c[10000];
data/curvedns-0.87/nacl/tests/box8.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 m2[10000];
data/curvedns-0.87/nacl/tests/core1.c:4: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 shared[32] = {
data/curvedns-0.87/nacl/tests/core1.c:11: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 zero[32] = { 0 };
data/curvedns-0.87/nacl/tests/core1.c:13: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 c[16] = {
data/curvedns-0.87/nacl/tests/core1.c:18: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 firstkey[32];
data/curvedns-0.87/nacl/tests/core2.c:4: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 firstkey[32] = {
data/curvedns-0.87/nacl/tests/core2.c:11: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 nonceprefix[16] = {
data/curvedns-0.87/nacl/tests/core2.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 c[16] = {
data/curvedns-0.87/nacl/tests/core2.c:21: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 secondkey[32];
data/curvedns-0.87/nacl/tests/core3.c:5: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 secondkey[32] = {
data/curvedns-0.87/nacl/tests/core3.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 noncesuffix[8] = {
data/curvedns-0.87/nacl/tests/core3.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 c[16] = {
data/curvedns-0.87/nacl/tests/core3.c:21: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 in[16] = { 0 } ;
data/curvedns-0.87/nacl/tests/core3.c:23: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 output[64 * 256 * 256];
data/curvedns-0.87/nacl/tests/core3.c:25: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 h[32];
data/curvedns-0.87/nacl/tests/core4.c:4: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 k[32] = {
data/curvedns-0.87/nacl/tests/core4.c:11: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 in[16] = {
data/curvedns-0.87/nacl/tests/core4.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 c[16] = {
data/curvedns-0.87/nacl/tests/core4.c:21: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 out[64];
data/curvedns-0.87/nacl/tests/core5.c:4: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 k[32] = {
data/curvedns-0.87/nacl/tests/core5.c:11: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 in[16] = {
data/curvedns-0.87/nacl/tests/core5.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 c[16] = {
data/curvedns-0.87/nacl/tests/core5.c:21: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 out[32];
data/curvedns-0.87/nacl/tests/core6.c:4: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 k[32] = {
data/curvedns-0.87/nacl/tests/core6.c:11: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 in[16] = {
data/curvedns-0.87/nacl/tests/core6.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 c[16] = {
data/curvedns-0.87/nacl/tests/core6.c:21: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 out[64];
data/curvedns-0.87/nacl/tests/hash.c:4: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 x[8] = "testing\n";
data/curvedns-0.87/nacl/tests/hash.c:5: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 h[crypto_hash_BYTES];
data/curvedns-0.87/nacl/tests/hash3.c:4: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 x[8] = "testing\n";
data/curvedns-0.87/nacl/tests/hash3.c:5: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 h[crypto_hash_sha512_BYTES];
data/curvedns-0.87/nacl/tests/onetimeauth.c:4: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 rs[32] = {
data/curvedns-0.87/nacl/tests/onetimeauth.c:11: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 c[131] = {
data/curvedns-0.87/nacl/tests/onetimeauth.c:31: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 a[16];
data/curvedns-0.87/nacl/tests/onetimeauth2.c:4: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 rs[32] = {
data/curvedns-0.87/nacl/tests/onetimeauth2.c:11: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 c[131] = {
data/curvedns-0.87/nacl/tests/onetimeauth2.c:31: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 a[16] = {
data/curvedns-0.87/nacl/tests/onetimeauth5.cpp:6: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 rs_bytes[32] = {
data/curvedns-0.87/nacl/tests/onetimeauth5.cpp:13: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 c_bytes[131] = {
data/curvedns-0.87/nacl/tests/onetimeauth5.cpp:33: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 a[16];
data/curvedns-0.87/nacl/tests/onetimeauth6.cpp:6: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 rs_bytes[32] = {
data/curvedns-0.87/nacl/tests/onetimeauth6.cpp:13: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 c_bytes[131] = {
data/curvedns-0.87/nacl/tests/onetimeauth6.cpp:33: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_bytes[16] = {
data/curvedns-0.87/nacl/tests/onetimeauth7.c:6: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 key[32];
data/curvedns-0.87/nacl/tests/onetimeauth7.c:7: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 c[10000];
data/curvedns-0.87/nacl/tests/onetimeauth7.c:8: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 a[16];
data/curvedns-0.87/nacl/tests/onetimeauth8.cpp:13:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/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_bytes[32];
data/curvedns-0.87/nacl/tests/onetimeauth8.cpp: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 c_bytes[clen];
data/curvedns-0.87/nacl/tests/scalarmult.c:4: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 alicesk[32] = {
data/curvedns-0.87/nacl/tests/scalarmult.c:11: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 alicepk[32];
data/curvedns-0.87/nacl/tests/scalarmult2.c:4: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 bobsk[32] = {
data/curvedns-0.87/nacl/tests/scalarmult2.c:11: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 bobpk[32];
data/curvedns-0.87/nacl/tests/scalarmult3.cpp:11: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 alicesk_bytes[32] = {
data/curvedns-0.87/nacl/tests/scalarmult4.cpp:11: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 bobsk_bytes[32] = {
data/curvedns-0.87/nacl/tests/scalarmult5.c:4: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 alicesk[32] = {
data/curvedns-0.87/nacl/tests/scalarmult5.c:11: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 bobpk[32] = {
data/curvedns-0.87/nacl/tests/scalarmult5.c:18: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 k[32];
data/curvedns-0.87/nacl/tests/scalarmult6.c:4: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 bobsk[32] = {
data/curvedns-0.87/nacl/tests/scalarmult6.c:11: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 alicepk[32] = {
data/curvedns-0.87/nacl/tests/scalarmult6.c:18: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 k[32];
data/curvedns-0.87/nacl/tests/scalarmult7.cpp:6: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 alicesk_bytes[32] = {
data/curvedns-0.87/nacl/tests/scalarmult7.cpp:13: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 bobpk_bytes[32] = {
data/curvedns-0.87/nacl/tests/secretbox.c:4: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 firstkey[32] = {
data/curvedns-0.87/nacl/tests/secretbox.c:11: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 nonce[24] = {
data/curvedns-0.87/nacl/tests/secretbox.c:18: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 m[163] = {
data/curvedns-0.87/nacl/tests/secretbox.c:42: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 c[163];
data/curvedns-0.87/nacl/tests/secretbox2.c:4: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 firstkey[32] = {
data/curvedns-0.87/nacl/tests/secretbox2.c:11: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 nonce[24] = {
data/curvedns-0.87/nacl/tests/secretbox2.c:18: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 c[163] = {
data/curvedns-0.87/nacl/tests/secretbox2.c:42: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 m[163];
data/curvedns-0.87/nacl/tests/secretbox3.cpp:6: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 firstkey_bytes[32] = {
data/curvedns-0.87/nacl/tests/secretbox3.cpp:13: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 nonce_bytes[24] = {
data/curvedns-0.87/nacl/tests/secretbox3.cpp:19: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 m_bytes[131] = {
data/curvedns-0.87/nacl/tests/secretbox4.cpp:6: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 firstkey_bytes[32] = {
data/curvedns-0.87/nacl/tests/secretbox4.cpp:13: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 nonce_bytes[24] = {
data/curvedns-0.87/nacl/tests/secretbox4.cpp:19: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 c_bytes[147] = {
data/curvedns-0.87/nacl/tests/secretbox5.cpp: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 kbytes[crypto_secretbox_KEYBYTES];
data/curvedns-0.87/nacl/tests/secretbox5.cpp:14:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char nbytes[crypto_secretbox_NONCEBYTES];
data/curvedns-0.87/nacl/tests/secretbox5.cpp: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 mbytes[mlen];
data/curvedns-0.87/nacl/tests/secretbox6.cpp:12:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char kbytes[crypto_secretbox_KEYBYTES];
data/curvedns-0.87/nacl/tests/secretbox6.cpp: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 nbytes[crypto_secretbox_NONCEBYTES];
data/curvedns-0.87/nacl/tests/secretbox6.cpp: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 mbytes[mlen];
data/curvedns-0.87/nacl/tests/secretbox7.c:5: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 k[crypto_secretbox_KEYBYTES];
data/curvedns-0.87/nacl/tests/secretbox7.c:6: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 n[crypto_secretbox_NONCEBYTES];
data/curvedns-0.87/nacl/tests/secretbox7.c:7: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 m[10000];
data/curvedns-0.87/nacl/tests/secretbox7.c:8: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 c[10000];
data/curvedns-0.87/nacl/tests/secretbox7.c:9: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 m2[10000];
data/curvedns-0.87/nacl/tests/secretbox8.c:5: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 k[crypto_secretbox_KEYBYTES];
data/curvedns-0.87/nacl/tests/secretbox8.c:6: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 n[crypto_secretbox_NONCEBYTES];
data/curvedns-0.87/nacl/tests/secretbox8.c:7: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 m[10000];
data/curvedns-0.87/nacl/tests/secretbox8.c:8: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 c[10000];
data/curvedns-0.87/nacl/tests/secretbox8.c:9: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 m2[10000];
data/curvedns-0.87/nacl/tests/stream.c:5: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 firstkey[32] = {
data/curvedns-0.87/nacl/tests/stream.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 nonce[24] = {
data/curvedns-0.87/nacl/tests/stream.c:18: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 output[4194304];
data/curvedns-0.87/nacl/tests/stream.c:20: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 h[32];
data/curvedns-0.87/nacl/tests/stream2.c:5: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 secondkey[32] = {
data/curvedns-0.87/nacl/tests/stream2.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 noncesuffix[8] = {
data/curvedns-0.87/nacl/tests/stream2.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 output[4194304];
data/curvedns-0.87/nacl/tests/stream2.c:18: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 h[32];
data/curvedns-0.87/nacl/tests/stream3.c:4: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 firstkey[32] = {
data/curvedns-0.87/nacl/tests/stream3.c:11: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 nonce[24] = {
data/curvedns-0.87/nacl/tests/stream3.c:17: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 rs[32];
data/curvedns-0.87/nacl/tests/stream4.c:4: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 firstkey[32] = {
data/curvedns-0.87/nacl/tests/stream4.c:11: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 nonce[24] = {
data/curvedns-0.87/nacl/tests/stream4.c:17: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 m[163] = {
data/curvedns-0.87/nacl/tests/stream4.c:41: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 c[163];
data/curvedns-0.87/nacl/tests/stream5.cpp:7: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 firstkey_bytes[32] = {
data/curvedns-0.87/nacl/tests/stream5.cpp:14: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 nonce_bytes[24] = {
data/curvedns-0.87/nacl/tests/stream6.cpp:7: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 secondkey_bytes[32] = {
data/curvedns-0.87/nacl/tests/stream6.cpp:14: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 noncesuffix_bytes[8] = {
data/curvedns-0.87/nacl/tests/stream7.cpp:6: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 firstkey_bytes[32] = {
data/curvedns-0.87/nacl/tests/stream7.cpp:13: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 nonce_bytes[24] = {
data/curvedns-0.87/nacl/tests/stream8.cpp:6: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 firstkey_bytes[32] = {
data/curvedns-0.87/nacl/tests/stream8.cpp:13: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 nonce_bytes[24] = {
data/curvedns-0.87/nacl/tests/stream8.cpp:19: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 m_bytes[163] = {
data/curvedns-0.87/curvedns-keygen.c:61:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		i = read(global_urandom_fd, x, i);
data/curvedns-0.87/curvedns-keygen.c:77:6:  [1] (buffer) strlen:
  Does not handle 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(name) > 200) {
data/curvedns-0.87/ip.c:254: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(inip);
data/curvedns-0.87/misc.c:92:6:  [1] (buffer) strlen:
  Does not handle 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(ptr) != 64) {
data/curvedns-0.87/misc.c:191:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		i = read(global_urandom_fd, x, i);
data/curvedns-0.87/nacl/commandline/nacl-sha256.c:47:16:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  while ((ch = getchar()) != EOF) {
data/curvedns-0.87/nacl/commandline/nacl-sha512.c:47:16:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  while ((ch = getchar()) != EOF) {
data/curvedns-0.87/nacl/cpucycles/dev4ns.c:16:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if (read(fddev,result,12) == 12) return;
data/curvedns-0.87/nacl/randombytes/devurandom.c:25:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    i = read(fd,x,i);

ANALYSIS SUMMARY:

Hits = 483
Lines analyzed = 16796 in approximately 0.64 seconds (26095 lines/second)
Physical Source Lines of Code (SLOC) = 13053
Hits@level = [0] 196 [1]   9 [2] 345 [3] 124 [4]   4 [5]   1
Hits@level+ = [0+] 679 [1+] 483 [2+] 474 [3+] 129 [4+]   5 [5+]   1
Hits/KSLOC@level+ = [0+] 52.0187 [1+] 37.003 [2+] 36.3135 [3+] 9.88279 [4+] 0.383054 [5+] 0.0766107
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.