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/wolfssl-4.5.0+dfsg/ctaocrypt/src/aes.c Examining data/wolfssl-4.5.0+dfsg/ctaocrypt/src/des3.c Examining data/wolfssl-4.5.0+dfsg/ctaocrypt/src/hmac.c Examining data/wolfssl-4.5.0+dfsg/ctaocrypt/src/misc.c Examining data/wolfssl-4.5.0+dfsg/ctaocrypt/src/random.c Examining data/wolfssl-4.5.0+dfsg/ctaocrypt/src/rsa.c Examining data/wolfssl-4.5.0+dfsg/ctaocrypt/src/sha.c Examining data/wolfssl-4.5.0+dfsg/ctaocrypt/src/sha256.c Examining data/wolfssl-4.5.0+dfsg/ctaocrypt/src/sha512.c Examining data/wolfssl-4.5.0+dfsg/ctaocrypt/src/wolfcrypt_first.c Examining data/wolfssl-4.5.0+dfsg/ctaocrypt/src/wolfcrypt_last.c Examining data/wolfssl-4.5.0+dfsg/cyassl/callbacks.h Examining data/wolfssl-4.5.0+dfsg/cyassl/certs_test.h Examining data/wolfssl-4.5.0+dfsg/cyassl/crl.h Examining data/wolfssl-4.5.0+dfsg/cyassl/ctaocrypt/aes.h Examining data/wolfssl-4.5.0+dfsg/cyassl/ctaocrypt/arc4.h Examining data/wolfssl-4.5.0+dfsg/cyassl/ctaocrypt/asn.h Examining data/wolfssl-4.5.0+dfsg/cyassl/ctaocrypt/asn_public.h Examining data/wolfssl-4.5.0+dfsg/cyassl/ctaocrypt/blake2-impl.h Examining data/wolfssl-4.5.0+dfsg/cyassl/ctaocrypt/blake2-int.h Examining data/wolfssl-4.5.0+dfsg/cyassl/ctaocrypt/blake2.h Examining data/wolfssl-4.5.0+dfsg/cyassl/ctaocrypt/camellia.h Examining data/wolfssl-4.5.0+dfsg/cyassl/ctaocrypt/chacha.h Examining data/wolfssl-4.5.0+dfsg/cyassl/ctaocrypt/coding.h Examining data/wolfssl-4.5.0+dfsg/cyassl/ctaocrypt/compress.h Examining data/wolfssl-4.5.0+dfsg/cyassl/ctaocrypt/des3.h Examining data/wolfssl-4.5.0+dfsg/cyassl/ctaocrypt/dh.h Examining data/wolfssl-4.5.0+dfsg/cyassl/ctaocrypt/dsa.h Examining data/wolfssl-4.5.0+dfsg/cyassl/ctaocrypt/ecc.h Examining data/wolfssl-4.5.0+dfsg/cyassl/ctaocrypt/error-crypt.h Examining data/wolfssl-4.5.0+dfsg/cyassl/ctaocrypt/fips_test.h Examining data/wolfssl-4.5.0+dfsg/cyassl/ctaocrypt/hc128.h Examining data/wolfssl-4.5.0+dfsg/cyassl/ctaocrypt/hmac.h Examining data/wolfssl-4.5.0+dfsg/cyassl/ctaocrypt/integer.h Examining data/wolfssl-4.5.0+dfsg/cyassl/ctaocrypt/logging.h Examining data/wolfssl-4.5.0+dfsg/cyassl/ctaocrypt/md2.h Examining data/wolfssl-4.5.0+dfsg/cyassl/ctaocrypt/md4.h Examining data/wolfssl-4.5.0+dfsg/cyassl/ctaocrypt/md5.h Examining data/wolfssl-4.5.0+dfsg/cyassl/ctaocrypt/memory.h Examining data/wolfssl-4.5.0+dfsg/cyassl/ctaocrypt/misc.h Examining data/wolfssl-4.5.0+dfsg/cyassl/ctaocrypt/mpi_class.h Examining data/wolfssl-4.5.0+dfsg/cyassl/ctaocrypt/mpi_superclass.h Examining data/wolfssl-4.5.0+dfsg/cyassl/ctaocrypt/pkcs7.h Examining data/wolfssl-4.5.0+dfsg/cyassl/ctaocrypt/poly1305.h Examining data/wolfssl-4.5.0+dfsg/cyassl/ctaocrypt/port/pic32/pic32mz-crypt.h Examining data/wolfssl-4.5.0+dfsg/cyassl/ctaocrypt/pwdbased.h Examining data/wolfssl-4.5.0+dfsg/cyassl/ctaocrypt/rabbit.h Examining data/wolfssl-4.5.0+dfsg/cyassl/ctaocrypt/random.h Examining data/wolfssl-4.5.0+dfsg/cyassl/ctaocrypt/ripemd.h Examining data/wolfssl-4.5.0+dfsg/cyassl/ctaocrypt/rsa.h Examining data/wolfssl-4.5.0+dfsg/cyassl/ctaocrypt/settings.h Examining data/wolfssl-4.5.0+dfsg/cyassl/ctaocrypt/settings_comp.h Examining data/wolfssl-4.5.0+dfsg/cyassl/ctaocrypt/sha.h Examining data/wolfssl-4.5.0+dfsg/cyassl/ctaocrypt/sha256.h Examining data/wolfssl-4.5.0+dfsg/cyassl/ctaocrypt/sha512.h Examining data/wolfssl-4.5.0+dfsg/cyassl/ctaocrypt/types.h Examining data/wolfssl-4.5.0+dfsg/cyassl/ctaocrypt/visibility.h Examining data/wolfssl-4.5.0+dfsg/cyassl/ctaocrypt/wc_port.h Examining data/wolfssl-4.5.0+dfsg/cyassl/ctaocrypt/tfm.h Examining data/wolfssl-4.5.0+dfsg/cyassl/error-ssl.h Examining data/wolfssl-4.5.0+dfsg/cyassl/internal.h Examining data/wolfssl-4.5.0+dfsg/cyassl/ocsp.h Examining data/wolfssl-4.5.0+dfsg/cyassl/openssl/asn1.h Examining data/wolfssl-4.5.0+dfsg/cyassl/openssl/bio.h Examining data/wolfssl-4.5.0+dfsg/cyassl/openssl/bn.h Examining data/wolfssl-4.5.0+dfsg/cyassl/openssl/conf.h Examining data/wolfssl-4.5.0+dfsg/cyassl/openssl/crypto.h Examining data/wolfssl-4.5.0+dfsg/cyassl/openssl/des.h Examining data/wolfssl-4.5.0+dfsg/cyassl/openssl/dh.h Examining data/wolfssl-4.5.0+dfsg/cyassl/openssl/dsa.h Examining data/wolfssl-4.5.0+dfsg/cyassl/openssl/ec.h Examining data/wolfssl-4.5.0+dfsg/cyassl/openssl/ec25519.h Examining data/wolfssl-4.5.0+dfsg/cyassl/openssl/ec448.h Examining data/wolfssl-4.5.0+dfsg/cyassl/openssl/ecdh.h Examining data/wolfssl-4.5.0+dfsg/cyassl/openssl/ecdsa.h Examining data/wolfssl-4.5.0+dfsg/cyassl/openssl/ed25519.h Examining data/wolfssl-4.5.0+dfsg/cyassl/openssl/ed448.h Examining data/wolfssl-4.5.0+dfsg/cyassl/openssl/engine.h Examining data/wolfssl-4.5.0+dfsg/cyassl/openssl/err.h Examining data/wolfssl-4.5.0+dfsg/cyassl/openssl/evp.h Examining data/wolfssl-4.5.0+dfsg/cyassl/openssl/hmac.h Examining data/wolfssl-4.5.0+dfsg/cyassl/openssl/lhash.h Examining data/wolfssl-4.5.0+dfsg/cyassl/openssl/md4.h Examining data/wolfssl-4.5.0+dfsg/cyassl/openssl/md5.h Examining data/wolfssl-4.5.0+dfsg/cyassl/openssl/ocsp.h Examining data/wolfssl-4.5.0+dfsg/cyassl/openssl/opensslconf.h Examining data/wolfssl-4.5.0+dfsg/cyassl/openssl/opensslv.h Examining data/wolfssl-4.5.0+dfsg/cyassl/openssl/ossl_typ.h Examining data/wolfssl-4.5.0+dfsg/cyassl/openssl/pem.h Examining data/wolfssl-4.5.0+dfsg/cyassl/openssl/pkcs12.h Examining data/wolfssl-4.5.0+dfsg/cyassl/openssl/rand.h Examining data/wolfssl-4.5.0+dfsg/cyassl/openssl/ripemd.h Examining data/wolfssl-4.5.0+dfsg/cyassl/openssl/rsa.h Examining data/wolfssl-4.5.0+dfsg/cyassl/openssl/sha.h Examining data/wolfssl-4.5.0+dfsg/cyassl/openssl/ssl.h Examining data/wolfssl-4.5.0+dfsg/cyassl/openssl/ssl23.h Examining data/wolfssl-4.5.0+dfsg/cyassl/openssl/stack.h Examining data/wolfssl-4.5.0+dfsg/cyassl/openssl/ui.h Examining data/wolfssl-4.5.0+dfsg/cyassl/openssl/x509.h Examining data/wolfssl-4.5.0+dfsg/cyassl/openssl/x509v3.h Examining data/wolfssl-4.5.0+dfsg/cyassl/sniffer.h Examining data/wolfssl-4.5.0+dfsg/cyassl/sniffer_error.h Examining data/wolfssl-4.5.0+dfsg/cyassl/ssl.h Examining data/wolfssl-4.5.0+dfsg/cyassl/test.h Examining data/wolfssl-4.5.0+dfsg/cyassl/version.h Examining data/wolfssl-4.5.0+dfsg/doc/dox_comments/header_files/aes.h Examining data/wolfssl-4.5.0+dfsg/doc/dox_comments/header_files/arc4.h Examining data/wolfssl-4.5.0+dfsg/doc/dox_comments/header_files/asn.h Examining data/wolfssl-4.5.0+dfsg/doc/dox_comments/header_files/asn_public.h Examining data/wolfssl-4.5.0+dfsg/doc/dox_comments/header_files/blake2.h Examining data/wolfssl-4.5.0+dfsg/doc/dox_comments/header_files/bn.h Examining data/wolfssl-4.5.0+dfsg/doc/dox_comments/header_files/camellia.h Examining data/wolfssl-4.5.0+dfsg/doc/dox_comments/header_files/chacha.h Examining data/wolfssl-4.5.0+dfsg/doc/dox_comments/header_files/chacha20_poly1305.h Examining data/wolfssl-4.5.0+dfsg/doc/dox_comments/header_files/coding.h Examining data/wolfssl-4.5.0+dfsg/doc/dox_comments/header_files/compress.h Examining data/wolfssl-4.5.0+dfsg/doc/dox_comments/header_files/curve25519.h Examining data/wolfssl-4.5.0+dfsg/doc/dox_comments/header_files/curve448.h Examining data/wolfssl-4.5.0+dfsg/doc/dox_comments/header_files/des3.h Examining data/wolfssl-4.5.0+dfsg/doc/dox_comments/header_files/dh.h Examining data/wolfssl-4.5.0+dfsg/doc/dox_comments/header_files/doxygen_groups.h Examining data/wolfssl-4.5.0+dfsg/doc/dox_comments/header_files/doxygen_pages.h Examining data/wolfssl-4.5.0+dfsg/doc/dox_comments/header_files/dsa.h Examining data/wolfssl-4.5.0+dfsg/doc/dox_comments/header_files/ecc.h Examining data/wolfssl-4.5.0+dfsg/doc/dox_comments/header_files/ed25519.h Examining data/wolfssl-4.5.0+dfsg/doc/dox_comments/header_files/ed448.h Examining data/wolfssl-4.5.0+dfsg/doc/dox_comments/header_files/error-crypt.h Examining data/wolfssl-4.5.0+dfsg/doc/dox_comments/header_files/evp.h Examining data/wolfssl-4.5.0+dfsg/doc/dox_comments/header_files/hash.h Examining data/wolfssl-4.5.0+dfsg/doc/dox_comments/header_files/hc128.h Examining data/wolfssl-4.5.0+dfsg/doc/dox_comments/header_files/hmac.h Examining data/wolfssl-4.5.0+dfsg/doc/dox_comments/header_files/idea.h Examining data/wolfssl-4.5.0+dfsg/doc/dox_comments/header_files/logging.h Examining data/wolfssl-4.5.0+dfsg/doc/dox_comments/header_files/md2.h Examining data/wolfssl-4.5.0+dfsg/doc/dox_comments/header_files/md4.h Examining data/wolfssl-4.5.0+dfsg/doc/dox_comments/header_files/md5.h Examining data/wolfssl-4.5.0+dfsg/doc/dox_comments/header_files/memory.h Examining data/wolfssl-4.5.0+dfsg/doc/dox_comments/header_files/pem.h Examining data/wolfssl-4.5.0+dfsg/doc/dox_comments/header_files/pkcs11.h Examining data/wolfssl-4.5.0+dfsg/doc/dox_comments/header_files/pkcs7.h Examining data/wolfssl-4.5.0+dfsg/doc/dox_comments/header_files/poly1305.h Examining data/wolfssl-4.5.0+dfsg/doc/dox_comments/header_files/pwdbased.h Examining data/wolfssl-4.5.0+dfsg/doc/dox_comments/header_files/rabbit.h Examining data/wolfssl-4.5.0+dfsg/doc/dox_comments/header_files/random.h Examining data/wolfssl-4.5.0+dfsg/doc/dox_comments/header_files/ripemd.h Examining data/wolfssl-4.5.0+dfsg/doc/dox_comments/header_files/rsa.h Examining data/wolfssl-4.5.0+dfsg/doc/dox_comments/header_files/sha.h Examining data/wolfssl-4.5.0+dfsg/doc/dox_comments/header_files/sha256.h Examining data/wolfssl-4.5.0+dfsg/doc/dox_comments/header_files/sha512.h Examining data/wolfssl-4.5.0+dfsg/doc/dox_comments/header_files/signature.h Examining data/wolfssl-4.5.0+dfsg/doc/dox_comments/header_files/srp.h Examining data/wolfssl-4.5.0+dfsg/doc/dox_comments/header_files/ssl.h Examining data/wolfssl-4.5.0+dfsg/doc/dox_comments/header_files/tfm.h Examining data/wolfssl-4.5.0+dfsg/doc/dox_comments/header_files/types.h Examining data/wolfssl-4.5.0+dfsg/doc/dox_comments/header_files/wc_encrypt.h Examining data/wolfssl-4.5.0+dfsg/doc/dox_comments/header_files/wc_port.h Examining data/wolfssl-4.5.0+dfsg/doc/dox_comments/header_files/wolfio.h Examining data/wolfssl-4.5.0+dfsg/examples/benchmark/tls_bench.c Examining data/wolfssl-4.5.0+dfsg/examples/benchmark/tls_bench.h Examining data/wolfssl-4.5.0+dfsg/examples/client/client.c Parsing failed to find end of parameter list; semicolon terminated it in ("wolfSSL Client Benchmark %zu bytes\n" #else printf("wolfSSL Client Benchmark %d bytes\n" #endif "\tConnect %8.3f ms\n" "\tTX %8.3f ms (%8.3f MBps)\n" "\tRX %8.3 Examining data/wolfssl-4.5.0+dfsg/examples/client/client.h Examining data/wolfssl-4.5.0+dfsg/examples/configs/user_settings_all.h Examining data/wolfssl-4.5.0+dfsg/examples/configs/user_settings_min_ecc.h Examining data/wolfssl-4.5.0+dfsg/examples/configs/user_settings_wolfboot_keytools.h Examining data/wolfssl-4.5.0+dfsg/examples/echoclient/echoclient.c Examining data/wolfssl-4.5.0+dfsg/examples/echoclient/echoclient.h Examining data/wolfssl-4.5.0+dfsg/examples/echoserver/echoserver.c Examining data/wolfssl-4.5.0+dfsg/examples/echoserver/echoserver.h Examining data/wolfssl-4.5.0+dfsg/examples/sctp/sctp-client-dtls.c Examining data/wolfssl-4.5.0+dfsg/examples/sctp/sctp-client.c Examining data/wolfssl-4.5.0+dfsg/examples/sctp/sctp-server-dtls.c Examining data/wolfssl-4.5.0+dfsg/examples/sctp/sctp-server.c Examining data/wolfssl-4.5.0+dfsg/examples/server/server.c Examining data/wolfssl-4.5.0+dfsg/examples/server/server.h Examining data/wolfssl-4.5.0+dfsg/src/bio.c Examining data/wolfssl-4.5.0+dfsg/src/crl.c Examining data/wolfssl-4.5.0+dfsg/src/internal.c Examining data/wolfssl-4.5.0+dfsg/src/keys.c Examining data/wolfssl-4.5.0+dfsg/src/ocsp.c Examining data/wolfssl-4.5.0+dfsg/src/sniffer.c Examining data/wolfssl-4.5.0+dfsg/src/ssl.c Examining data/wolfssl-4.5.0+dfsg/src/tls.c Examining data/wolfssl-4.5.0+dfsg/src/tls13.c Examining data/wolfssl-4.5.0+dfsg/src/wolfio.c Examining data/wolfssl-4.5.0+dfsg/sslSniffer/sslSnifferTest/snifftest.c Examining data/wolfssl-4.5.0+dfsg/swig/wolfssl_adds.c Examining data/wolfssl-4.5.0+dfsg/tests/api.c Examining data/wolfssl-4.5.0+dfsg/tests/hash.c Examining data/wolfssl-4.5.0+dfsg/tests/srp.c Examining data/wolfssl-4.5.0+dfsg/tests/suites.c Examining data/wolfssl-4.5.0+dfsg/tests/unit.c Examining data/wolfssl-4.5.0+dfsg/tests/unit.h Examining data/wolfssl-4.5.0+dfsg/testsuite/testsuite.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/benchmark/benchmark.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/benchmark/benchmark.h Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/aes.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/arc4.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/asm.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/asn.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/blake2b.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/blake2s.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/camellia.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/chacha.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/chacha20_poly1305.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/cmac.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/coding.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/compress.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/cpuid.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/cryptocb.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/curve25519.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/curve448.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/des3.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/dh.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/dsa.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/ecc.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/ecc_fp.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/ed25519.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/ed448.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/error.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/evp.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/fe_448.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/fe_low_mem.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/fe_operations.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/ge_448.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/ge_low_mem.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/ge_operations.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/hash.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/hc128.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/hmac.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/idea.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/integer.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/logging.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/md2.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/md4.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/md5.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/memory.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/pkcs12.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/pkcs7.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/poly1305.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/Espressif/esp32_aes.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/Espressif/esp32_mp.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/Espressif/esp32_sha.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/Espressif/esp32_util.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/Renesas/renesas_tsip_aes.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/Renesas/renesas_tsip_sha.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/Renesas/renesas_tsip_util.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/af_alg/afalg_aes.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/af_alg/afalg_hash.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/af_alg/wc_afalg.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/arm/armv8-32-curve25519.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/arm/armv8-32-sha512-asm.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/arm/armv8-aes.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/arm/armv8-chacha.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/arm/armv8-curve25519.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/arm/armv8-poly1305.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/arm/armv8-sha256.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/arm/armv8-sha512-asm.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/arm/armv8-sha512.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/arm/cryptoCell.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/arm/cryptoCellHash.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/atmel/atmel.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/caam/caam_aes.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/caam/caam_driver.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/caam/caam_init.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/caam/caam_sha.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/cavium/cavium_octeon_sync.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/cypress/psoc6_crypto.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/devcrypto/devcrypto_aes.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/devcrypto/devcrypto_hash.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/devcrypto/wc_devcrypto.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/intel/quickassist_sync.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/mynewt/mynewt_port.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/nrf51.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/nxp/ksdk_port.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/pic32/pic32mz-crypt.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/st/stm32.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/st/stsafe.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/ti/ti-aes.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/ti/ti-ccm.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/ti/ti-des3.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/ti/ti-hash.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/xilinx/xil-aesgcm.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/xilinx/xil-sha3.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/pwdbased.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/rabbit.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/random.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/ripemd.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/rsa.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sha.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sha256.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sha3.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sha512.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/signature.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_arm32.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_arm64.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_armthumb.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_c32.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_c64.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_cortexm.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_dsp32.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_int.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_x86_64.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/srp.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/tfm.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/wc_dsp.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/wc_encrypt.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/wc_pkcs11.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/wc_port.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/wolfevent.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/wolfmath.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/src/misc.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/test/test.c Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/test/test.h Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/user-crypto/include/user_rsa.h Examining data/wolfssl-4.5.0+dfsg/wolfcrypt/user-crypto/src/rsa.c Examining data/wolfssl-4.5.0+dfsg/wolfssl/callbacks.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/certs_test.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/crl.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/error-ssl.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/internal.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/ocsp.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/openssl/aes.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/openssl/asn1.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/openssl/asn1t.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/openssl/bio.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/openssl/bn.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/openssl/buffer.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/openssl/conf.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/openssl/crypto.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/openssl/des.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/openssl/dh.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/openssl/dsa.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/openssl/ec.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/openssl/ec25519.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/openssl/ec448.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/openssl/ecdh.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/openssl/ecdsa.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/openssl/ed25519.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/openssl/ed448.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/openssl/engine.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/openssl/err.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/openssl/evp.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/openssl/hmac.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/openssl/lhash.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/openssl/md4.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/openssl/md5.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/openssl/obj_mac.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/openssl/objects.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/openssl/ocsp.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/openssl/opensslconf.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/openssl/opensslv.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/openssl/ossl_typ.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/openssl/pem.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/openssl/pkcs12.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/openssl/pkcs7.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/openssl/rand.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/openssl/rc4.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/openssl/ripemd.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/openssl/rsa.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/openssl/sha.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/openssl/sha3.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/openssl/ssl.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/openssl/ssl23.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/openssl/stack.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/openssl/tls1.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/openssl/ui.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/openssl/x509.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/openssl/x509_vfy.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/openssl/x509v3.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/sniffer.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/sniffer_error.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/ssl.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/version.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/aes.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/arc4.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/asn.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/asn_public.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/blake2-impl.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/blake2-int.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/blake2.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/camellia.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/chacha.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/chacha20_poly1305.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/cmac.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/coding.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/compress.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/cpuid.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/cryptocb.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/curve25519.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/curve448.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/des3.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/dh.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/dsa.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/ecc.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/ed25519.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/ed448.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/error-crypt.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/fe_448.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/fe_operations.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/fips_test.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/ge_448.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/ge_operations.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/hash.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/hc128.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/hmac.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/idea.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/integer.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/logging.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/md2.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/md4.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/md5.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/mem_track.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/memory.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/misc.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/mpi_class.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/mpi_superclass.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/pkcs11.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/pkcs12.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/pkcs7.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/poly1305.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/port/Espressif/esp32-crypt.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/port/Renesas/renesas-tsip-crypt.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/port/af_alg/afalg_hash.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/port/af_alg/wc_afalg.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/port/arm/cryptoCell.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/port/atmel/atmel.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/port/caam/caam_driver.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/port/caam/wolfcaam.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/port/caam/wolfcaam_sha.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/port/cavium/cavium_octeon_sync.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/port/cypress/psoc6_crypto.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/port/devcrypto/wc_devcrypto.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/port/intel/quickassist_sync.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/port/nrf51.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/port/nxp/ksdk_port.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/port/pic32/pic32mz-crypt.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/port/st/stm32.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/port/st/stsafe.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/port/ti/ti-ccm.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/port/ti/ti-hash.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/port/xilinx/xil-sha3.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/pwdbased.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/rabbit.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/random.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/ripemd.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/rsa.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/selftest.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/settings.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/sha.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/sha256.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/sha3.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/sha512.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/signature.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/sp.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/sp_int.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/srp.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/tfm.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/types.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/visibility.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/wc_encrypt.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/wc_pkcs11.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/wc_port.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/wolfevent.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/wolfmath.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/wolfio.h Examining data/wolfssl-4.5.0+dfsg/wolfssl/test.h FINAL RESULTS: data/wolfssl-4.5.0+dfsg/examples/benchmark/tls_bench.c:1487:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(formatStr, data/wolfssl-4.5.0+dfsg/examples/client/client.c:693:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf("wolfSSL Client Benchmark %zu bytes\n" data/wolfssl-4.5.0+dfsg/examples/server/server.c:438:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf( data/wolfssl-4.5.0+dfsg/src/sniffer.c:42:22: [4] (format) _snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define SNPRINTF _snprintf data/wolfssl-4.5.0+dfsg/src/sniffer.c:44:22: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define SNPRINTF snprintf data/wolfssl-4.5.0+dfsg/src/ssl.c:18174:75: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. WOLFSSL_ACCESS_DESCRIPTION* access) data/wolfssl-4.5.0+dfsg/src/ssl.c:18186:27: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. sk->data.access = access; data/wolfssl-4.5.0+dfsg/src/ssl.c:18201:35: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. node->data.access = sk->data.access; data/wolfssl-4.5.0+dfsg/src/ssl.c:18205:26: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. sk->data.access = access; data/wolfssl-4.5.0+dfsg/src/ssl.c:18234:24: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. f(tmp->data.access); data/wolfssl-4.5.0+dfsg/src/ssl.c:18236:54: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. wolfSSL_ACCESS_DESCRIPTION_free(tmp->data.access); data/wolfssl-4.5.0+dfsg/src/ssl.c:18245:24: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. f(sk->data.access); data/wolfssl-4.5.0+dfsg/src/ssl.c:18265:66: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. void wolfSSL_ACCESS_DESCRIPTION_free(WOLFSSL_ACCESS_DESCRIPTION* access) data/wolfssl-4.5.0+dfsg/src/ssl.c:18637:26: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. return ret->data.access; data/wolfssl-4.5.0+dfsg/src/ssl.c:26832:19: [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. ret = vfprintf((XFILE)bio->ptr, format, args); data/wolfssl-4.5.0+dfsg/src/ssl.c:26844:25: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. count = vsnprintf(NULL, 0, format, args); data/wolfssl-4.5.0+dfsg/src/ssl.c:26851:33: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. count = vsnprintf(pt, count + 1, format, copy); data/wolfssl-4.5.0+dfsg/src/ssl.c:27073:36: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. return (void*)sk->data.access; data/wolfssl-4.5.0+dfsg/sslSniffer/sslSnifferTest/snifftest.c:218:22: [4] (format) _snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define SNPRINTF _snprintf data/wolfssl-4.5.0+dfsg/sslSniffer/sslSnifferTest/snifftest.c:220:22: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define SNPRINTF snprintf data/wolfssl-4.5.0+dfsg/tests/api.c:432:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_Init()"); data/wolfssl-4.5.0+dfsg/tests/api.c:434:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, result == WOLFSSL_SUCCESS ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:444:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_Cleanup()"); data/wolfssl-4.5.0+dfsg/tests/api.c:446:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, result == WOLFSSL_SUCCESS ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:459:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfCrypt_Init()"); data/wolfssl-4.5.0+dfsg/tests/api.c:461:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, result == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:488:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "test_fileAccess()"); data/wolfssl-4.5.0+dfsg/tests/api.c:504:6: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:803:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_CTX_use_certificate_ASN1()"); data/wolfssl-4.5.0+dfsg/tests/api.c:809:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == WOLFSSL_SUCCESS ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:831:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_CTX_use_certificate_buffer()"); data/wolfssl-4.5.0+dfsg/tests/api.c:837:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == WOLFSSL_SUCCESS ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:1132:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_CertManagerGetCerts()"); data/wolfssl-4.5.0+dfsg/tests/api.c:1161:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:1852:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_SetMinVersion()"); data/wolfssl-4.5.0+dfsg/tests/api.c:1860:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, failFlag == WOLFSSL_SUCCESS ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:3904:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_dtls_export()"); data/wolfssl-4.5.0+dfsg/tests/api.c:3905:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:4747:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_X509_NAME_get_entry()"); data/wolfssl-4.5.0+dfsg/tests/api.c:4798:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:4838:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_PKCS12()"); data/wolfssl-4.5.0+dfsg/tests/api.c:5083:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:5126:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "test_wolfSSL_no_password_cb()"); data/wolfssl-4.5.0+dfsg/tests/api.c:5157:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:5219:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_PKCS8()"); data/wolfssl-4.5.0+dfsg/tests/api.c:5375:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:5482:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL URI parse"); data/wolfssl-4.5.0+dfsg/tests/api.c:5496:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:5509:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL TBS"); data/wolfssl-4.5.0+dfsg/tests/api.c:5521:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:5536:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL X509 verify"); data/wolfssl-4.5.0+dfsg/tests/api.c:5581:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:5612:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_CTX_SetMinVersion()"); data/wolfssl-4.5.0+dfsg/tests/api.c:5620:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, failFlag == WOLFSSL_SUCCESS ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:5661:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_UseOCSPStapling()"); data/wolfssl-4.5.0+dfsg/tests/api.c:5666:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == WOLFSSL_SUCCESS ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:5707:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_UseOCSPStaplingV2()"); data/wolfssl-4.5.0+dfsg/tests/api.c:5712:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == WOLFSSL_SUCCESS ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:5781:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_InitBlake2B()"); data/wolfssl-4.5.0+dfsg/tests/api.c:5835:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:5853:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_InitMd5()"); data/wolfssl-4.5.0+dfsg/tests/api.c:5871:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, flag == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:5896:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Md5Update()"); data/wolfssl-4.5.0+dfsg/tests/api.c:5973:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, flag == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:6011:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Md5Final()"); data/wolfssl-4.5.0+dfsg/tests/api.c:6046:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, flag == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:6063:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_InitSha()"); data/wolfssl-4.5.0+dfsg/tests/api.c:6081:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, flag == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:6106:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ShaUpdate()"); data/wolfssl-4.5.0+dfsg/tests/api.c:6183:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, flag == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:6220:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ShaFinal()"); data/wolfssl-4.5.0+dfsg/tests/api.c:6255:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, flag == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:6272:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_InitSha256()"); data/wolfssl-4.5.0+dfsg/tests/api.c:6290:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, flag == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:6314:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Sha256Update()"); data/wolfssl-4.5.0+dfsg/tests/api.c:6392:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, flag == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:6429:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Sha256Final()"); data/wolfssl-4.5.0+dfsg/tests/api.c:6464:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, flag == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:6500:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Sha256FinalRaw()"); data/wolfssl-4.5.0+dfsg/tests/api.c:6535:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, flag == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:6553:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Sha256GetFlags()"); data/wolfssl-4.5.0+dfsg/tests/api.c:6568:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, flag == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:6582:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Sha256Free()"); data/wolfssl-4.5.0+dfsg/tests/api.c:6585:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, flag == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:6601:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Sha256GetHash()"); data/wolfssl-4.5.0+dfsg/tests/api.c:6631:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, flag == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:6647:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Sha256Copy()"); data/wolfssl-4.5.0+dfsg/tests/api.c:6680:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, flag == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:6696:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_InitSha512()"); data/wolfssl-4.5.0+dfsg/tests/api.c:6714:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, flag == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:6740:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Sha512Update()"); data/wolfssl-4.5.0+dfsg/tests/api.c:6819:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, flag == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:6856:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Sha512Final()"); data/wolfssl-4.5.0+dfsg/tests/api.c:6889:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, flag == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:6905:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Sha512GetFlags()"); data/wolfssl-4.5.0+dfsg/tests/api.c:6921:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, flag == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:6957:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Sha512FinalRaw()"); data/wolfssl-4.5.0+dfsg/tests/api.c:6992:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, flag == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:7007:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Sha512Free()"); data/wolfssl-4.5.0+dfsg/tests/api.c:7011:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, flag == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:7028:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Sha512GetHash()"); data/wolfssl-4.5.0+dfsg/tests/api.c:7058:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, flag == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:7075:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Sha512Copy()"); data/wolfssl-4.5.0+dfsg/tests/api.c:7109:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, flag == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:7125:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_InitSha384()"); data/wolfssl-4.5.0+dfsg/tests/api.c:7142:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, flag == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:7167:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Sha384Update()"); data/wolfssl-4.5.0+dfsg/tests/api.c:7247:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, flag == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:7282:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Sha384Final()"); data/wolfssl-4.5.0+dfsg/tests/api.c:7317:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, flag == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:7334:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Sha384GetFlags()"); data/wolfssl-4.5.0+dfsg/tests/api.c:7350:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, flag == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:7386:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Sha384FinalRaw()"); data/wolfssl-4.5.0+dfsg/tests/api.c:7421:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, flag == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:7436:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Sha384Free()"); data/wolfssl-4.5.0+dfsg/tests/api.c:7440:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, flag == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:7457:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Sha384GetHash()"); data/wolfssl-4.5.0+dfsg/tests/api.c:7487:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, flag == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:7504:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Sha384Copy()"); data/wolfssl-4.5.0+dfsg/tests/api.c:7537:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, flag == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:7553:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_InitSha224()"); data/wolfssl-4.5.0+dfsg/tests/api.c:7570:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, flag == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:7595:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Sha224Update()"); data/wolfssl-4.5.0+dfsg/tests/api.c:7673:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, flag == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:7711:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_sha224Final()"); data/wolfssl-4.5.0+dfsg/tests/api.c:7746:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, flag == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:7762:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Sha224SetFlags()"); data/wolfssl-4.5.0+dfsg/tests/api.c:7777:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, flag == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:7794:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Sha224GetFlags()"); data/wolfssl-4.5.0+dfsg/tests/api.c:7810:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, flag == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:7825:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Sha224Free()"); data/wolfssl-4.5.0+dfsg/tests/api.c:7829:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, flag == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:7846:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Sha224GetHash()"); data/wolfssl-4.5.0+dfsg/tests/api.c:7876:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, flag == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:7893:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Sha224Copy()"); data/wolfssl-4.5.0+dfsg/tests/api.c:7927:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, flag == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:7943:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_InitRipeMd()"); data/wolfssl-4.5.0+dfsg/tests/api.c:7959:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, flag == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:7985:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_RipeMdUpdate()"); data/wolfssl-4.5.0+dfsg/tests/api.c:8060:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, flag == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:8098:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_RipeMdFinal()"); data/wolfssl-4.5.0+dfsg/tests/api.c:8131:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, flag == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:8154:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_InitSha3_224()"); data/wolfssl-4.5.0+dfsg/tests/api.c:8168:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:8172:13: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_InitSha3_256()"); data/wolfssl-4.5.0+dfsg/tests/api.c:8185:13: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:8190:13: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_InitSha3_384()"); data/wolfssl-4.5.0+dfsg/tests/api.c:8203:13: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:8208:13: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_InitSha3_512()"); data/wolfssl-4.5.0+dfsg/tests/api.c:8221:13: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:8252:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Sha3_224_Update()"); data/wolfssl-4.5.0+dfsg/tests/api.c:8291:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:8296:13: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Sha3_256_Update()"); data/wolfssl-4.5.0+dfsg/tests/api.c:8334:13: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:8340:13: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Sha3_384_Update()"); data/wolfssl-4.5.0+dfsg/tests/api.c:8378:13: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:8384:13: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Sha3_512_Update()"); data/wolfssl-4.5.0+dfsg/tests/api.c:8421:13: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:8449:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Sha3_224_Final()"); data/wolfssl-4.5.0+dfsg/tests/api.c:8476:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:8479:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Sha3_224_GetHash()"); data/wolfssl-4.5.0+dfsg/tests/api.c:8514:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:8543:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Sha3_256_Final()"); data/wolfssl-4.5.0+dfsg/tests/api.c:8570:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:8573:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Sha3_256_GetHash()"); data/wolfssl-4.5.0+dfsg/tests/api.c:8606:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:8636:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Sha3_384_Final()"); data/wolfssl-4.5.0+dfsg/tests/api.c:8663:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:8666:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Sha3_384_GetHash()"); data/wolfssl-4.5.0+dfsg/tests/api.c:8699:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:8732:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Sha3_512_Final()"); data/wolfssl-4.5.0+dfsg/tests/api.c:8759:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:8762:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Sha3_512_GetHash()"); data/wolfssl-4.5.0+dfsg/tests/api.c:8795:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:8820:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Sha3_224_Copy()"); data/wolfssl-4.5.0+dfsg/tests/api.c:8860:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:8885:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Sha3_256_Copy()"); data/wolfssl-4.5.0+dfsg/tests/api.c:8925:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:8950:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Sha3_384_Copy()"); data/wolfssl-4.5.0+dfsg/tests/api.c:8990:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:9016:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Sha3_512_Copy()"); data/wolfssl-4.5.0+dfsg/tests/api.c:9056:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:9074:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Sha3_GetFlags()"); data/wolfssl-4.5.0+dfsg/tests/api.c:9090:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:9106:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_InitShake256()"); data/wolfssl-4.5.0+dfsg/tests/api.c:9119:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:9143:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Shake256_Update()"); data/wolfssl-4.5.0+dfsg/tests/api.c:9181:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:9210:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Shake256_Final()"); data/wolfssl-4.5.0+dfsg/tests/api.c:9237:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:9259:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Shake256_Copy()"); data/wolfssl-4.5.0+dfsg/tests/api.c:9299:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:9320:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Shake256Hash()"); data/wolfssl-4.5.0+dfsg/tests/api.c:9324:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:9345:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_IdeaSetKey()"); data/wolfssl-4.5.0+dfsg/tests/api.c:9377:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:9393:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_IdeaSetIV()"); data/wolfssl-4.5.0+dfsg/tests/api.c:9406:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:9432:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_IdeaCipher()"); data/wolfssl-4.5.0+dfsg/tests/api.c:9469:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:9492:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_IdeaCbcEncrypt()"); data/wolfssl-4.5.0+dfsg/tests/api.c:9548:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:9578:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_HmacSetKey() with MD5"); data/wolfssl-4.5.0+dfsg/tests/api.c:9631:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, flag == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:9663:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_HmacSetKey() with SHA"); data/wolfssl-4.5.0+dfsg/tests/api.c:9716:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, flag == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:9747:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_HmacSetKey() with SHA 224"); data/wolfssl-4.5.0+dfsg/tests/api.c:9800:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, flag == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:9831:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_HmacSetKey() with SHA256"); data/wolfssl-4.5.0+dfsg/tests/api.c:9884:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, flag == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:9915:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_HmacSetKey() with SHA384"); data/wolfssl-4.5.0+dfsg/tests/api.c:9968:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, flag == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:10000:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_HmacUpdate() with MD5"); data/wolfssl-4.5.0+dfsg/tests/api.c:10049:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, flag == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:10080:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_HmacUpdate() with SHA"); data/wolfssl-4.5.0+dfsg/tests/api.c:10129:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, flag == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:10160:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_HmacUpdate() with SHA224"); data/wolfssl-4.5.0+dfsg/tests/api.c:10209:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, flag == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:10240:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_HmacUpdate() with WC_SHA256"); data/wolfssl-4.5.0+dfsg/tests/api.c:10289:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, flag == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:10320:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_HmacUpdate() with SHA384"); data/wolfssl-4.5.0+dfsg/tests/api.c:10369:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, flag == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:10398:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_HmacFinal() with MD5"); data/wolfssl-4.5.0+dfsg/tests/api.c:10448:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, flag == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:10478:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_HmacFinal() with SHA"); data/wolfssl-4.5.0+dfsg/tests/api.c:10528:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, flag == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:10559:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_HmacFinal() with SHA224"); data/wolfssl-4.5.0+dfsg/tests/api.c:10609:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, flag == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:10639:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_HmacFinal() with WC_SHA256"); data/wolfssl-4.5.0+dfsg/tests/api.c:10689:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, flag == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:10720:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_HmacFinal() with SHA384"); data/wolfssl-4.5.0+dfsg/tests/api.c:10769:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, flag == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:10805:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_InitCmac()"); data/wolfssl-4.5.0+dfsg/tests/api.c:10845:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:10882:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_CmacUpdate()"); data/wolfssl-4.5.0+dfsg/tests/api.c:10899:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:10954:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_CmacFinal()"); data/wolfssl-4.5.0+dfsg/tests/api.c:10976:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:11020:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_AesCmacGenerate()"); data/wolfssl-4.5.0+dfsg/tests/api.c:11044:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:11047:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_AesCmacVerify()"); data/wolfssl-4.5.0+dfsg/tests/api.c:11072:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:11105:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Des3_SetIV()"); data/wolfssl-4.5.0+dfsg/tests/api.c:11134:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:11163:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Des3_SetKey()"); data/wolfssl-4.5.0+dfsg/tests/api.c:11194:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:11233:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Des3_CbcEncrypt()"); data/wolfssl-4.5.0+dfsg/tests/api.c:11291:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:11335:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Des3_CbcEncryptWithKey()"); data/wolfssl-4.5.0+dfsg/tests/api.c:11380:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:11404:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Chacha_SetKey()"); data/wolfssl-4.5.0+dfsg/tests/api.c:11419:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:11424:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Chacha_SetIV"); data/wolfssl-4.5.0+dfsg/tests/api.c:11435:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:11458:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Poly1305_SetKey()"); data/wolfssl-4.5.0+dfsg/tests/api.c:11477:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:11508:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Chacha_Process()"); data/wolfssl-4.5.0+dfsg/tests/api.c:11622:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:11699:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ChaCha20Poly1305_Encrypt()"); data/wolfssl-4.5.0+dfsg/tests/api.c:11729:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:11734:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ChaCha20Poly1305_Decrypt()"); data/wolfssl-4.5.0+dfsg/tests/api.c:11765:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:11789:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_AesSetIV()"); data/wolfssl-4.5.0+dfsg/tests/api.c:11813:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:11857:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_AesSetKey()"); data/wolfssl-4.5.0+dfsg/tests/api.c:11898:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:11975:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_AesCbcEncrypt()"); data/wolfssl-4.5.0+dfsg/tests/api.c:11991:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, cbcE == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:11997:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_AesCbcDecrypt()"); data/wolfssl-4.5.0+dfsg/tests/api.c:12015:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, cbcD == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:12021:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_AesCbcDecryptWithKey()"); data/wolfssl-4.5.0+dfsg/tests/api.c:12046:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, cbcDWK == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:12084:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_AesCtrEncrypt()"); data/wolfssl-4.5.0+dfsg/tests/api.c:12132:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:12191:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_AesGcmSetKey()"); data/wolfssl-4.5.0+dfsg/tests/api.c:12229:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:12296:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_AesGcmEncrypt()"); data/wolfssl-4.5.0+dfsg/tests/api.c:12345:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, gcmE == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:12352:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_AesGcmDecrypt()"); data/wolfssl-4.5.0+dfsg/tests/api.c:12400:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, gcmD == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:12459:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_GmacSetKey()"); data/wolfssl-4.5.0+dfsg/tests/api.c:12503:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:12608:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_GmacUpdate()"); data/wolfssl-4.5.0+dfsg/tests/api.c:12674:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:12717:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_CamelliaSetKey()"); data/wolfssl-4.5.0+dfsg/tests/api.c:12770:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_CamelliaSetIV()"); data/wolfssl-4.5.0+dfsg/tests/api.c:12786:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:12835:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_CamelliaEncryptDirect()"); data/wolfssl-4.5.0+dfsg/tests/api.c:12852:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, camE == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:12857:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_CamelliaDecryptDirect()"); data/wolfssl-4.5.0+dfsg/tests/api.c:12874:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, camD == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:12929:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_CamelliaCbcEncrypt"); data/wolfssl-4.5.0+dfsg/tests/api.c:12948:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, camCbcE == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:12953:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_CamelliaCbcDecrypt()"); data/wolfssl-4.5.0+dfsg/tests/api.c:12972:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, camCbcD == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:12994:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_RabbitSetKey()"); data/wolfssl-4.5.0+dfsg/tests/api.c:13009:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:13036:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_RabbitProcess()"); data/wolfssl-4.5.0+dfsg/tests/api.c:13069:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:13091:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Arch4SetKey()"); data/wolfssl-4.5.0+dfsg/tests/api.c:13107:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:13138:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Arc4Process()"); data/wolfssl-4.5.0+dfsg/tests/api.c:13174:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:13194:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_InitRsaKey()"); data/wolfssl-4.5.0+dfsg/tests/api.c:13218:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:13238:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_RsaPrivateKeyDecode()"); data/wolfssl-4.5.0+dfsg/tests/api.c:13299:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:13339:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_RsaPublicKeyDecode()"); data/wolfssl-4.5.0+dfsg/tests/api.c:13393:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:13414:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_RsaPublicKeyDecodeRaw()"); data/wolfssl-4.5.0+dfsg/tests/api.c:13458:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:13506:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_MakeRsaKey()"); data/wolfssl-4.5.0+dfsg/tests/api.c:13566:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:13595:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "RSA decrypt bounds check"); data/wolfssl-4.5.0+dfsg/tests/api.c:13643:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:13662:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_SetKeyUsage()"); data/wolfssl-4.5.0+dfsg/tests/api.c:13700:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:13727:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_LockMutex_ex()"); data/wolfssl-4.5.0+dfsg/tests/api.c:13742:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:13755:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_SetMutexCb()"); data/wolfssl-4.5.0+dfsg/tests/api.c:13759:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:13807:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_RsaKeyToDer()"); data/wolfssl-4.5.0+dfsg/tests/api.c:13867:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:13909:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_RsaKeyToPublicDer()"); data/wolfssl-4.5.0+dfsg/tests/api.c:13964:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:14003:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_RsaPublicEncrypt()"); data/wolfssl-4.5.0+dfsg/tests/api.c:14017:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:14023:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_RsaPrivateDecrypt()"); data/wolfssl-4.5.0+dfsg/tests/api.c:14050:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:14097:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_RsaPublicEncrypt_ex()"); data/wolfssl-4.5.0+dfsg/tests/api.c:14111:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:14118:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_RsaPrivateDecrypt_ex()"); data/wolfssl-4.5.0+dfsg/tests/api.c:14139:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:14144:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_RsaPrivateDecryptInline_ex()"); data/wolfssl-4.5.0+dfsg/tests/api.c:14170:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:14212:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_RsaSSL_Sign()"); data/wolfssl-4.5.0+dfsg/tests/api.c:14262:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:14268:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_RsaSSL_Verify()"); data/wolfssl-4.5.0+dfsg/tests/api.c:14328:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:14351:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_RsaEncryptSize()"); data/wolfssl-4.5.0+dfsg/tests/api.c:14402:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:14442:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_RsaFlattenPublicKey()"); data/wolfssl-4.5.0+dfsg/tests/api.c:14499:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:14535:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_AesCcmSetKey()"); data/wolfssl-4.5.0+dfsg/tests/api.c:14573:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:14655:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_AesCcmEncrypt()"); data/wolfssl-4.5.0+dfsg/tests/api.c:14700:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ccmE == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:14706:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_AesCcmDecrypt()"); data/wolfssl-4.5.0+dfsg/tests/api.c:14753:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ccmD == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:14782:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Hc128_SetKey()"); data/wolfssl-4.5.0+dfsg/tests/api.c:14795:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:14819:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Hc128_Process()"); data/wolfssl-4.5.0+dfsg/tests/api.c:14847:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:14865:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_InitDsaKey()"); data/wolfssl-4.5.0+dfsg/tests/api.c:14879:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:14941:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_DsaSign()"); data/wolfssl-4.5.0+dfsg/tests/api.c:14966:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:14973:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_DsaVerify()"); data/wolfssl-4.5.0+dfsg/tests/api.c:15005:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:15051:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_DsaPrivateKeyDecode()"); data/wolfssl-4.5.0+dfsg/tests/api.c:15078:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, priv == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:15080:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_DsaPublicKeyDecode()"); data/wolfssl-4.5.0+dfsg/tests/api.c:15105:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, pub == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:15133:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_MakeDsaParameters()"); data/wolfssl-4.5.0+dfsg/tests/api.c:15153:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:15155:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_MakeDsaKey()"); data/wolfssl-4.5.0+dfsg/tests/api.c:15178:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:15243:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_DsaKeyToDer()"); data/wolfssl-4.5.0+dfsg/tests/api.c:15269:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:15292:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_DsaKeyToPublicDer()"); data/wolfssl-4.5.0+dfsg/tests/api.c:15337:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:15376:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_DsaImportParamsRaw()"); data/wolfssl-4.5.0+dfsg/tests/api.c:15406:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:15445:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_DsaImportParamsRawCheck()"); data/wolfssl-4.5.0+dfsg/tests/api.c:15475:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:15540:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_DsaExportParamsRaw()"); data/wolfssl-4.5.0+dfsg/tests/api.c:15609:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:15634:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_DsaExportKeyRaw()"); data/wolfssl-4.5.0+dfsg/tests/api.c:15690:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:15717:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ed25519_make_key()"); data/wolfssl-4.5.0+dfsg/tests/api.c:15741:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:15765:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ed25519_init()"); data/wolfssl-4.5.0+dfsg/tests/api.c:15779:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:15817:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ed25519_sign_msg()"); data/wolfssl-4.5.0+dfsg/tests/api.c:15845:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:15847:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ed25519_verify_msg()"); data/wolfssl-4.5.0+dfsg/tests/api.c:15894:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:15928:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ed25519_import_public()"); data/wolfssl-4.5.0+dfsg/tests/api.c:15956:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:15994:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ed25519_import_private_key()"); data/wolfssl-4.5.0+dfsg/tests/api.c:16032:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:16074:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ed25519_export_public()"); data/wolfssl-4.5.0+dfsg/tests/api.c:16098:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:16099:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ed25519_export_private_only()"); data/wolfssl-4.5.0+dfsg/tests/api.c:16123:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:16162:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ed25519_size()"); data/wolfssl-4.5.0+dfsg/tests/api.c:16171:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:16174:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ed25519_sig_size()"); data/wolfssl-4.5.0+dfsg/tests/api.c:16188:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:16192:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ed25519_pub_size"); data/wolfssl-4.5.0+dfsg/tests/api.c:16203:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:16207:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ed25519_priv_size"); data/wolfssl-4.5.0+dfsg/tests/api.c:16218:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:16264:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ed25519_export_private()"); data/wolfssl-4.5.0+dfsg/tests/api.c:16282:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:16285:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ed25519_export_key()"); data/wolfssl-4.5.0+dfsg/tests/api.c:16308:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:16339:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Ed25519PublicKeyToDer()"); data/wolfssl-4.5.0+dfsg/tests/api.c:16384:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:16401:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_curve25519_init()"); data/wolfssl-4.5.0+dfsg/tests/api.c:16414:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:16435:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_curve25519_size()"); data/wolfssl-4.5.0+dfsg/tests/api.c:16449:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:16477:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_curve25519_export_key_raw()"); data/wolfssl-4.5.0+dfsg/tests/api.c:16481:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "failed due to wc_InitRng"); data/wolfssl-4.5.0+dfsg/tests/api.c:16487:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "failed due to wc_curve25519_init"); data/wolfssl-4.5.0+dfsg/tests/api.c:16494:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "failed due to wc_curve25519_make_key"); data/wolfssl-4.5.0+dfsg/tests/api.c:16511:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt,"failed at bad-arg-case-1."); data/wolfssl-4.5.0+dfsg/tests/api.c:16525:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt,"failed at bad-arg-case-2."); data/wolfssl-4.5.0+dfsg/tests/api.c:16539:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt,"failed at bad-arg-case-3."); data/wolfssl-4.5.0+dfsg/tests/api.c:16553:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt,"failed at bad-arg-case-4."); data/wolfssl-4.5.0+dfsg/tests/api.c:16567:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt,"failed at bad-arg-case-5."); data/wolfssl-4.5.0+dfsg/tests/api.c:16582:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt,"failed due to wc_curve25519_export_private_raw"); data/wolfssl-4.5.0+dfsg/tests/api.c:16594:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt,"failed due to wc_curve25519_export_public"); data/wolfssl-4.5.0+dfsg/tests/api.c:16608:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt,"failed due to wc_curve25519_export_key_raw"); data/wolfssl-4.5.0+dfsg/tests/api.c:16624:13: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt,passed); data/wolfssl-4.5.0+dfsg/tests/api.c:16633:13: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt,"failed due to key-contents-inconsistency."); data/wolfssl-4.5.0+dfsg/tests/api.c:16642:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt,"failed due to bad-key-size."); data/wolfssl-4.5.0+dfsg/tests/api.c:16676:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_curve25519_export_key_raw_ex()"); data/wolfssl-4.5.0+dfsg/tests/api.c:16679:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "failed due to wc_InitRng"); data/wolfssl-4.5.0+dfsg/tests/api.c:16685:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "failed due to wc_curve25519_init"); data/wolfssl-4.5.0+dfsg/tests/api.c:16692:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "failed due to wc_curve25519_make_key"); data/wolfssl-4.5.0+dfsg/tests/api.c:16709:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt,"failed at bad-arg-case-1."); data/wolfssl-4.5.0+dfsg/tests/api.c:16723:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt,"failed at bad-arg-case-2."); data/wolfssl-4.5.0+dfsg/tests/api.c:16736:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt,"failed at bad-arg-case-3."); data/wolfssl-4.5.0+dfsg/tests/api.c:16749:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt,"failed at bad-arg-case-4."); data/wolfssl-4.5.0+dfsg/tests/api.c:16762:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt,"failed at bad-arg-case-5."); data/wolfssl-4.5.0+dfsg/tests/api.c:16775:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt,"failed at bad-arg-case-6."); data/wolfssl-4.5.0+dfsg/tests/api.c:16788:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt,"failed at bad-arg-case-7."); data/wolfssl-4.5.0+dfsg/tests/api.c:16801:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt,"failed at bad-arg-case-8."); data/wolfssl-4.5.0+dfsg/tests/api.c:16814:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt,"failed at bad-arg-case-9."); data/wolfssl-4.5.0+dfsg/tests/api.c:16827:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt,"failed at bad-arg-case-10."); data/wolfssl-4.5.0+dfsg/tests/api.c:16842:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt,"failed at bad-arg-case-11."); data/wolfssl-4.5.0+dfsg/tests/api.c:16856:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt,"failed due to wc_curve25519_export_private_raw"); data/wolfssl-4.5.0+dfsg/tests/api.c:16867:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt,"failed due to wc_curve25519_export_public"); data/wolfssl-4.5.0+dfsg/tests/api.c:16881:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt,"failed due to wc_curve25519_export_key_raw_ex"); data/wolfssl-4.5.0+dfsg/tests/api.c:16906:21: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt,"failed due to key-size-inconsistency"); data/wolfssl-4.5.0+dfsg/tests/api.c:16915:17: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, data/wolfssl-4.5.0+dfsg/tests/api.c:16926:13: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt,"failed due to key-contents-inconsistency"); data/wolfssl-4.5.0+dfsg/tests/api.c:16936:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt,"failed due to bad-key-size"); data/wolfssl-4.5.0+dfsg/tests/api.c:16957:17: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed ); data/wolfssl-4.5.0+dfsg/tests/api.c:16965:13: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt,"failed due to key-size-inconsistency"); data/wolfssl-4.5.0+dfsg/tests/api.c:16974:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, data/wolfssl-4.5.0+dfsg/tests/api.c:16997:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_curve25519_make_key()"); data/wolfssl-4.5.0+dfsg/tests/api.c:17041:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:17061:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_curve25519_shared_secret_ex()"); data/wolfssl-4.5.0+dfsg/tests/api.c:17136:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:17154:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_curve25519_make_pub()"); data/wolfssl-4.5.0+dfsg/tests/api.c:17205:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:17225:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_curve25519_export_public_ex()"); data/wolfssl-4.5.0+dfsg/tests/api.c:17274:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:17297:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_curve25519_import_private_raw_ex()"); data/wolfssl-4.5.0+dfsg/tests/api.c:17366:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:17386:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_curve25519_import_private()"); data/wolfssl-4.5.0+dfsg/tests/api.c:17402:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:17424:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_curve25519_export_private_raw_ex()"); data/wolfssl-4.5.0+dfsg/tests/api.c:17470:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:17493:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ed448_make_key()"); data/wolfssl-4.5.0+dfsg/tests/api.c:17517:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:17541:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ed448_init()"); data/wolfssl-4.5.0+dfsg/tests/api.c:17555:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:17593:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ed448_sign_msg()"); data/wolfssl-4.5.0+dfsg/tests/api.c:17622:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:17624:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ed448_verify_msg()"); data/wolfssl-4.5.0+dfsg/tests/api.c:17674:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:17709:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ed448_import_public()"); data/wolfssl-4.5.0+dfsg/tests/api.c:17737:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:17777:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ed448_import_private_key()"); data/wolfssl-4.5.0+dfsg/tests/api.c:17815:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:17857:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ed448_export_public()"); data/wolfssl-4.5.0+dfsg/tests/api.c:17881:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:17882:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ed448_export_private_only()"); data/wolfssl-4.5.0+dfsg/tests/api.c:17906:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:17945:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ed448_size()"); data/wolfssl-4.5.0+dfsg/tests/api.c:17954:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:17957:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ed448_sig_size()"); data/wolfssl-4.5.0+dfsg/tests/api.c:17971:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:17975:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ed448_pub_size"); data/wolfssl-4.5.0+dfsg/tests/api.c:17986:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:17990:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ed448_priv_size"); data/wolfssl-4.5.0+dfsg/tests/api.c:18001:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:18047:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ed448_export_private()"); data/wolfssl-4.5.0+dfsg/tests/api.c:18065:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:18068:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ed448_export_key()"); data/wolfssl-4.5.0+dfsg/tests/api.c:18091:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:18122:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Ed448PublicKeyToDer()"); data/wolfssl-4.5.0+dfsg/tests/api.c:18167:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:18184:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_curve448_init()"); data/wolfssl-4.5.0+dfsg/tests/api.c:18197:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:18220:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_curve448_make_key()"); data/wolfssl-4.5.0+dfsg/tests/api.c:18269:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:18287:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_curve448_shared_secret_ex()"); data/wolfssl-4.5.0+dfsg/tests/api.c:18354:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:18375:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_curve448_export_public_ex()"); data/wolfssl-4.5.0+dfsg/tests/api.c:18424:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:18446:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_curve448_export_private_raw_ex()"); data/wolfssl-4.5.0+dfsg/tests/api.c:18492:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:18514:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_curve448_import_private_raw_ex()"); data/wolfssl-4.5.0+dfsg/tests/api.c:18586:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:18606:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_curve448_export_key_raw()"); data/wolfssl-4.5.0+dfsg/tests/api.c:18626:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:18648:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_curve448_import_private()"); data/wolfssl-4.5.0+dfsg/tests/api.c:18664:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:18682:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_curve448_size()"); data/wolfssl-4.5.0+dfsg/tests/api.c:18696:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:18714:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ecc_make_key()"); data/wolfssl-4.5.0+dfsg/tests/api.c:18747:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:18765:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ecc_init()"); data/wolfssl-4.5.0+dfsg/tests/api.c:18778:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:18809:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ecc_check_key()"); data/wolfssl-4.5.0+dfsg/tests/api.c:18825:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:18851:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ecc_new_point()"); data/wolfssl-4.5.0+dfsg/tests/api.c:18858:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ecc_get_generator()"); data/wolfssl-4.5.0+dfsg/tests/api.c:18878:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:18907:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ecc_size()"); data/wolfssl-4.5.0+dfsg/tests/api.c:18923:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:18989:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ecc_sign_hash()"); data/wolfssl-4.5.0+dfsg/tests/api.c:19021:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, signH == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:19024:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ecc_verify_hash()"); data/wolfssl-4.5.0+dfsg/tests/api.c:19053:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, verifyH == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:19114:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ecc_shared_secret()"); data/wolfssl-4.5.0+dfsg/tests/api.c:19137:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:19179:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ecc_export_x963()"); data/wolfssl-4.5.0+dfsg/tests/api.c:19205:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:19251:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ecc_export_x963_ex()"); data/wolfssl-4.5.0+dfsg/tests/api.c:19310:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:19360:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ecc_import_x963()"); data/wolfssl-4.5.0+dfsg/tests/api.c:19381:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:19438:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ecc_import_private_key()"); data/wolfssl-4.5.0+dfsg/tests/api.c:19459:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:19502:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ecc_export_private_only()"); data/wolfssl-4.5.0+dfsg/tests/api.c:19523:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:19566:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ecc_rs_to_sig()"); data/wolfssl-4.5.0+dfsg/tests/api.c:19588:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:19589:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ecc_sig_to_rs()"); data/wolfssl-4.5.0+dfsg/tests/api.c:19615:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:19641:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ecc_import_raw()"); data/wolfssl-4.5.0+dfsg/tests/api.c:19687:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:19728:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ecc_import_unsigned()"); data/wolfssl-4.5.0+dfsg/tests/api.c:19761:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:19794:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ecc_sig_size()"); data/wolfssl-4.5.0+dfsg/tests/api.c:19803:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:19829:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ecc_ctx_new()"); data/wolfssl-4.5.0+dfsg/tests/api.c:19854:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:19884:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ecc_ctx_reset()"); data/wolfssl-4.5.0+dfsg/tests/api.c:19903:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:19937:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ecc_ctx_get_own_salt()"); data/wolfssl-4.5.0+dfsg/tests/api.c:19955:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:19956:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ecc_ctx_set_peer_salt()"); data/wolfssl-4.5.0+dfsg/tests/api.c:19974:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:20006:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ecc_ctx_set_info()"); data/wolfssl-4.5.0+dfsg/tests/api.c:20027:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:20090:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ecc_encrypt()"); data/wolfssl-4.5.0+dfsg/tests/api.c:20122:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:20123:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ecc_decrypt()"); data/wolfssl-4.5.0+dfsg/tests/api.c:20159:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:20182:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ecc_new_point()"); data/wolfssl-4.5.0+dfsg/tests/api.c:20189:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:20248:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ecc_export_point_der()"); data/wolfssl-4.5.0+dfsg/tests/api.c:20275:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:20278:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ecc_import_point_der()"); data/wolfssl-4.5.0+dfsg/tests/api.c:20305:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:20308:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ecc_copy_point()"); data/wolfssl-4.5.0+dfsg/tests/api.c:20326:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:20328:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ecc_cmp_point()"); data/wolfssl-4.5.0+dfsg/tests/api.c:20345:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:20347:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ecc_point_is_at_infinity()"); data/wolfssl-4.5.0+dfsg/tests/api.c:20362:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:20365:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ecc_point_is_on_curve()"); data/wolfssl-4.5.0+dfsg/tests/api.c:20382:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:20442:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "ecc_shared_secret_ssh()"); data/wolfssl-4.5.0+dfsg/tests/api.c:20480:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:20562:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ecc_sign_hash_ex()"); data/wolfssl-4.5.0+dfsg/tests/api.c:20586:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, sig == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:20587:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ecc_verify_hash_ex()"); data/wolfssl-4.5.0+dfsg/tests/api.c:20611:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ver == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:20664:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ecc_mulmod()"); data/wolfssl-4.5.0+dfsg/tests/api.c:20693:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:20733:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ecc_is_valid_idx()"); data/wolfssl-4.5.0+dfsg/tests/api.c:20753:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:20783:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "ToTraditional()"); data/wolfssl-4.5.0+dfsg/tests/api.c:20815:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:20832:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_EccPrivateKeyToDer()"); data/wolfssl-4.5.0+dfsg/tests/api.c:20878:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:20897:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Ed25519KeyToDer()"); data/wolfssl-4.5.0+dfsg/tests/api.c:20944:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:20962:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Ed25519PrivateKeyToDer()"); data/wolfssl-4.5.0+dfsg/tests/api.c:21010:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:21028:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Ed448KeyToDer()"); data/wolfssl-4.5.0+dfsg/tests/api.c:21075:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:21093:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_Ed448PrivateKeyToDer()"); data/wolfssl-4.5.0+dfsg/tests/api.c:21140:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:21156:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_SetSubjectBuffer()"); data/wolfssl-4.5.0+dfsg/tests/api.c:21185:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:21211:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_SetSubjectKeyIdFromPublicKey_ex()"); data/wolfssl-4.5.0+dfsg/tests/api.c:21271:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:21298:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_SetAuthKeyIdFromPublicKey_ex()"); data/wolfssl-4.5.0+dfsg/tests/api.c:21358:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:21373:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_PKCS7_New()"); data/wolfssl-4.5.0+dfsg/tests/api.c:21378:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:21392:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_PKCS7_Init()"); data/wolfssl-4.5.0+dfsg/tests/api.c:21402:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:21457:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_PKCS7_InitWithCert()"); data/wolfssl-4.5.0+dfsg/tests/api.c:21475:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:21564:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_PKCS7_EncodeData()"); data/wolfssl-4.5.0+dfsg/tests/api.c:21579:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:21737:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_PKCS7_EncodeSignedData()"); data/wolfssl-4.5.0+dfsg/tests/api.c:21783:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:21888:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_PKCS7_EncodeSignedData()"); data/wolfssl-4.5.0+dfsg/tests/api.c:21995:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:22095:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_PKCS7_VerifySignedData()"); data/wolfssl-4.5.0+dfsg/tests/api.c:22188:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:22474:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_PKCS7_EncodeEnvelopedData()"); data/wolfssl-4.5.0+dfsg/tests/api.c:22517:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:22520:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_PKCS7_DecodeEnvelopedData()"); data/wolfssl-4.5.0+dfsg/tests/api.c:22590:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:22727:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_PKCS7_EncodeEncryptedData()"); data/wolfssl-4.5.0+dfsg/tests/api.c:22761:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:22763:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_PKCS7_EncodeEncryptedData()"); data/wolfssl-4.5.0+dfsg/tests/api.c:22786:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:22804:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_PKCS7_Degenerate()"); data/wolfssl-4.5.0+dfsg/tests/api.c:22830:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:23044:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_PKCS7_BER()"); data/wolfssl-4.5.0+dfsg/tests/api.c:23090:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:23115:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "PKCS7_signed_enveloped"); data/wolfssl-4.5.0+dfsg/tests/api.c:23251:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:23271:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_i2d_PKCS12"); data/wolfssl-4.5.0+dfsg/tests/api.c:23297:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:23325:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_SigntureGetSize_ecc()"); data/wolfssl-4.5.0+dfsg/tests/api.c:23363:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:23426:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_SigntureGetSize_rsa()"); data/wolfssl-4.5.0+dfsg/tests/api.c:23468:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:23524:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_HashInit()"); data/wolfssl-4.5.0+dfsg/tests/api.c:23526:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:23529:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, failed); data/wolfssl-4.5.0+dfsg/tests/api.c:23543:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_HashSetFlags()"); data/wolfssl-4.5.0+dfsg/tests/api.c:23626:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:23641:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_HashGetFlags()"); data/wolfssl-4.5.0+dfsg/tests/api.c:23723:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:23749:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_X509_NAME()"); data/wolfssl-4.5.0+dfsg/tests/api.c:23796:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:23808:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_X509_INFO"); data/wolfssl-4.5.0+dfsg/tests/api.c:23825:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:23838:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_X509_subject_name_hash()"); data/wolfssl-4.5.0+dfsg/tests/api.c:23848:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:23862:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_X509_issuer_name_hash()"); data/wolfssl-4.5.0+dfsg/tests/api.c:23872:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:23887:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_DES()"); data/wolfssl-4.5.0+dfsg/tests/api.c:23939:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:23954:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_PemToDer()"); data/wolfssl-4.5.0+dfsg/tests/api.c:23991:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:24002:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_AllocDer()"); data/wolfssl-4.5.0+dfsg/tests/api.c:24008:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:24021:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_CertPemToDer()"); data/wolfssl-4.5.0+dfsg/tests/api.c:24051:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_PubKeyPemToDer()"); data/wolfssl-4.5.0+dfsg/tests/api.c:24085:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_PemPubKeyToDer()"); data/wolfssl-4.5.0+dfsg/tests/api.c:24117:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_certs()"); data/wolfssl-4.5.0+dfsg/tests/api.c:24309:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:24325:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_ASN1_TIME_print()"); data/wolfssl-4.5.0+dfsg/tests/api.c:24347:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:24360:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "ASN1_UTCTIME_print()"); data/wolfssl-4.5.0+dfsg/tests/api.c:24393:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:24428:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_private_keys()"); data/wolfssl-4.5.0+dfsg/tests/api.c:24609:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:24693:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_PEM_PrivateKey()"); data/wolfssl-4.5.0+dfsg/tests/api.c:24834:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:24851:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_PEM_bio_RSAKey"); data/wolfssl-4.5.0+dfsg/tests/api.c:24888:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:24902:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_PEM_RSAPrivateKey()"); data/wolfssl-4.5.0+dfsg/tests/api.c:24928:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:24940:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_PEM_bio_DSAKey"); data/wolfssl-4.5.0+dfsg/tests/api.c:24977:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:24991:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_PEM_bio_ECKey"); data/wolfssl-4.5.0+dfsg/tests/api.c:25028:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:25108:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "DSA_do_sign_verify()"); data/wolfssl-4.5.0+dfsg/tests/api.c:25140:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_tmp_dh()"); data/wolfssl-4.5.0+dfsg/tests/api.c:25178:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:25190:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_crtl()"); data/wolfssl-4.5.0+dfsg/tests/api.c:25205:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:25219:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_EVP_PKEY_new_mac_key()"); data/wolfssl-4.5.0+dfsg/tests/api.c:25256:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:25271:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_EVP_Digest()"); data/wolfssl-4.5.0+dfsg/tests/api.c:25277:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:25288:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_EVP_MD_size()"); data/wolfssl-4.5.0+dfsg/tests/api.c:25357:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:25384:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_EVP_MD_hmac_signing()"); data/wolfssl-4.5.0+dfsg/tests/api.c:25433:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:25452:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_EVP_MD_rsa_signing()"); data/wolfssl-4.5.0+dfsg/tests/api.c:25508:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:25525:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_EVP_MD_ecc_signing()"); data/wolfssl-4.5.0+dfsg/tests/api.c:25577:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:25591:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_CTX_add_extra_chain_cert()"); data/wolfssl-4.5.0+dfsg/tests/api.c:25650:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:25676:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_ERR_peek_last_error_line()"); data/wolfssl-4.5.0+dfsg/tests/api.c:25751:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:25788:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_X509_STORE_CTX_get0_current_issuer()"); data/wolfssl-4.5.0+dfsg/tests/api.c:25822:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:25840:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_X509_STORE_CTX()"); data/wolfssl-4.5.0+dfsg/tests/api.c:25913:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:25926:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_X509_STORE_set_flags()"); data/wolfssl-4.5.0+dfsg/tests/api.c:25942:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:25954:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_X509_LOOKUP_load_file()"); data/wolfssl-4.5.0+dfsg/tests/api.c:25978:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:25989:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_X509_set_time()"); data/wolfssl-4.5.0+dfsg/tests/api.c:25998:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:26009:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_get0_param()"); data/wolfssl-4.5.0+dfsg/tests/api.c:26026:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:26036:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_X509_VERIFY_PARAM_set1_host()"); data/wolfssl-4.5.0+dfsg/tests/api.c:26054:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:26065:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_X509_STORE_CTX_get0_store()"); data/wolfssl-4.5.0+dfsg/tests/api.c:26080:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:26094:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_CTX_set_client_CA_list()"); data/wolfssl-4.5.0+dfsg/tests/api.c:26108:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:26122:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_CTX_add_client_CA()"); data/wolfssl-4.5.0+dfsg/tests/api.c:26139:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:26161:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_X509_NID()"); data/wolfssl-4.5.0+dfsg/tests/api.c:26214:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:26227:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_CTX_set_srp_username()"); data/wolfssl-4.5.0+dfsg/tests/api.c:26243:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:26257:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_CTX_set_srp_password()"); data/wolfssl-4.5.0+dfsg/tests/api.c:26272:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:26291:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "test_wolfSSL_X509_STORE"); data/wolfssl-4.5.0+dfsg/tests/api.c:26348:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:26370:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_X509_STORE_load_locations"); data/wolfssl-4.5.0+dfsg/tests/api.c:26401:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:26415:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_BN()"); data/wolfssl-4.5.0+dfsg/tests/api.c:26559:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:26647:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "test_wolfSSL_msgCb"); data/wolfssl-4.5.0+dfsg/tests/api.c:26693:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:26713:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "test_wolfSSL_either_side"); data/wolfssl-4.5.0+dfsg/tests/api.c:26760:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:26781:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "test_wolfSSL_DTLS_either_side"); data/wolfssl-4.5.0+dfsg/tests/api.c:26828:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:26839:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "test_generate_cookie"); data/wolfssl-4.5.0+dfsg/tests/api.c:26858:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:26878:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_set_options()"); data/wolfssl-4.5.0+dfsg/tests/api.c:26949:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:26962:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_sk_SSL_CIPHER_*()"); data/wolfssl-4.5.0+dfsg/tests/api.c:26985:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:26999:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_set_tlsext_status_type()"); data/wolfssl-4.5.0+dfsg/tests/api.c:27023:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_PEM_read_bio()"); data/wolfssl-4.5.0+dfsg/tests/api.c:27042:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:27073:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_BIO()"); data/wolfssl-4.5.0+dfsg/tests/api.c:27282:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:27293:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_ASN1_STRING()"); data/wolfssl-4.5.0+dfsg/tests/api.c:27303:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:27312:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "test_wolfSSL_ASN1_BIT_STRING()"); data/wolfssl-4.5.0+dfsg/tests/api.c:27323:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:27334:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_DES_ecb_encrypt()"); data/wolfssl-4.5.0+dfsg/tests/api.c:27358:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:27381:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_ASN1_TIME_adj()"); data/wolfssl-4.5.0+dfsg/tests/api.c:27446:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:27458:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_X509_cmp_time()"); data/wolfssl-4.5.0+dfsg/tests/api.c:27469:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:27482:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_X509_time_adj()"); data/wolfssl-4.5.0+dfsg/tests/api.c:27496:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:27513:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_X509()"); data/wolfssl-4.5.0+dfsg/tests/api.c:27562:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:27574:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_X509_get_ext_count()"); data/wolfssl-4.5.0+dfsg/tests/api.c:27593:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_X509_get_ext_count() valid input"); data/wolfssl-4.5.0+dfsg/tests/api.c:27595:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 4 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:27597:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_X509_get_ext_count() NULL argument"); data/wolfssl-4.5.0+dfsg/tests/api.c:27599:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == WOLFSSL_FAILURE ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:27603:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:27630:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_X509_sign\n"); data/wolfssl-4.5.0+dfsg/tests/api.c:27729:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:27738:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_X509_get0_tbs_sigalg"); data/wolfssl-4.5.0+dfsg/tests/api.c:27747:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:27759:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_X509_ALGOR_get0"); data/wolfssl-4.5.0+dfsg/tests/api.c:27779:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:27792:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_X509()"); data/wolfssl-4.5.0+dfsg/tests/api.c:27824:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:27834:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_X509_get_X509_PUBKEY"); data/wolfssl-4.5.0+dfsg/tests/api.c:27843:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:27860:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_X509_get_X509_PUBKEY"); data/wolfssl-4.5.0+dfsg/tests/api.c:27881:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:27890:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_RAND()"); data/wolfssl-4.5.0+dfsg/tests/api.c:27906:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:27930:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_pseudo_rand()"); data/wolfssl-4.5.0+dfsg/tests/api.c:27950:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:27963:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_pkcs8()"); data/wolfssl-4.5.0+dfsg/tests/api.c:27975:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:28144:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:28156:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_ERR_put_error()"); data/wolfssl-4.5.0+dfsg/tests/api.c:28209:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:28221:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_ERR_print_errors()"); data/wolfssl-4.5.0+dfsg/tests/api.c:28241:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:28261:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_ERR_print_errors_cb()"); data/wolfssl-4.5.0+dfsg/tests/api.c:28277:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:28290:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "WOLFSSL_ERROR_MSG()"); data/wolfssl-4.5.0+dfsg/tests/api.c:28294:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:28307:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ERR_remove_state()"); data/wolfssl-4.5.0+dfsg/tests/api.c:28311:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:28326:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ERR_print_errors_fp()"); data/wolfssl-4.5.0+dfsg/tests/api.c:28338:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:28358:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_GetLoggingCb()"); data/wolfssl-4.5.0+dfsg/tests/api.c:28383:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:28397:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_HMAC()"); data/wolfssl-4.5.0+dfsg/tests/api.c:28436:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:28485:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_OBJ()"); data/wolfssl-4.5.0+dfsg/tests/api.c:28566:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:28595:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_OBJ_cmp()"); data/wolfssl-4.5.0+dfsg/tests/api.c:28610:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:28632:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_OBJ_txt2nid()"); data/wolfssl-4.5.0+dfsg/tests/api.c:28645:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:28669:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_OBJ_txt2obj()"); data/wolfssl-4.5.0+dfsg/tests/api.c:28702:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:28718:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_X509_NAME_ENTRY()"); data/wolfssl-4.5.0+dfsg/tests/api.c:28772:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:28784:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_X509_set_name()"); data/wolfssl-4.5.0+dfsg/tests/api.c:28808:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:28832:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_X509_set_notAfter()"); data/wolfssl-4.5.0+dfsg/tests/api.c:28863:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:28885:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_X509_set_notBefore()"); data/wolfssl-4.5.0+dfsg/tests/api.c:28919:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:28940:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:28954:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_BIO_gets()"); data/wolfssl-4.5.0+dfsg/tests/api.c:29063:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:29075:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_BIO_puts()"); data/wolfssl-4.5.0+dfsg/tests/api.c:29092:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:29126:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_BIO_should_retry()"); data/wolfssl-4.5.0+dfsg/tests/api.c:29191:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:29207:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_BIO_write()"); data/wolfssl-4.5.0+dfsg/tests/api.c:29265:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:29279:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_BIO_printf()"); data/wolfssl-4.5.0+dfsg/tests/api.c:29289:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:29332:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_BIO_f_md()"); data/wolfssl-4.5.0+dfsg/tests/api.c:29391:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:29418:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_SESSION()"); data/wolfssl-4.5.0+dfsg/tests/api.c:29560:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:29571:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_d2i_PUBKEY()"); data/wolfssl-4.5.0+dfsg/tests/api.c:29595:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:29613:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_d2i_PrivateKeys_bio()"); data/wolfssl-4.5.0+dfsg/tests/api.c:29717:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:29734:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_sk_GENERAL_NAME()"); data/wolfssl-4.5.0+dfsg/tests/api.c:29766:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:29781:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_MD4()"); data/wolfssl-4.5.0+dfsg/tests/api.c:29789:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:29803:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_RSA()"); data/wolfssl-4.5.0+dfsg/tests/api.c:29858:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:29899:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "test_wolfSSL_RSA_DER()"); data/wolfssl-4.5.0+dfsg/tests/api.c:29927:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:29954:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "test_wolfSSL_RSA_get0_key()"); data/wolfssl-4.5.0+dfsg/tests/api.c:29981:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:29991:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "test_wolfSSL_RSA_meth"); data/wolfssl-4.5.0+dfsg/tests/api.c:30023:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:30034:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "test_wolfSSL_verify_depth()"); data/wolfssl-4.5.0+dfsg/tests/api.c:30056:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:30185:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_HMAC_CTX()"); data/wolfssl-4.5.0+dfsg/tests/api.c:30231:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:30257:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_msg_callback()"); data/wolfssl-4.5.0+dfsg/tests/api.c:30275:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:30282:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_SHA()"); data/wolfssl-4.5.0+dfsg/tests/api.c:30354:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:30391:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_DH_1536_prime()"); data/wolfssl-4.5.0+dfsg/tests/api.c:30398:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:30421:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_PEM_write_DHparams()"); data/wolfssl-4.5.0+dfsg/tests/api.c:30445:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:30478:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_AES_ecb_encrypt()"); data/wolfssl-4.5.0+dfsg/tests/api.c:30497:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:30514:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_SHA256()"); data/wolfssl-4.5.0+dfsg/tests/api.c:30521:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:30533:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_X509_get_serialNumber()"); data/wolfssl-4.5.0+dfsg/tests/api.c:30565:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:30572:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_OpenSSL_add_all_algorithms()"); data/wolfssl-4.5.0+dfsg/tests/api.c:30583:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:30598:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_ASN1_STRING_print_ex()"); data/wolfssl-4.5.0+dfsg/tests/api.c:30662:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:30674:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_ASN1_TIME_to_generalizedtime()"); data/wolfssl-4.5.0+dfsg/tests/api.c:30725:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:30736:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_X509_CA_num()"); data/wolfssl-4.5.0+dfsg/tests/api.c:30752:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:30760:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_X509_check_ca()"); data/wolfssl-4.5.0+dfsg/tests/api.c:30770:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:30778:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_X509_check_ip_asc()"); data/wolfssl-4.5.0+dfsg/tests/api.c:30789:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:30813:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL Certs with DC"); data/wolfssl-4.5.0+dfsg/tests/api.c:30935:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:30944:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_X509_get_version()"); data/wolfssl-4.5.0+dfsg/tests/api.c:30951:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:30967:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_DES_ncbc()"); data/wolfssl-4.5.0+dfsg/tests/api.c:30998:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:31049:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "Stressing wolfSSL_AES_cbc_encrypt()"); data/wolfssl-4.5.0+dfsg/tests/api.c:31059:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, "Stress Tests: passed"); data/wolfssl-4.5.0+dfsg/tests/api.c:31061:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "Stressing wolfSSL_AES_set_encrypt_key"); data/wolfssl-4.5.0+dfsg/tests/api.c:31066:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, "Stress Tests: passed"); data/wolfssl-4.5.0+dfsg/tests/api.c:31068:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "Stressing wolfSSL_AES_set_decrypt_key"); data/wolfssl-4.5.0+dfsg/tests/api.c:31073:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, "Stress Tests: passed"); data/wolfssl-4.5.0+dfsg/tests/api.c:31077:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_AES_cbc_encrypt() 128-bit"); data/wolfssl-4.5.0+dfsg/tests/api.c:31084:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, "passed"); data/wolfssl-4.5.0+dfsg/tests/api.c:31088:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_AES_cbc_encrypt() 128-bit in decrypt mode"); data/wolfssl-4.5.0+dfsg/tests/api.c:31096:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, "passed"); data/wolfssl-4.5.0+dfsg/tests/api.c:31122:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_AES_cbc_encrypt() 192-bit"); data/wolfssl-4.5.0+dfsg/tests/api.c:31129:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, "passed"); data/wolfssl-4.5.0+dfsg/tests/api.c:31133:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_AES_cbc_encrypt() 192-bit in decrypt mode"); data/wolfssl-4.5.0+dfsg/tests/api.c:31141:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, "passed"); data/wolfssl-4.5.0+dfsg/tests/api.c:31167:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_AES_cbc_encrypt() 256-bit"); data/wolfssl-4.5.0+dfsg/tests/api.c:31174:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, "passed"); data/wolfssl-4.5.0+dfsg/tests/api.c:31178:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_AES_cbc_encrypt() 256-bit in decrypt mode"); data/wolfssl-4.5.0+dfsg/tests/api.c:31186:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, "passed"); data/wolfssl-4.5.0+dfsg/tests/api.c:31212:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_ASN1_STRING_to_UTF8(): NID_commonName"); data/wolfssl-4.5.0+dfsg/tests/api.c:31221:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, result == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:31223:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_ASN1_STRING_to_UTF8(NULL, valid): "); data/wolfssl-4.5.0+dfsg/tests/api.c:31226:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, len == WOLFSSL_FATAL_ERROR ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:31228:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_ASN1_STRING_to_UTF8(valid, NULL): "); data/wolfssl-4.5.0+dfsg/tests/api.c:31231:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, len == WOLFSSL_FATAL_ERROR ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:31233:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_ASN1_STRING_to_UTF8(NULL, NULL): "); data/wolfssl-4.5.0+dfsg/tests/api.c:31236:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, len == WOLFSSL_FATAL_ERROR ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:31259:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_sk_CIPHER_description"); data/wolfssl-4.5.0+dfsg/tests/api.c:31305:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:31317:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_get_ciphers_compat"); data/wolfssl-4.5.0+dfsg/tests/api.c:31342:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:31359:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_X509_PUBKEY_get()"); data/wolfssl-4.5.0+dfsg/tests/api.c:31367:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt,retEvpPkey == NULL ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:31384:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_d2i_DHparams() 2048-bit"); data/wolfssl-4.5.0+dfsg/tests/api.c:31403:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:31409:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_d2i_DHparams() 3072-bit"); data/wolfssl-4.5.0+dfsg/tests/api.c:31427:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:31446:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_i2d_DHparams() 2048-bit"); data/wolfssl-4.5.0+dfsg/tests/api.c:31463:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:31470:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_i2d_DHparams() 3072-bit"); data/wolfssl-4.5.0+dfsg/tests/api.c:31487:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:31502:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_EC_KEY_dup()"); data/wolfssl-4.5.0+dfsg/tests/api.c:31576:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:31621:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, data/wolfssl-4.5.0+dfsg/tests/api.c:31662:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:31678:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, data/wolfssl-4.5.0+dfsg/tests/api.c:31697:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:31716:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt,"wolfSSL_EVP_PKEY_set1_DH and wolfSSL_EVP_PKEY_get1_DH"); data/wolfssl-4.5.0+dfsg/tests/api.c:31746:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:31771:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_CTX_ctrl"); data/wolfssl-4.5.0+dfsg/tests/api.c:31895:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:31914:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_DH_check"); data/wolfssl-4.5.0+dfsg/tests/api.c:31963:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:31982:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_EVP_PKEY_assign"); data/wolfssl-4.5.0+dfsg/tests/api.c:32015:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:32051:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_OBJ_ln"); data/wolfssl-4.5.0+dfsg/tests/api.c:32075:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:32090:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_OBJ_sn"); data/wolfssl-4.5.0+dfsg/tests/api.c:32098:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:32117:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_X509V3_EXT_get() return struct and nid test"); data/wolfssl-4.5.0+dfsg/tests/api.c:32125:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, "passed"); data/wolfssl-4.5.0+dfsg/tests/api.c:32127:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_X509V3_EXT_get() NULL argument test"); data/wolfssl-4.5.0+dfsg/tests/api.c:32129:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, "passed"); data/wolfssl-4.5.0+dfsg/tests/api.c:32153:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_X509V3_EXT_d2i()"); data/wolfssl-4.5.0+dfsg/tests/api.c:32260:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, "passed"); data/wolfssl-4.5.0+dfsg/tests/api.c:32276:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_X509_get_ext() valid input"); data/wolfssl-4.5.0+dfsg/tests/api.c:32278:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, "passed"); data/wolfssl-4.5.0+dfsg/tests/api.c:32280:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_X509_get_ext() valid x509, idx out of bounds"); data/wolfssl-4.5.0+dfsg/tests/api.c:32283:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, "passed"); data/wolfssl-4.5.0+dfsg/tests/api.c:32285:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_X509_get_ext() NULL x509, idx out of bounds"); data/wolfssl-4.5.0+dfsg/tests/api.c:32288:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, "passed"); data/wolfssl-4.5.0+dfsg/tests/api.c:32290:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_X509_get_ext() NULL x509, valid idx"); data/wolfssl-4.5.0+dfsg/tests/api.c:32292:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, "passed"); data/wolfssl-4.5.0+dfsg/tests/api.c:32357:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_X509_EXTENSION_get_object() testing ext idx 0"); data/wolfssl-4.5.0+dfsg/tests/api.c:32362:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, nid == 128 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:32364:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_X509_EXTENSION_get_object() NULL argument"); data/wolfssl-4.5.0+dfsg/tests/api.c:32366:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:32380:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_X509_EXTENSION_get_data"); data/wolfssl-4.5.0+dfsg/tests/api.c:32388:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:32402:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_X509_EXTENSION_get_critical"); data/wolfssl-4.5.0+dfsg/tests/api.c:32411:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:32420:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_X509V3_EXT_print"); data/wolfssl-4.5.0+dfsg/tests/api.c:32469:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_X509V3_EXT_print"); data/wolfssl-4.5.0+dfsg/tests/api.c:32489:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:32510:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_X509_cmp() testing matching certs"); data/wolfssl-4.5.0+dfsg/tests/api.c:32513:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:32515:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_X509_cmp() testing mismatched certs"); data/wolfssl-4.5.0+dfsg/tests/api.c:32518:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == -1 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:32520:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_X509_cmp() testing NULL, valid args"); data/wolfssl-4.5.0+dfsg/tests/api.c:32523:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == BAD_FUNC_ARG ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:32525:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_X509_cmp() testing valid, NULL args"); data/wolfssl-4.5.0+dfsg/tests/api.c:32528:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == BAD_FUNC_ARG ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:32530:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_X509_cmp() testing NULL, NULL args"); data/wolfssl-4.5.0+dfsg/tests/api.c:32533:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == BAD_FUNC_ARG ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:32544:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_PKEY_up_ref()"); data/wolfssl-4.5.0+dfsg/tests/api.c:32554:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, "passed"); data/wolfssl-4.5.0+dfsg/tests/api.c:32562:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_i2d_PrivateKey()"); data/wolfssl-4.5.0+dfsg/tests/api.c:32601:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, "passed"); data/wolfssl-4.5.0+dfsg/tests/api.c:32618:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_OCSP_get0_info()"); data/wolfssl-4.5.0+dfsg/tests/api.c:32649:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, "passed"); data/wolfssl-4.5.0+dfsg/tests/api.c:32739:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_EC_get_builtin_curves"); data/wolfssl-4.5.0+dfsg/tests/api.c:32754:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:32762:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "no_op_functions()"); data/wolfssl-4.5.0+dfsg/tests/api.c:32770:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:32802:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_GetPkcs8TraditionalOffset"); data/wolfssl-4.5.0+dfsg/tests/api.c:32830:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:32844:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "test_wc_SetSubjectRaw()"); data/wolfssl-4.5.0+dfsg/tests/api.c:32856:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:32867:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "test_wc_GetSubjectRaw()"); data/wolfssl-4.5.0+dfsg/tests/api.c:32872:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:32886:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "test_wc_SetIssuerRaw()"); data/wolfssl-4.5.0+dfsg/tests/api.c:32898:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:32912:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "test_wc_SetIssuerBuffer()"); data/wolfssl-4.5.0+dfsg/tests/api.c:32924:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:32938:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_SetSubjectKeyId()"); data/wolfssl-4.5.0+dfsg/tests/api.c:32946:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:32960:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_SetSubject()"); data/wolfssl-4.5.0+dfsg/tests/api.c:32968:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:33059:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ecc_get_curve_size_from_name"); data/wolfssl-4.5.0+dfsg/tests/api.c:33074:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:33083:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ecc_get_curve_id_from_name"); data/wolfssl-4.5.0+dfsg/tests/api.c:33098:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:33117:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ecc_get_curve_id_from_dp_params"); data/wolfssl-4.5.0+dfsg/tests/api.c:33143:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:33211:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_ecc_get_curve_id_from_params"); data/wolfssl-4.5.0+dfsg/tests/api.c:33239:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:33261:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_EVP_PKEY_encrypt()"); data/wolfssl-4.5.0+dfsg/tests/api.c:33320:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:33340:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_EVP_PKEY_sign()"); data/wolfssl-4.5.0+dfsg/tests/api.c:33385:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:33403:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:33422:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:33492:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:33501:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:33536:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:33551:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:33637:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:33677:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:33686:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_PKCS7_SIGNED_new()"); data/wolfssl-4.5.0+dfsg/tests/api.c:33693:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:33774:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_PEM_write_bio_PKCS7()"); data/wolfssl-4.5.0+dfsg/tests/api.c:33806:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:34438:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "test_DhCallbacks"); data/wolfssl-4.5.0+dfsg/tests/api.c:34577:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:34644:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "get_rand_digit()"); data/wolfssl-4.5.0+dfsg/tests/api.c:34674:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:34688:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "get_digit_count()"); data/wolfssl-4.5.0+dfsg/tests/api.c:34700:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:34717:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "mp_cond_copy()"); data/wolfssl-4.5.0+dfsg/tests/api.c:34749:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:34767:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "mp_rand()"); data/wolfssl-4.5.0+dfsg/tests/api.c:34798:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:34814:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "get_digit()"); data/wolfssl-4.5.0+dfsg/tests/api.c:34841:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:34861:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_export_int()"); data/wolfssl-4.5.0+dfsg/tests/api.c:34887:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:34904:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_InitRngNonce()"); data/wolfssl-4.5.0+dfsg/tests/api.c:34912:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:34929:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wc_InitRngNonce_ex()"); data/wolfssl-4.5.0+dfsg/tests/api.c:34937:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, ret == 0 ? passed : failed); data/wolfssl-4.5.0+dfsg/tests/api.c:34969:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "test_wolfSSL_X509_CRL"); data/wolfssl-4.5.0+dfsg/tests/api.c:35012:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:35024:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_PEM_read_X509"); data/wolfssl-4.5.0+dfsg/tests/api.c:35031:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:35050:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_PEM_read"); data/wolfssl-4.5.0+dfsg/tests/api.c:35143:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:35174:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfssl_EVP_aes_gcm"); data/wolfssl-4.5.0+dfsg/tests/api.c:35251:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:35266:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_PEM_X509_INFO_read_bio"); data/wolfssl-4.5.0+dfsg/tests/api.c:35295:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:35308:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_X509_NAME_ENTRY_get_object"); data/wolfssl-4.5.0+dfsg/tests/api.c:35321:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:35332:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_ASN1_INTEGER_set"); data/wolfssl-4.5.0+dfsg/tests/api.c:35401:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:35488:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_i2c_ASN1_INTEGER"); data/wolfssl-4.5.0+dfsg/tests/api.c:35574:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:35622:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_X509_print"); data/wolfssl-4.5.0+dfsg/tests/api.c:35644:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:35655:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_RSA_print"); data/wolfssl-4.5.0+dfsg/tests/api.c:35664:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:35673:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_BIO_get_len"); data/wolfssl-4.5.0+dfsg/tests/api.c:35680:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:35699:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_ASN1_STRING_print()"); data/wolfssl-4.5.0+dfsg/tests/api.c:35737:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:35758:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_RSA_verify"); data/wolfssl-4.5.0+dfsg/tests/api.c:35799:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/api.c:36048:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(testingFmt, "wolfSSL_dtls_set_mtu()"); data/wolfssl-4.5.0+dfsg/tests/api.c:36049:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(resultFmt, passed); data/wolfssl-4.5.0+dfsg/tests/suites.c:292:9: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(commandLine, svr_argv[i]); data/wolfssl-4.5.0+dfsg/tests/suites.c:293:9: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(commandLine, flagSep); data/wolfssl-4.5.0+dfsg/tests/suites.c:379:9: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(commandLine, svr_argv[i]); data/wolfssl-4.5.0+dfsg/tests/suites.c:380:9: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(commandLine, flagSep); data/wolfssl-4.5.0+dfsg/tests/suites.c:448:9: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(commandLine, cli_argv[i]); data/wolfssl-4.5.0+dfsg/tests/suites.c:449:9: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(commandLine, flagSep); data/wolfssl-4.5.0+dfsg/tests/unit.h:38:33: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf("\n expected: "); printf description; \ data/wolfssl-4.5.0+dfsg/tests/unit.h:39:33: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf("\n result: "); printf result; printf("\n\n"); \ data/wolfssl-4.5.0+dfsg/tests/unit.h:45:32: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf("\n expected: ");printf description; \ data/wolfssl-4.5.0+dfsg/tests/unit.h:46:33: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf("\n result: "); printf result; printf("\n\n"); \ data/wolfssl-4.5.0+dfsg/testsuite/testsuite.c:157:9: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(arg[2], outputName); data/wolfssl-4.5.0+dfsg/wolfcrypt/benchmark/benchmark.c:60:12: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #undef printf data/wolfssl-4.5.0+dfsg/wolfcrypt/benchmark/benchmark.c:61:13: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define printf PRINTF data/wolfssl-4.5.0+dfsg/wolfcrypt/benchmark/benchmark.c:64:12: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #undef printf data/wolfssl-4.5.0+dfsg/wolfcrypt/benchmark/benchmark.c:65:13: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define printf printx data/wolfssl-4.5.0+dfsg/wolfcrypt/benchmark/benchmark.c:69:14: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #undef printf data/wolfssl-4.5.0+dfsg/wolfcrypt/benchmark/benchmark.c:70:15: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define printf BSP_Ser_Printf data/wolfssl-4.5.0+dfsg/wolfcrypt/benchmark/benchmark.c:74:13: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define printf printfk data/wolfssl-4.5.0+dfsg/wolfcrypt/benchmark/benchmark.c:83:15: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. ret = vsnprintf(line, sizeof(line), fmt, ap); data/wolfssl-4.5.0+dfsg/wolfcrypt/benchmark/benchmark.c:98:12: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #undef printf data/wolfssl-4.5.0+dfsg/wolfcrypt/benchmark/benchmark.c:99:13: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define printf M2M_LOG_INFO data/wolfssl-4.5.0+dfsg/wolfcrypt/benchmark/benchmark.c:122:17: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #undef printf data/wolfssl-4.5.0+dfsg/wolfcrypt/benchmark/benchmark.c:123:17: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define printf XPRINTF data/wolfssl-4.5.0+dfsg/wolfcrypt/src/logging.c:217:9: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. int sprintf(char* buf, const char *fmt, ...); data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/intel/quickassist_sync.c:228:28: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define QLOG(...) do { printf(__VA_ARGS__); } while (0) data/wolfssl-4.5.0+dfsg/wolfcrypt/test/test.c:57:12: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #undef printf data/wolfssl-4.5.0+dfsg/wolfcrypt/test/test.c:58:13: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define printf PRINTF data/wolfssl-4.5.0+dfsg/wolfcrypt/test/test.c:74:13: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define printf printk data/wolfssl-4.5.0+dfsg/wolfcrypt/test/test.c:78:12: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #undef printf data/wolfssl-4.5.0+dfsg/wolfcrypt/test/test.c:79:13: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define printf BSP_Ser_Printf data/wolfssl-4.5.0+dfsg/wolfcrypt/test/test.c:83:12: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #undef printf data/wolfssl-4.5.0+dfsg/wolfcrypt/test/test.c:84:13: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define printf wolfssl_pb_print data/wolfssl-4.5.0+dfsg/wolfcrypt/test/test.c:89:12: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #undef printf data/wolfssl-4.5.0+dfsg/wolfcrypt/test/test.c:90:13: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define printf M2M_LOG_INFO data/wolfssl-4.5.0+dfsg/wolfcrypt/test/test.c:102:12: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #undef printf data/wolfssl-4.5.0+dfsg/wolfcrypt/test/test.c:103:13: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define printf dc_log_printf data/wolfssl-4.5.0+dfsg/wolfcrypt/test/test.c:114:17: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #undef printf data/wolfssl-4.5.0+dfsg/wolfcrypt/test/test.c:115:17: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define printf XPRINTF data/wolfssl-4.5.0+dfsg/wolfcrypt/test/test.c:509:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(fmt, args); data/wolfssl-4.5.0+dfsg/wolfcrypt/test/test.c:515:23: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define test_pass printf data/wolfssl-4.5.0+dfsg/wolfcrypt/user-crypto/src/rsa.c:42:27: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define USER_DEBUG(x) printf x data/wolfssl-4.5.0+dfsg/wolfssl/internal.h:3603:37: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. WOLFSSL_ACCESS_DESCRIPTION* access; data/wolfssl-4.5.0+dfsg/wolfssl/openssl/evp.h:708:9: [4] (crypto) EVP_des_cbc: DES only supports a 56-bit keysize, which is too small given today's computers (CWE-327). Use a different patent-free encryption algorithm with a larger keysize, such as 3DES or AES. #define EVP_des_cbc wolfSSL_EVP_des_cbc data/wolfssl-4.5.0+dfsg/wolfssl/openssl/evp.h:709:9: [4] (crypto) EVP_des_ecb: DES only supports a 56-bit keysize, which is too small given today's computers (CWE-327). Use a different patent-free encryption algorithm with a larger keysize, such as 3DES or AES. #define EVP_des_ecb wolfSSL_EVP_des_ecb data/wolfssl-4.5.0+dfsg/wolfssl/ssl.h:1103:68: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. WOLFSSL_ACCESS_DESCRIPTION* access); data/wolfssl-4.5.0+dfsg/wolfssl/ssl.h:1133:78: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. WOLFSSL_API void wolfSSL_ACCESS_DESCRIPTION_free(WOLFSSL_ACCESS_DESCRIPTION* access); data/wolfssl-4.5.0+dfsg/wolfssl/test.h:57:22: [4] (format) _snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define SNPRINTF _snprintf data/wolfssl-4.5.0+dfsg/wolfssl/test.h:152:22: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define SNPRINTF snprintf data/wolfssl-4.5.0+dfsg/wolfssl/test.h:682:18: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. strLen = sprintf(serialMsg, " %s", words[3]); data/wolfssl-4.5.0+dfsg/wolfssl/test.h:2486:37: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define WOLFSSL_PKMSG(_f_, ...) printf(_f_, ##__VA_ARGS__) data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/types.h:497:31: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define XSNPRINTF snprintf data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/types.h:507:39: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define XSNPRINTF snprintf data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/types.h:522:31: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. ret = vsnprintf(buffer, bufsize, format, ap); data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/types.h:531:35: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define XSNPRINTF snprintf data/wolfssl-4.5.0+dfsg/wolfcrypt/src/random.c:1761:13: [3] (random) srand: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. srand(PIC32_SEED_COUNT() * 25); data/wolfssl-4.5.0+dfsg/wolfcrypt/src/random.c:1766:21: [3] (random) srand: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. srand(PIC32_SEED_COUNT() * 25); data/wolfssl-4.5.0+dfsg/wolfcrypt/src/random.c:2046:9: [3] (random) srand: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. srand(xdc_runtime_Timestamp_get32()); data/wolfssl-4.5.0+dfsg/wolfcrypt/src/random.c:2051:17: [3] (random) srand: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. srand(xdc_runtime_Timestamp_get32()); data/wolfssl-4.5.0+dfsg/wolfcrypt/src/random.c:2079:5: [3] (random) srand: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. srand(NU_Get_Time_Stamp()); data/wolfssl-4.5.0+dfsg/wolfcrypt/src/random.c:2084:13: [3] (random) srand: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. srand(NU_Get_Time_Stamp()); data/wolfssl-4.5.0+dfsg/wolfcrypt/src/random.c:2242:37: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. #warning using NetBurner pseudo random GetRandomByte for seed data/wolfssl-4.5.0+dfsg/wolfcrypt/src/random.c:2327:9: [3] (random) srand: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. srand(os_time_get()); data/wolfssl-4.5.0+dfsg/wolfcrypt/src/random.c:2332:17: [3] (random) srand: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. srand(os_time_get()); data/wolfssl-4.5.0+dfsg/wolfcrypt/src/random.c:2504:13: [3] (random) srand: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. srand(get_timestamp()); data/wolfssl-4.5.0+dfsg/wolfcrypt/src/random.c:2508:21: [3] (random) srand: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. srand(get_timestamp()); data/wolfssl-4.5.0+dfsg/wolfcrypt/src/wc_port.c:120:13: [3] (random) srand: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. srand((word32)seed); data/wolfssl-4.5.0+dfsg/wolfcrypt/src/wc_port.c:991:9: [3] (misc) InitializeCriticalSection: Exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. InitializeCriticalSection(m); data/wolfssl-4.5.0+dfsg/wolfcrypt/src/wc_port.c:1005:9: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. EnterCriticalSection(m); data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/types.h:569:29: [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. #define XGETENV getenv data/wolfssl-4.5.0+dfsg/examples/benchmark/tls_bench.c:248:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buf[MEM_BUFFER_SZ]; data/wolfssl-4.5.0+dfsg/examples/benchmark/tls_bench.c:1137:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char msg[64]; data/wolfssl-4.5.0+dfsg/examples/benchmark/tls_bench.c:1533:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char ciphers[WOLFSSL_CIPHER_LIST_MAX_SIZE]; data/wolfssl-4.5.0+dfsg/examples/benchmark/tls_bench.c:1610:27: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). argPort = atoi(myoptarg); data/wolfssl-4.5.0+dfsg/examples/benchmark/tls_bench.c:1632:37: [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). argTestPacketSize = atoi(myoptarg); data/wolfssl-4.5.0+dfsg/examples/benchmark/tls_bench.c:1644:34: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). argTestMaxSize = atoi(myoptarg); data/wolfssl-4.5.0+dfsg/examples/benchmark/tls_bench.c:1648:33: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). argRuntimeSec = atoi(myoptarg); data/wolfssl-4.5.0+dfsg/examples/benchmark/tls_bench.c:1657:34: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). argThreadPairs = atoi(myoptarg); data/wolfssl-4.5.0+dfsg/examples/client/client.c:229:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char ciphers[WOLFSSL_CIPHER_LIST_MAX_SIZE]; data/wolfssl-4.5.0+dfsg/examples/client/client.c:450:17: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[WOLFSSL_MAX_ERROR_SZ]; data/wolfssl-4.5.0+dfsg/examples/client/client.c:725:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmpBuf[256]; data/wolfssl-4.5.0+dfsg/examples/client/client.c:781:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmpBuf[256]; data/wolfssl-4.5.0+dfsg/examples/client/client.c:845:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[WOLFSSL_MAX_ERROR_SZ]; data/wolfssl-4.5.0+dfsg/examples/client/client.c:879:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[WOLFSSL_MAX_ERROR_SZ]; data/wolfssl-4.5.0+dfsg/examples/client/client.c:1428:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char msg[CLI_MSG_SZ]; data/wolfssl-4.5.0+dfsg/examples/client/client.c:1430:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char reply[CLI_REPLY_SZ]; data/wolfssl-4.5.0+dfsg/examples/client/client.c:1544:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[WOLFSSL_MAX_ERROR_SZ]; data/wolfssl-4.5.0+dfsg/examples/client/client.c:1631:33: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). lng_index = atoi(myoptarg); data/wolfssl-4.5.0+dfsg/examples/client/client.c:1717:32: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). port = (word16)atoi(myoptarg); data/wolfssl-4.5.0+dfsg/examples/client/client.c:1738:27: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). version = atoi(myoptarg); data/wolfssl-4.5.0+dfsg/examples/client/client.c:1812:36: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). minDhKeyBits = atoi(myoptarg); data/wolfssl-4.5.0+dfsg/examples/client/client.c:1821:29: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). benchmark = atoi(myoptarg); data/wolfssl-4.5.0+dfsg/examples/client/client.c:1829:30: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). throughput = atol(myoptarg); data/wolfssl-4.5.0+dfsg/examples/client/client.c:1832:33: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). block = atoi(myoptarg + 1); data/wolfssl-4.5.0+dfsg/examples/client/client.c:1889:35: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). maxFragment = atoi(myoptarg); data/wolfssl-4.5.0+dfsg/examples/client/client.c:1913:37: [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). statusRequest = atoi(myoptarg); data/wolfssl-4.5.0+dfsg/examples/client/client.c:2035:29: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). lng_index = atoi(myoptarg); data/wolfssl-4.5.0+dfsg/examples/client/client.c:2051:38: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). mcastID = (byte)(atoi(myoptarg) & 0xFF); data/wolfssl-4.5.0+dfsg/examples/echoclient/echoclient.c:67:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char msg[1024]; data/wolfssl-4.5.0+dfsg/examples/echoclient/echoclient.c:68:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char reply[1024+1]; data/wolfssl-4.5.0+dfsg/examples/echoclient/echoclient.c:83:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[CYASSL_MAX_ERROR_SZ]; data/wolfssl-4.5.0+dfsg/examples/echoclient/echoclient.c:92:16: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fin = fopen(argv[1], "r"); data/wolfssl-4.5.0+dfsg/examples/echoclient/echoclient.c:96:16: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fout = fopen(argv[2], "w"); data/wolfssl-4.5.0+dfsg/examples/echoserver/echoserver.c:91:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[CYASSL_MAX_ERROR_SZ]; data/wolfssl-4.5.0+dfsg/examples/echoserver/echoserver.c:96:16: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fout = fopen(argv[1], "w"); data/wolfssl-4.5.0+dfsg/examples/echoserver/echoserver.c:279:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char command[SVR_COMMAND_SIZE+1]; data/wolfssl-4.5.0+dfsg/examples/sctp/sctp-client-dtls.c:71:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[80]; data/wolfssl-4.5.0+dfsg/examples/sctp/sctp-client-dtls.c:106:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char bigBuf[4096]; data/wolfssl-4.5.0+dfsg/examples/sctp/sctp-client.c:60:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[80]; data/wolfssl-4.5.0+dfsg/examples/sctp/sctp-server-dtls.c:77:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[80]; data/wolfssl-4.5.0+dfsg/examples/sctp/sctp-server-dtls.c:116:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char bigBuf[4096]; data/wolfssl-4.5.0+dfsg/examples/sctp/sctp-server.c:64:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[80]; data/wolfssl-4.5.0+dfsg/examples/server/server.c:462:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[WOLFSSL_MAX_ERROR_SZ]; data/wolfssl-4.5.0+dfsg/examples/server/server.c:504:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[WOLFSSL_MAX_ERROR_SZ]; data/wolfssl-4.5.0+dfsg/examples/server/server.c:916:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char input[SRV_READ_SZ]; data/wolfssl-4.5.0+dfsg/examples/server/server.c:1002:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[WOLFSSL_MAX_ERROR_SZ]; data/wolfssl-4.5.0+dfsg/examples/server/server.c:1122:33: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). lng_index = atoi(myoptarg); data/wolfssl-4.5.0+dfsg/examples/server/server.c:1193:32: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). port = (word16)atoi(myoptarg); data/wolfssl-4.5.0+dfsg/examples/server/server.c:1214:27: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). version = atoi(myoptarg); data/wolfssl-4.5.0+dfsg/examples/server/server.c:1291:36: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). minDhKeyBits = atoi(myoptarg); data/wolfssl-4.5.0+dfsg/examples/server/server.c:1356:25: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). loops = atoi(myoptarg); data/wolfssl-4.5.0+dfsg/examples/server/server.c:1368:30: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). throughput = atol(myoptarg); data/wolfssl-4.5.0+dfsg/examples/server/server.c:1371:33: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). block = atoi(myoptarg + 1); data/wolfssl-4.5.0+dfsg/examples/server/server.c:1475:29: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). lng_index = atoi(myoptarg); data/wolfssl-4.5.0+dfsg/examples/server/server.c:1491:38: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). mcastID = (byte)(atoi(myoptarg) & 0xFF); data/wolfssl-4.5.0+dfsg/examples/server/server.c:1499:40: [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). dtlsCtx.blockSeq = atoi(myoptarg); data/wolfssl-4.5.0+dfsg/src/crl.c:370:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char url[256]; data/wolfssl-4.5.0+dfsg/src/crl.c:907:16: [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). fPEM = open(crl->monitors[0].path, XEVENT_MODE); data/wolfssl-4.5.0+dfsg/src/crl.c:917:16: [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). fDER = open(crl->monitors[1].path, XEVENT_MODE); data/wolfssl-4.5.0+dfsg/src/crl.c:1018:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buff[8192]; data/wolfssl-4.5.0+dfsg/src/internal.c:1111:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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[DTLS_EXPORT_IP]; data/wolfssl-4.5.0+dfsg/src/internal.c:1153:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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[DTLS_EXPORT_IP]; data/wolfssl-4.5.0+dfsg/src/internal.c:1241:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char debug[256]; data/wolfssl-4.5.0+dfsg/src/internal.c:1335:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char debug[256]; data/wolfssl-4.5.0+dfsg/src/internal.c:1379:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char debug[256]; data/wolfssl-4.5.0+dfsg/src/internal.c:1453:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char debug[256]; data/wolfssl-4.5.0+dfsg/src/internal.c:9356:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char name[WOLFSSL_MAX_IPSTR] = {0}; data/wolfssl-4.5.0+dfsg/src/internal.c:9359:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp[4]; data/wolfssl-4.5.0+dfsg/src/internal.c:10050:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char domain[ASN_NAME_MAX]; data/wolfssl-4.5.0+dfsg/src/internal.c:10483:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char args_test[sizeof(ssl->async.args) >= sizeof(*args) ? 1 : -1]; data/wolfssl-4.5.0+dfsg/src/internal.c:14411:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char mac[WC_MAX_DIGEST_SIZE]; data/wolfssl-4.5.0+dfsg/src/internal.c:19273:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char name[MAX_SUITE_NAME + 1]; data/wolfssl-4.5.0+dfsg/src/internal.c:21229:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char args_test[sizeof(ssl->async.args) >= sizeof(*args) ? 1 : -1]; data/wolfssl-4.5.0+dfsg/src/internal.c:22637:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char args_test[sizeof(ssl->async.args) >= sizeof(*args) ? 1 : -1]; data/wolfssl-4.5.0+dfsg/src/internal.c:23919:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char args_test[sizeof(ssl->async.args) >= sizeof(*args) ? 1 : -1]; data/wolfssl-4.5.0+dfsg/src/internal.c:24939:17: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char args_test[sizeof(ssl->async.args) >= sizeof(*args) ? 1 : -1]; data/wolfssl-4.5.0+dfsg/src/internal.c:27604:17: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char args_test[sizeof(ssl->async.args) >= sizeof(*args) ? 1 : -1]; data/wolfssl-4.5.0+dfsg/src/internal.c:28592:17: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char args_test[sizeof(ssl->async.args) >= sizeof(*args) ? 1 : -1]; data/wolfssl-4.5.0+dfsg/src/sniffer.c:340:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char name[MAX_SERVER_NAME]; /* server DNS name */ data/wolfssl-4.5.0+dfsg/src/sniffer.c:363:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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[MAX_SERVER_ADDRESS]; /* passed in server address */ data/wolfssl-4.5.0+dfsg/src/sniffer.c:942:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char myBuffer[MAX_ERROR_LEN]; data/wolfssl-4.5.0+dfsg/src/sniffer.c:1011:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char src[TRACE_MSG_SZ]; data/wolfssl-4.5.0+dfsg/src/sniffer.c:1012:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char dst[TRACE_MSG_SZ]; data/wolfssl-4.5.0+dfsg/src/sniffer.c:1024:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char src[TRACE_MSG_SZ]; data/wolfssl-4.5.0+dfsg/src/sniffer.c:1025:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char dst[TRACE_MSG_SZ]; data/wolfssl-4.5.0+dfsg/src/sniffer.c:5201:25: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). TraceFile = fopen(traceFile, "a"); data/wolfssl-4.5.0+dfsg/src/ssl.c:2513:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char *list, *ptr, *token[WOLFSSL_MAX_ALPN_NUMBER+1]={NULL}; data/wolfssl-4.5.0+dfsg/src/ssl.c:3144:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp[WOLFSSL_MAX_ERROR_SZ]; data/wolfssl-4.5.0+dfsg/src/ssl.c:3893:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char data[WOLFSSL_MAX_ERROR_SZ + 1]; data/wolfssl-4.5.0+dfsg/src/ssl.c:5462:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char password[NAME_SZ]; data/wolfssl-4.5.0+dfsg/src/ssl.c:8539:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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[CTC_NAME_SIZE*2] = {0}; data/wolfssl-4.5.0+dfsg/src/ssl.c:11238:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char name[MAX_SUITE_NAME + 1]; data/wolfssl-4.5.0+dfsg/src/ssl.c:11285:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char name[MAX_SUITE_NAME + 1]; data/wolfssl-4.5.0+dfsg/src/ssl.c:15489:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[WOLFSSL_MAX_ERROR_SZ * 2]; data/wolfssl-4.5.0+dfsg/src/ssl.c:15733:17: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char md5_test[sizeof(MD5_CTX) >= sizeof(wc_Md5) ? 1 : -1]; data/wolfssl-4.5.0+dfsg/src/ssl.c:15784:17: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char sha_test[sizeof(SHA_CTX) >= sizeof(wc_Sha) ? 1 : -1]; data/wolfssl-4.5.0+dfsg/src/ssl.c:15857:17: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char sha_test[sizeof(SHA224_CTX) >= sizeof(wc_Sha224) ? 1 : -1]; data/wolfssl-4.5.0+dfsg/src/ssl.c:15908:17: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char sha_test[sizeof(SHA256_CTX) >= sizeof(wc_Sha256) ? 1 : -1]; data/wolfssl-4.5.0+dfsg/src/ssl.c:15959:17: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char sha_test[sizeof(SHA384_CTX) >= sizeof(wc_Sha384) ? 1 : -1]; data/wolfssl-4.5.0+dfsg/src/ssl.c:16012:17: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char sha_test[sizeof(SHA512_CTX) >= sizeof(wc_Sha512) ? 1 : -1]; data/wolfssl-4.5.0+dfsg/src/ssl.c:16065:17: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char sha_test[sizeof(SHA3_224_CTX) >= sizeof(wc_Sha3) ? 1 : -1]; data/wolfssl-4.5.0+dfsg/src/ssl.c:16117:17: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char sha_test[sizeof(SHA3_256_CTX) >= sizeof(wc_Sha3) ? 1 : -1]; data/wolfssl-4.5.0+dfsg/src/ssl.c:16167:17: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char sha_test[sizeof(SHA3_384_CTX) >= sizeof(wc_Sha3) ? 1 : -1]; data/wolfssl-4.5.0+dfsg/src/ssl.c:16219:17: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char sha_test[sizeof(SHA3_512_CTX) >= sizeof(wc_Sha3) ? 1 : -1]; data/wolfssl-4.5.0+dfsg/src/ssl.c:17463:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmpBuf[256]; data/wolfssl-4.5.0+dfsg/src/ssl.c:17464:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[80]; data/wolfssl-4.5.0+dfsg/src/ssl.c:19537:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char val[5]; data/wolfssl-4.5.0+dfsg/src/ssl.c:20892:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp[20]; data/wolfssl-4.5.0+dfsg/src/ssl.c:20910:22: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char serial[32]; data/wolfssl-4.5.0+dfsg/src/ssl.c:20926:17: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp[17]; data/wolfssl-4.5.0+dfsg/src/ssl.c:20934:17: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp[100]; data/wolfssl-4.5.0+dfsg/src/ssl.c:20936:17: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char val[5]; data/wolfssl-4.5.0+dfsg/src/ssl.c:20988:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buff[256]; data/wolfssl-4.5.0+dfsg/src/ssl.c:21026:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp[80]; data/wolfssl-4.5.0+dfsg/src/ssl.c:21086:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buff[256]; data/wolfssl-4.5.0+dfsg/src/ssl.c:21125:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp[100]; data/wolfssl-4.5.0+dfsg/src/ssl.c:21195:29: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char val[5]; data/wolfssl-4.5.0+dfsg/src/ssl.c:21322:33: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char val[5]; data/wolfssl-4.5.0+dfsg/src/ssl.c:21388:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp[100]; data/wolfssl-4.5.0+dfsg/src/ssl.c:21390:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char val[5]; data/wolfssl-4.5.0+dfsg/src/ssl.c:21416:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp[100]; data/wolfssl-4.5.0+dfsg/src/ssl.c:21418:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char val[5]; data/wolfssl-4.5.0+dfsg/src/ssl.c:21450:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp[100]; data/wolfssl-4.5.0+dfsg/src/ssl.c:21471:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp[100]; data/wolfssl-4.5.0+dfsg/src/ssl.c:21498:17: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char val[5]; data/wolfssl-4.5.0+dfsg/src/ssl.c:21566:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char n[MAX_SEGMENTS][MAX_SEGMENT_SZ] = {{0}}; data/wolfssl-4.5.0+dfsg/src/ssl.c:21964:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ok[sizeof(md4->buffer) >= sizeof(Md4) ? 1 : -1]; data/wolfssl-4.5.0+dfsg/src/ssl.c:23949:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char tmp[sizeof(long)+1] = {0}; data/wolfssl-4.5.0+dfsg/src/ssl.c:24054:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[MAX_TIME_STRING_SZ]; data/wolfssl-4.5.0+dfsg/src/ssl.c:26531:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char rc4_test[sizeof(WOLFSSL_RC4_KEY) >= sizeof(Arc4) ? 1 : -1]; data/wolfssl-4.5.0+dfsg/src/ssl.c:26618:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char aes_test[sizeof(AES_KEY) >= sizeof(Aes) ? 1 : -1]; data/wolfssl-4.5.0+dfsg/src/ssl.c:26646:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char aes_test[sizeof(AES_KEY) >= sizeof(Aes) ? 1 : -1]; data/wolfssl-4.5.0+dfsg/src/ssl.c:26904:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char line[80]; data/wolfssl-4.5.0+dfsg/src/ssl.c:26913:17: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(line + 1 + i * 3,"%02x ", buf[i]); data/wolfssl-4.5.0+dfsg/src/ssl.c:26915:17: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(line + 1 + i * 3, " "); data/wolfssl-4.5.0+dfsg/src/ssl.c:26917:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(line + 1 + LINE_LEN * 3, "| "); data/wolfssl-4.5.0+dfsg/src/ssl.c:26920:17: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(line + 3 + LINE_LEN * 3 + i, data/wolfssl-4.5.0+dfsg/src/ssl.c:26956:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[MAX_TIME_STRING_SZ]; data/wolfssl-4.5.0+dfsg/src/ssl.c:26997:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const char monthStr[12][4] = { data/wolfssl-4.5.0+dfsg/src/ssl.c:28476:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buf[1024]; data/wolfssl-4.5.0+dfsg/src/ssl.c:28547:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buf[256]; data/wolfssl-4.5.0+dfsg/src/ssl.c:29119:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char p[1024]; data/wolfssl-4.5.0+dfsg/src/ssl.c:29120:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char g[1024]; data/wolfssl-4.5.0+dfsg/src/ssl.c:29122:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char priv_key[256]; data/wolfssl-4.5.0+dfsg/src/ssl.c:29123:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char pub_key[256]; data/wolfssl-4.5.0+dfsg/src/ssl.c:29763:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char pub [1024]; data/wolfssl-4.5.0+dfsg/src/ssl.c:29764:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char priv[1024]; data/wolfssl-4.5.0+dfsg/src/ssl.c:35468:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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[100] = {0}; data/wolfssl-4.5.0+dfsg/src/ssl.c:35586:17: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char val[5]; data/wolfssl-4.5.0+dfsg/src/ssl.c:37741:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buf[256]; /* ASN_MAX_NAME */ data/wolfssl-4.5.0+dfsg/src/ssl.c:38125:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char pem[256]; data/wolfssl-4.5.0+dfsg/src/ssl.c:38425:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char password[NAME_SZ]; data/wolfssl-4.5.0+dfsg/src/ssl.c:39597:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char out[MAX_OID_SZ]; data/wolfssl-4.5.0+dfsg/src/ssl.c:39663:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char out[MAX_OID_SZ]; data/wolfssl-4.5.0+dfsg/src/ssl.c:41175:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char maxKeyBuf[4096]; data/wolfssl-4.5.0+dfsg/src/ssl.c:41280:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char maxDerBuf[4096]; data/wolfssl-4.5.0+dfsg/src/ssl.c:42165:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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[ASN_NAME_MAX+1]; data/wolfssl-4.5.0+dfsg/src/ssl.c:42166:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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[ASN_NAME_MAX]; data/wolfssl-4.5.0+dfsg/src/ssl.c:42542:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char asc[16]; data/wolfssl-4.5.0+dfsg/src/ssl.c:42598:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buf[SECRET_LEN]; data/wolfssl-4.5.0+dfsg/src/ssl.c:43900:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char num[16] = { '0', '1', '2', '3', '4', '5', '6', '7', data/wolfssl-4.5.0+dfsg/src/ssl.c:43986:44: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char keyName[WOLFSSL_TICKET_NAME_SZ], data/wolfssl-4.5.0+dfsg/src/ssl.c:43987:44: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char iv[WOLFSSL_TICKET_IV_SZ], data/wolfssl-4.5.0+dfsg/src/ssl.c:43988:44: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char mac[WOLFSSL_TICKET_MAC_SZ], data/wolfssl-4.5.0+dfsg/src/ssl.c:44458:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char name[MAX_CURVE_NAME_SZ]; data/wolfssl-4.5.0+dfsg/src/ssl.c:46707:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const char *const tag_label[31] = { data/wolfssl-4.5.0+dfsg/src/ssl.c:46768:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char hex_tmp[4]; data/wolfssl-4.5.0+dfsg/src/ssl.c:46897:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char utc_str[ASN_UTC_TIME_SIZE]; data/wolfssl-4.5.0+dfsg/src/ssl.c:46919:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char gt_str[ASN_GENERALIZED_TIME_MAX]; data/wolfssl-4.5.0+dfsg/src/ssl.c:47883:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char password[NAME_SZ]; data/wolfssl-4.5.0+dfsg/src/ssl.c:48100:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char password[NAME_SZ]; data/wolfssl-4.5.0+dfsg/src/tls.c:593:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char pmsBuf[13 + 1 + 64 + 1 + 96 + 1 + 1]; data/wolfssl-4.5.0+dfsg/src/tls.c:975:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char hashBlock[WC_MAX_BLOCK_SIZE]; data/wolfssl-4.5.0+dfsg/src/tls13.c:2133:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char args_test[sizeof(ssl->async.args) >= sizeof(*args) ? 1 : -1]; data/wolfssl-4.5.0+dfsg/src/tls13.c:5093:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char args_test[sizeof(ssl->async.args) >= sizeof(*args) ? 1 : -1]; data/wolfssl-4.5.0+dfsg/src/tls13.c:5526:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char args_test[sizeof(ssl->async.args) >= sizeof(*args) ? 1 : -1]; data/wolfssl-4.5.0+dfsg/src/wolfio.c:778:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char strPort[6]; data/wolfssl-4.5.0+dfsg/src/wolfio.c:932:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char port[6]; data/wolfssl-4.5.0+dfsg/src/wolfio.c:1219:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char reqSzStr[6]; data/wolfssl-4.5.0+dfsg/src/wolfio.c:1353:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char path[MAX_URL_ITEM_SIZE]; data/wolfssl-4.5.0+dfsg/src/wolfio.c:1354:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char domainName[MAX_URL_ITEM_SIZE]; data/wolfssl-4.5.0+dfsg/src/wolfio.c:1473:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char domainName[MAX_URL_ITEM_SIZE]; data/wolfssl-4.5.0+dfsg/src/wolfio.c:2194:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&mynewt_ctx->mnSockAddrIn, mnSockAddrIn, sizeof(struct mn_sockaddr_in)); data/wolfssl-4.5.0+dfsg/sslSniffer/sslSnifferTest/snifftest.c:226:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char output[32]; data/wolfssl-4.5.0+dfsg/sslSniffer/sslSnifferTest/snifftest.c:236:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char output[42]; data/wolfssl-4.5.0+dfsg/sslSniffer/sslSnifferTest/snifftest.c:321:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char err[PCAP_ERRBUF_SIZE]; data/wolfssl-4.5.0+dfsg/sslSniffer/sslSnifferTest/snifftest.c:322:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char filter[32]; data/wolfssl-4.5.0+dfsg/sslSniffer/sslSnifferTest/snifftest.c:350:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char cmdLineArg[128]; data/wolfssl-4.5.0+dfsg/swig/wolfssl_adds.c:127:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&tmp.sin_addr.s_addr, entry->h_addr_list[0],entry->h_length); data/wolfssl-4.5.0+dfsg/swig/wolfssl_adds.c:181:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char buffer[WOLFSSL_MAX_ERROR_SZ]; data/wolfssl-4.5.0+dfsg/swig/wolfssl_adds.c:235:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(dst, src, size); data/wolfssl-4.5.0+dfsg/tests/api.c:1133:25: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). AssertNotNull(file1=fopen("./certs/ca-cert.pem", "rb")); data/wolfssl-4.5.0+dfsg/tests/api.c:2110:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char outSig[8]; data/wolfssl-4.5.0+dfsg/tests/api.c:2111:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char sigData[8] = data/wolfssl-4.5.0+dfsg/tests/api.c:2417:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char input[1024]; data/wolfssl-4.5.0+dfsg/tests/api.c:2447:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buff[WOLFSSL_MAX_ERROR_SZ]; data/wolfssl-4.5.0+dfsg/tests/api.c:2491:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char input[1024]; data/wolfssl-4.5.0+dfsg/tests/api.c:2664:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buff[WOLFSSL_MAX_ERROR_SZ]; data/wolfssl-4.5.0+dfsg/tests/api.c:2730:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char input[1024]; data/wolfssl-4.5.0+dfsg/tests/api.c:2852:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buff[WOLFSSL_MAX_ERROR_SZ]; data/wolfssl-4.5.0+dfsg/tests/api.c:2921:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char msg[64] = "hello wolfssl!"; data/wolfssl-4.5.0+dfsg/tests/api.c:2922:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char reply[1024]; data/wolfssl-4.5.0+dfsg/tests/api.c:3050:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buff[WOLFSSL_MAX_ERROR_SZ]; data/wolfssl-4.5.0+dfsg/tests/api.c:3123:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char msg[64] = "hello wolfssl!"; data/wolfssl-4.5.0+dfsg/tests/api.c:3124:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char reply[1024]; data/wolfssl-4.5.0+dfsg/tests/api.c:3235:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buff[WOLFSSL_MAX_ERROR_SZ]; data/wolfssl-4.5.0+dfsg/tests/api.c:3297:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buff[WOLFSSL_MAX_ERROR_SZ]; data/wolfssl-4.5.0+dfsg/tests/api.c:3349:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char input[1024]; data/wolfssl-4.5.0+dfsg/tests/api.c:3439:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buff[WOLFSSL_MAX_ERROR_SZ]; data/wolfssl-4.5.0+dfsg/tests/api.c:3503:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char input[1024]; data/wolfssl-4.5.0+dfsg/tests/api.c:3558:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buff[WOLFSSL_MAX_ERROR_SZ]; data/wolfssl-4.5.0+dfsg/tests/api.c:3799:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char msg[64] = "hello wolfssl!"; data/wolfssl-4.5.0+dfsg/tests/api.c:3800:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char reply[1024]; data/wolfssl-4.5.0+dfsg/tests/api.c:4620:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buff[256]; data/wolfssl-4.5.0+dfsg/tests/api.c:5532:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buf[2048]; data/wolfssl-4.5.0+dfsg/tests/api.c:21418:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char cert[sizeof_client_cert_der_2048]; data/wolfssl-4.5.0+dfsg/tests/api.c:21423:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char cert[sizeof_client_cert_der_1024]; data/wolfssl-4.5.0+dfsg/tests/api.c:21428:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char cert[ONEK_BUF]; data/wolfssl-4.5.0+dfsg/tests/api.c:21439:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char cert[sizeof_cliecc_cert_der_256]; data/wolfssl-4.5.0+dfsg/tests/api.c:21444:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char cert[ONEK_BUF]; data/wolfssl-4.5.0+dfsg/tests/api.c:21494:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char cert[sizeof_client_cert_der_2048]; data/wolfssl-4.5.0+dfsg/tests/api.c:21495:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char key[sizeof_client_key_der_2048]; data/wolfssl-4.5.0+dfsg/tests/api.c:21504:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char cert[sizeof_client_cert_der_1024]; data/wolfssl-4.5.0+dfsg/tests/api.c:21505:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char key[sizeof_client_key_der_1024]; data/wolfssl-4.5.0+dfsg/tests/api.c:21513:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char cert[ONEK_BUF]; data/wolfssl-4.5.0+dfsg/tests/api.c:21514:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char key[ONEK_BUF]; data/wolfssl-4.5.0+dfsg/tests/api.c:21531:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char cert[sizeof_cliecc_cert_der_256]; data/wolfssl-4.5.0+dfsg/tests/api.c:21532:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char key[sizeof_ecc_clikey_der_256]; data/wolfssl-4.5.0+dfsg/tests/api.c:21540:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char cert[ONEK_BUF]; data/wolfssl-4.5.0+dfsg/tests/api.c:21541:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char key[ONEK_BUF]; data/wolfssl-4.5.0+dfsg/tests/api.c:21685:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char cert[ONEK_BUF]; data/wolfssl-4.5.0+dfsg/tests/api.c:21686:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char key[ONEK_BUF]; data/wolfssl-4.5.0+dfsg/tests/api.c:21703:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char cert[sizeof_cliecc_cert_der_256]; data/wolfssl-4.5.0+dfsg/tests/api.c:21704:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char key[sizeof_ecc_clikey_der_256]; data/wolfssl-4.5.0+dfsg/tests/api.c:21712:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char cert[ONEK_BUF]; data/wolfssl-4.5.0+dfsg/tests/api.c:21713:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char key[ONEK_BUF]; data/wolfssl-4.5.0+dfsg/tests/api.c:21831:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char cert[ONEK_BUF]; data/wolfssl-4.5.0+dfsg/tests/api.c:21832:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char key[ONEK_BUF]; data/wolfssl-4.5.0+dfsg/tests/api.c:21849:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char cert[sizeof_cliecc_cert_der_256]; data/wolfssl-4.5.0+dfsg/tests/api.c:21850:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char key[sizeof_ecc_clikey_der_256]; data/wolfssl-4.5.0+dfsg/tests/api.c:21858:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char cert[ONEK_BUF]; data/wolfssl-4.5.0+dfsg/tests/api.c:21859:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char key[ONEK_BUF]; data/wolfssl-4.5.0+dfsg/tests/api.c:22043:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char cert[ONEK_BUF]; data/wolfssl-4.5.0+dfsg/tests/api.c:22044:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char key[ONEK_BUF]; data/wolfssl-4.5.0+dfsg/tests/api.c:22049:14: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fp = fopen("./certs/1024/client-cert.der", "rb"); data/wolfssl-4.5.0+dfsg/tests/api.c:22054:14: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fp = fopen("./certs/1024/client-key.der", "rb"); data/wolfssl-4.5.0+dfsg/tests/api.c:22061:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char cert[sizeof_cliecc_cert_der_256]; data/wolfssl-4.5.0+dfsg/tests/api.c:22062:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char key[sizeof_ecc_clikey_der_256]; data/wolfssl-4.5.0+dfsg/tests/api.c:22070:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char cert[ONEK_BUF]; data/wolfssl-4.5.0+dfsg/tests/api.c:22071:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char key[ONEK_BUF]; data/wolfssl-4.5.0+dfsg/tests/api.c:22075:14: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fp = fopen("./certs/client-ecc-cert.der", "rb"); data/wolfssl-4.5.0+dfsg/tests/api.c:22080:14: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fp = fopen("./certs/client-ecc-key.der", "rb"); data/wolfssl-4.5.0+dfsg/tests/api.c:23103:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/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[FOURK_BUF/2]; data/wolfssl-4.5.0+dfsg/tests/api.c:23104:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char cert[FOURK_BUF/2]; data/wolfssl-4.5.0+dfsg/tests/api.c:23105:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char env[FOURK_BUF]; data/wolfssl-4.5.0+dfsg/tests/api.c:23110:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char sig[FOURK_BUF * 2]; data/wolfssl-4.5.0+dfsg/tests/api.c:23112:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char decoded[FOURK_BUF]; data/wolfssl-4.5.0+dfsg/tests/api.c:23262:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char der[FOURK_BUF * 2]; data/wolfssl-4.5.0+dfsg/tests/api.c:23265:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/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[FOURK_BUF * 2]; data/wolfssl-4.5.0+dfsg/tests/api.c:23739:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buf[4096]; data/wolfssl-4.5.0+dfsg/tests/api.c:24323:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buf[25]; data/wolfssl-4.5.0+dfsg/tests/api.c:24356:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buf[25]; data/wolfssl-4.5.0+dfsg/tests/api.c:24402:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char nullstr[32]; data/wolfssl-4.5.0+dfsg/tests/api.c:24452:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buf[FOURK_BUF]; data/wolfssl-4.5.0+dfsg/tests/api.c:24690:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char extra[10]; data/wolfssl-4.5.0+dfsg/tests/api.c:24797:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buf[2048]; data/wolfssl-4.5.0+dfsg/tests/api.c:25080:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char digest[WC_SHA_DIGEST_SIZE]; data/wolfssl-4.5.0+dfsg/tests/api.c:25379:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char check[sizeof(testResult)]; data/wolfssl-4.5.0+dfsg/tests/api.c:25450:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char check[2048/8]; data/wolfssl-4.5.0+dfsg/tests/api.c:25523:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char check[2048/8]; data/wolfssl-4.5.0+dfsg/tests/api.c:26154:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char commonName[80]; data/wolfssl-4.5.0+dfsg/tests/api.c:26155:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char countryName[80]; data/wolfssl-4.5.0+dfsg/tests/api.c:26156:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char localityName[80]; data/wolfssl-4.5.0+dfsg/tests/api.c:26157:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char stateName[80]; data/wolfssl-4.5.0+dfsg/tests/api.c:26158:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char orgName[80]; data/wolfssl-4.5.0+dfsg/tests/api.c:26159:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char orgUnit[80]; data/wolfssl-4.5.0+dfsg/tests/api.c:26413:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char value[1]; data/wolfssl-4.5.0+dfsg/tests/api.c:27224:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char cert[300]; data/wolfssl-4.5.0+dfsg/tests/api.c:27378:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char date_str[CTC_DATE_SIZE + 1]; data/wolfssl-4.5.0+dfsg/tests/api.c:27589:23: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). AssertNotNull(f = fopen("./certs/server-cert.pem", "rb")); data/wolfssl-4.5.0+dfsg/tests/api.c:27899:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char fname[100]; data/wolfssl-4.5.0+dfsg/tests/api.c:27927:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char bin[8]; data/wolfssl-4.5.0+dfsg/tests/api.c:27961:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char pkcs8_buffer[512]; data/wolfssl-4.5.0+dfsg/tests/api.c:27988:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char pkcs8_buffer[2048]; data/wolfssl-4.5.0+dfsg/tests/api.c:28219:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[1024]; data/wolfssl-4.5.0+dfsg/tests/api.c:28259:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[1024]; data/wolfssl-4.5.0+dfsg/tests/api.c:28393:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char hash[WC_MAX_DIGEST_SIZE]; data/wolfssl-4.5.0+dfsg/tests/api.c:28450:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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[50]; data/wolfssl-4.5.0+dfsg/tests/api.c:28654:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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[50]; data/wolfssl-4.5.0+dfsg/tests/api.c:28829:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buf[25]; data/wolfssl-4.5.0+dfsg/tests/api.c:28882:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buf[25]; data/wolfssl-4.5.0+dfsg/tests/api.c:28951:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char bio_buffer[20]; data/wolfssl-4.5.0+dfsg/tests/api.c:29073:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char output[128]; data/wolfssl-4.5.0+dfsg/tests/api.c:29120:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char msg[64] = "hello wolfssl!"; data/wolfssl-4.5.0+dfsg/tests/api.c:29121:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char reply[1024]; data/wolfssl-4.5.0+dfsg/tests/api.c:29203:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char out[40]; data/wolfssl-4.5.0+dfsg/tests/api.c:29276:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char out[60]; data/wolfssl-4.5.0+dfsg/tests/api.c:29298:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char out[60]; data/wolfssl-4.5.0+dfsg/tests/api.c:29328:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char check[sizeof(testResult) + 1]; data/wolfssl-4.5.0+dfsg/tests/api.c:29416:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char msg[80]; data/wolfssl-4.5.0+dfsg/tests/api.c:29492:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[30]; data/wolfssl-4.5.0+dfsg/tests/api.c:29532:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[64] = {0}; data/wolfssl-4.5.0+dfsg/tests/api.c:29609:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buff[4096]; data/wolfssl-4.5.0+dfsg/tests/api.c:29728:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buf[4096]; data/wolfssl-4.5.0+dfsg/tests/api.c:29774:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/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[16]; /* MD4_DIGEST_SIZE */ data/wolfssl-4.5.0+dfsg/tests/api.c:30086:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char digest2[64]; data/wolfssl-4.5.0+dfsg/tests/api.c:30182:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char digest[64]; data/wolfssl-4.5.0+dfsg/tests/api.c:30289:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char out[WC_SHA_DIGEST_SIZE]; data/wolfssl-4.5.0+dfsg/tests/api.c:30303:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char out[WC_SHA256_DIGEST_SIZE]; data/wolfssl-4.5.0+dfsg/tests/api.c:30322:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char out[WC_SHA384_DIGEST_SIZE]; data/wolfssl-4.5.0+dfsg/tests/api.c:30342:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char out[WC_SHA512_DIGEST_SIZE]; data/wolfssl-4.5.0+dfsg/tests/api.c:30362:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char bits[200]; data/wolfssl-4.5.0+dfsg/tests/api.c:30596:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char rbuf[255]; data/wolfssl-4.5.0+dfsg/tests/api.c:30961:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/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[DES_BLOCK_SIZE * 2] = {0}; data/wolfssl-4.5.0+dfsg/tests/api.c:30962:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char pln[DES_BLOCK_SIZE * 2] = {0}; data/wolfssl-4.5.0+dfsg/tests/api.c:31203:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char targetOutput[16] = "www.wolfssl.com"; data/wolfssl-4.5.0+dfsg/tests/api.c:31208:26: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). AssertNotNull(file = fopen("./certs/server-cert.pem", "rb")); data/wolfssl-4.5.0+dfsg/tests/api.c:31253:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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/wolfssl-4.5.0+dfsg/tests/api.c:31254:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char test_str[9] = "0000000"; data/wolfssl-4.5.0+dfsg/tests/api.c:31375:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buf[4096]; data/wolfssl-4.5.0+dfsg/tests/api.c:31437:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buf[4096]; data/wolfssl-4.5.0+dfsg/tests/api.c:31710:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buf[4096]; data/wolfssl-4.5.0+dfsg/tests/api.c:32113:23: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). AssertNotNull(f = fopen("./certs/server-cert.pem", "rb")); data/wolfssl-4.5.0+dfsg/tests/api.c:32159:23: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). AssertNotNull(f = fopen("./certs/ocsp/root-ca-cert.pem", "rb")); data/wolfssl-4.5.0+dfsg/tests/api.c:32271:23: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). AssertNotNull(f = fopen("./certs/server-cert.pem", "rb")); data/wolfssl-4.5.0+dfsg/tests/api.c:32305:23: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). AssertNotNull(f = fopen("./certs/server-cert.pem", "rb")); data/wolfssl-4.5.0+dfsg/tests/api.c:32353:26: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). AssertNotNull(file = fopen("./certs/server-cert.pem", "rb")); data/wolfssl-4.5.0+dfsg/tests/api.c:32382:26: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). AssertNotNull(file = fopen("./certs/server-cert.pem", "rb")); data/wolfssl-4.5.0+dfsg/tests/api.c:32404:26: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). AssertNotNull(file = fopen("./certs/server-cert.pem", "rb")); data/wolfssl-4.5.0+dfsg/tests/api.c:32429:27: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). AssertNotNull(f = fopen(svrCertFile, "rb")); data/wolfssl-4.5.0+dfsg/tests/api.c:32502:25: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). AssertNotNull(file1=fopen("./certs/server-cert.pem", "rb")); data/wolfssl-4.5.0+dfsg/tests/api.c:32503:25: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). AssertNotNull(file2=fopen("./certs/3072/client-cert.pem", "rb")); data/wolfssl-4.5.0+dfsg/tests/api.c:32567:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buf[FOURK_BUF]; data/wolfssl-4.5.0+dfsg/tests/api.c:32586:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buf[FOURK_BUF]; data/wolfssl-4.5.0+dfsg/tests/api.c:32714:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char em[256] = {0}; /* len = 2048/8 */ data/wolfssl-4.5.0+dfsg/tests/api.c:32716:20: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. const unsigned char mHash[WC_SHA256_DIGEST_SIZE] = { data/wolfssl-4.5.0+dfsg/tests/api.c:33729:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char cert[ONEK_BUF]; data/wolfssl-4.5.0+dfsg/tests/api.c:33730:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char key[ONEK_BUF]; data/wolfssl-4.5.0+dfsg/tests/api.c:33747:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char cert[sizeof_cliecc_cert_der_256]; data/wolfssl-4.5.0+dfsg/tests/api.c:33748:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char key[sizeof_ecc_clikey_der_256]; data/wolfssl-4.5.0+dfsg/tests/api.c:33756:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char cert[ONEK_BUF]; data/wolfssl-4.5.0+dfsg/tests/api.c:33757:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char key[ONEK_BUF]; data/wolfssl-4.5.0+dfsg/tests/api.c:33928:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (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 earlyDataBuffer[1]; data/wolfssl-4.5.0+dfsg/tests/api.c:35162:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char tag[AES_BLOCK_SIZE] = {0}; data/wolfssl-4.5.0+dfsg/tests/api.c:35587:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char data[32]; data/wolfssl-4.5.0+dfsg/tests/api.c:35692:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char unprintableData[MAX_UNPRINTABLE_CHAR + sizeof(HELLO_DATA)]; data/wolfssl-4.5.0+dfsg/tests/api.c:35693:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char expected[sizeof(unprintableData)+1]; data/wolfssl-4.5.0+dfsg/tests/api.c:35694:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char rbuf[MAX_BUF]; data/wolfssl-4.5.0+dfsg/tests/api.c:35749:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char hash[SHA256_DIGEST_LENGTH]; data/wolfssl-4.5.0+dfsg/tests/api.c:35750:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char signature[2048/8]; data/wolfssl-4.5.0+dfsg/tests/api.c:36105:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char chainGArr[9][50] = {"certs/ca-cert.pem", data/wolfssl-4.5.0+dfsg/tests/api.c:36150:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char chainHArr[6][50] = {"certs/ca-cert.pem", data/wolfssl-4.5.0+dfsg/tests/api.c:36181:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char chainIArr[5][50] = {"certs/ca-cert.pem", data/wolfssl-4.5.0+dfsg/tests/api.c:36209:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char chainJArr[6][50] = {"certs/ca-cert.pem", data/wolfssl-4.5.0+dfsg/tests/suites.c:86:19: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). version = atoi(begin); data/wolfssl-4.5.0+dfsg/tests/suites.c:177:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char cert[80]; data/wolfssl-4.5.0+dfsg/tests/suites.c:229:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char cert[80]; data/wolfssl-4.5.0+dfsg/tests/suites.c:272:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char commandLine[MAX_COMMAND_SZ]; data/wolfssl-4.5.0+dfsg/tests/suites.c:273:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char cipherSuite[MAX_SUITE_SZ+1]; data/wolfssl-4.5.0+dfsg/tests/suites.c:278:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char portNumber[8]; data/wolfssl-4.5.0+dfsg/tests/suites.c:534:12: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). file = fopen(fname, "rb"); data/wolfssl-4.5.0+dfsg/tests/suites.c:687:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char argv0[3][80]; data/wolfssl-4.5.0+dfsg/tests/suites.c:697:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(argv0[0], "SuiteTest"); data/wolfssl-4.5.0+dfsg/tests/suites.c:762:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(argv0[1], "tests/test-sha2.conf"); data/wolfssl-4.5.0+dfsg/tests/suites.c:774:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(argv0[1], "tests/test-tls13.conf"); data/wolfssl-4.5.0+dfsg/tests/suites.c:784:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(argv0[1], "tests/test-tls13-ecc.conf"); data/wolfssl-4.5.0+dfsg/tests/suites.c:795:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(argv0[1], "tests/test-tls13-down.conf"); data/wolfssl-4.5.0+dfsg/tests/suites.c:807:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(argv0[1], "tests/test-ed25519.conf"); data/wolfssl-4.5.0+dfsg/tests/suites.c:818:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(argv0[1], "tests/test-ed448.conf"); data/wolfssl-4.5.0+dfsg/tests/suites.c:829:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(argv0[1], "tests/test-dtls.conf"); data/wolfssl-4.5.0+dfsg/tests/suites.c:838:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(argv0[1], "tests/test-dtls-group.conf"); data/wolfssl-4.5.0+dfsg/tests/suites.c:847:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(argv0[1], "tests/test-dtls-resume.conf"); data/wolfssl-4.5.0+dfsg/tests/suites.c:857:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(argv0[1], "tests/test-dtls-reneg-client.conf"); data/wolfssl-4.5.0+dfsg/tests/suites.c:865:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(argv0[1], "tests/test-dtls-reneg-server.conf"); data/wolfssl-4.5.0+dfsg/tests/suites.c:876:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(argv0[1], "tests/test-dtls-sha2.conf"); data/wolfssl-4.5.0+dfsg/tests/suites.c:888:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(argv0[1], "tests/test-dtls-fails.conf"); data/wolfssl-4.5.0+dfsg/tests/suites.c:889:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(argv0[2], "expFail"); /* tests are expected to fail */ data/wolfssl-4.5.0+dfsg/tests/suites.c:902:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(argv0[1], "tests/test-sctp.conf"); data/wolfssl-4.5.0+dfsg/tests/suites.c:912:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(argv0[1], "tests/test-sctp-sha2.conf"); data/wolfssl-4.5.0+dfsg/tests/suites.c:925:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(argv0[1], "tests/test-sig.conf"); data/wolfssl-4.5.0+dfsg/tests/suites.c:937:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(argv0[1], "tests/test-qsh.conf"); data/wolfssl-4.5.0+dfsg/tests/suites.c:946:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(argv0[1], "tests/test-qsh-sha2.conf"); data/wolfssl-4.5.0+dfsg/tests/suites.c:960:9: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(argv0[1], "tests/test-psk.conf"); data/wolfssl-4.5.0+dfsg/tests/suites.c:972:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(argv0[1], "tests/test-tls13-psk.conf"); data/wolfssl-4.5.0+dfsg/tests/suites.c:985:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(argv0[1], "tests/test-enckeys.conf"); data/wolfssl-4.5.0+dfsg/tests/suites.c:997:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(argv0[1], "tests/test-maxfrag.conf"); data/wolfssl-4.5.0+dfsg/tests/suites.c:1007:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(argv0[1], "tests/test-maxfrag-dtls.conf"); data/wolfssl-4.5.0+dfsg/tests/suites.c:1020:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(argv0[1], "tests/test-altchains.conf"); data/wolfssl-4.5.0+dfsg/tests/suites.c:1030:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(argv0[1], "tests/test-chains.conf"); data/wolfssl-4.5.0+dfsg/tests/suites.c:1042:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(argv0[1], "tests/test-trustpeer.conf"); data/wolfssl-4.5.0+dfsg/tests/suites.c:1054:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(argv0[1], "tests/test-dhprime.conf"); data/wolfssl-4.5.0+dfsg/tests/suites.c:1055:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(argv0[2], "doDH"); /* add DH prime flag */ data/wolfssl-4.5.0+dfsg/tests/suites.c:1066:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(argv0[1], "tests/test-fails.conf"); data/wolfssl-4.5.0+dfsg/tests/suites.c:1067:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(argv0[2], "expFail"); /* tests are expected to fail */ data/wolfssl-4.5.0+dfsg/tests/unit.c:55:31: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). word32 memFailCount = atoi(argv[1]); data/wolfssl-4.5.0+dfsg/testsuite/testsuite.c:139:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char arg[3][32]; data/wolfssl-4.5.0+dfsg/testsuite/testsuite.c:155:9: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(arg[0], "testsuite"); data/wolfssl-4.5.0+dfsg/testsuite/testsuite.c:156:9: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(arg[1], "input"); data/wolfssl-4.5.0+dfsg/testsuite/testsuite.c:171:9: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(echo_args.argv[1], "quit"); data/wolfssl-4.5.0+dfsg/testsuite/testsuite.c:181:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char ciphers[WOLFSSL_CIPHER_LIST_MAX_SIZE]; data/wolfssl-4.5.0+dfsg/testsuite/testsuite.c:233:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char *svrArgv[9]; data/wolfssl-4.5.0+dfsg/testsuite/testsuite.c:234:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char argvs[9][32]; data/wolfssl-4.5.0+dfsg/testsuite/testsuite.c:237:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char *cliArgv[NUMARGS]; data/wolfssl-4.5.0+dfsg/testsuite/testsuite.c:238:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char argvc[3][32]; data/wolfssl-4.5.0+dfsg/testsuite/testsuite.c:245:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(argvs[0], "SimpleServer"); data/wolfssl-4.5.0+dfsg/testsuite/testsuite.c:251:9: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(argvs[svrArgs.argc++], "-p"); data/wolfssl-4.5.0+dfsg/testsuite/testsuite.c:262:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(argvc[0], "SimpleClient"); data/wolfssl-4.5.0+dfsg/testsuite/testsuite.c:267:9: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(argvc[1], "-p"); data/wolfssl-4.5.0+dfsg/testsuite/testsuite.c:358:16: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if( !( f = fopen( file, "rb" ) )) { data/wolfssl-4.5.0+dfsg/wolfcrypt/benchmark/benchmark.c:78:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char line[150]; data/wolfssl-4.5.0+dfsg/wolfcrypt/benchmark/benchmark.c:528:13: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). #define fopen wolfSSL_fopen data/wolfssl-4.5.0+dfsg/wolfcrypt/benchmark/benchmark.c:1193:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char msg[128] = {0}; data/wolfssl-4.5.0+dfsg/wolfcrypt/benchmark/benchmark.c:1271:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char msg[128] = {0}; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/asn.c:6219:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char utc_str[ASN_UTC_TIME_SIZE]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/asn.c:6248:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char gt_str[ASN_GENERALIZED_TIME_SIZE]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/asn.c:10181:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char header[MAX_X509_HEADER_SZ + HEADER_ENCRYPTED_KEY_SIZE]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/asn.c:10182:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char footer[MAX_X509_HEADER_SZ]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/asn.c:10327:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char beginBuf[PEM_LINE_LEN + 1]; /* add 1 for null terminator */ data/wolfssl-4.5.0+dfsg/wolfcrypt/src/asn.c:10328:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char endBuf[PEM_LINE_LEN + 1]; /* add 1 for null terminator */ data/wolfssl-4.5.0+dfsg/wolfcrypt/src/asn.c:10550:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char password[NAME_SZ]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/asn.c:12436:35: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char input[MAX_CERTPOL_NB][MAX_CERTPOL_SZ], data/wolfssl-4.5.0+dfsg/wolfcrypt/src/camellia.c:1031:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char kk[32]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/curve25519.c:54: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 kCurve25519BasePoint[CURVE25519_KEYSIZE] = {9}; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/curve25519.c:135:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char o[CURVE25519_KEYSIZE]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/curve448.c:57:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char basepoint[CURVE448_KEY_SIZE] = {5}; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/curve448.c:131:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char o[CURVE448_PUB_KEY_SIZE]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/des3.c:804:20: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. const unsigned char parityLookup[128] = { data/wolfssl-4.5.0+dfsg/wolfcrypt/src/ecc.c:9221:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char kb[KB_SIZE]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/ecc.c:9400:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char kb[2][KB_SIZE]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/ed25519.c:765:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char pubKey[ED25519_PUB_KEY_SIZE]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/ed448.c:834:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char pubKey[ED448_PUB_KEY_SIZE]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/evp.c:1970:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char md[WC_MAX_DIGEST_SIZE]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/evp.c:2046:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char md[WC_MAX_DIGEST_SIZE]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/evp.c:2334:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char digest[WC_MAX_DIGEST_SIZE]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/evp.c:2454:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char digest[WC_MAX_DIGEST_SIZE]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/evp.c:5365:17: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char async_test[WC_ASYNC_DEV_SIZE >= sizeof(WC_ASYNC_DEV) ? data/wolfssl-4.5.0+dfsg/wolfcrypt/src/fe_operations.c:135: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/wolfssl-4.5.0+dfsg/wolfcrypt/src/fe_operations.c:1348: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 zero[32] = {0}; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/fe_operations.c:1352: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/wolfssl-4.5.0+dfsg/wolfcrypt/src/fe_operations.c:1368: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/wolfssl-4.5.0+dfsg/wolfcrypt/src/ge_low_mem.c:110: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 t[32]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/ge_low_mem.c:179:25: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. void sc_reduce(unsigned char x[64]) data/wolfssl-4.5.0+dfsg/wolfcrypt/src/ge_operations.c:9130: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. signed char e[64]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/ge_operations.c:9411: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. signed char aslide[256]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/ge_operations.c:9412: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. signed char bslide[256]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/logging.c:46:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char error[WOLFSSL_MAX_ERROR_SZ]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/logging.c:47:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char file[WOLFSSL_MAX_ERROR_SZ]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/logging.c:296:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char line[(LINE_LEN * 4) + 3]; /* \t00..0F | chars...chars\0 */ data/wolfssl-4.5.0+dfsg/wolfcrypt/src/logging.c:343:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[WOLFSSL_MAX_ERROR_SZ]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/logging.c:353:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[WOLFSSL_MAX_ERROR_SZ]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/logging.c:388:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[WOLFSSL_MAX_ERROR_SZ]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/caam/caam_driver.c:295:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((unsigned char*)dev->ring.Desc, (unsigned char*)wc_rng_start, data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/caam/caam_driver.c:327:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((unsigned char*)desc->caam->ring.Desc, (unsigned char*)desc->desc, data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/caam/caam_driver.c:346:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char msg[2048]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/caam/caam_driver.c:358:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((char*)desc->buf[0].data, msg, sizeof(msg)); data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/caam/caam_driver.c:409:17: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((unsigned char*)&local[desc->alignIdx], data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/caam/caam_driver.c:414:17: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((unsigned char*)&local[desc->alignIdx], data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/caam/caam_driver.c:580:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((unsigned char*)(desc->alignBuf) + desc->alignIdx, data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/caam/caam_driver.c:606:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((unsigned char*)desc->alignBuf, data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/caam/caam_driver.c:756:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((unsigned char*)&local[offset], data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/caam/caam_driver.c:811:21: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((unsigned char*)&local[offset], data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/caam/caam_driver.c:901:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((unsigned char*)iv[i]->data, pt, iv[i]->dataSz); data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/caam/caam_driver.c:955:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((unsigned char*)&local[offset], data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/caam/caam_driver.c:1012:29: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((unsigned char*)&local[offset], data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/caam/caam_driver.c:1149:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((unsigned char*)iv[i]->data, pt, iv[i]->dataSz); data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/caam/caam_driver.c:1219:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((unsigned char*)&local[offset], (unsigned char*)ctx[ctxIdx]->data, data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/caam/caam_driver.c:1299:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((unsigned char*)ctx[i]->data, pt, ctx[i]->dataSz); data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/caam/caam_driver.c:1356:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(local, (unsigned char*)&tmp, sz); data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/devcrypto/wc_devcrypto.c:69:15: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ((fd = open("/dev/crypto", O_RDWR, 0)) < 0) { data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/ti/ti-aes.c:171:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char out_block[AES_BLOCK_SIZE] ; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/random.c:788:17: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char drbg_data_test[sizeof(rng->drbg_data) >= data/wolfssl-4.5.0+dfsg/wolfcrypt/src/random.c:2404:46: [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). ret = WOLFSSL_SCE_TRNG_HANDLE.p_api->open(WOLFSSL_SCE_TRNG_HANDLE.p_ctrl, data/wolfssl-4.5.0+dfsg/wolfcrypt/src/random.c:2564:18: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). os->fd = open("/dev/urandom", O_RDONLY); data/wolfssl-4.5.0+dfsg/wolfcrypt/src/random.c:2569: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). os->fd = open("/dev/random", O_RDONLY); data/wolfssl-4.5.0+dfsg/wolfcrypt/src/rsa.c:1926:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char cbuf[CMSG_SPACE(4) + CMSG_SPACE(sizeof(struct af_alg_iv) + 1)] = {0}; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_arm32.c:31350:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_256_proj_point_dbl_8_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_arm32.c:31672:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_256_proj_point_add_8_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_arm32.c:36318:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_256_mont_inv_order_8_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_arm32.c:36486:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_ecc_sign_256_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_arm32.c:36815:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_ecc_verify_256_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_arm32.c:41082:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_384_proj_point_dbl_12_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_arm32.c:41307:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_384_proj_point_add_12_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_arm32.c:45088:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_384_mont_inv_order_12_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_arm32.c:45227:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_ecc_sign_384_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_arm32.c:45556:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_ecc_verify_384_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_arm64.c:20071:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_256_proj_point_dbl_4_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_arm64.c:20471:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_256_proj_point_add_4_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_arm64.c:36722:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_256_mont_inv_order_4_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_arm64.c:36890:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_ecc_sign_256_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_arm64.c:37219:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_ecc_verify_256_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_arm64.c:39711:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_384_proj_point_dbl_6_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_arm64.c:40023:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_384_proj_point_add_6_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_arm64.c:43196:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_384_mont_inv_order_6_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_arm64.c:43335:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_ecc_sign_384_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_arm64.c:43664:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_ecc_verify_384_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_armthumb.c:17078:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_256_proj_point_dbl_8_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_armthumb.c:17393:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_256_proj_point_add_8_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_armthumb.c:21091:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_256_mont_inv_order_8_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_armthumb.c:21259:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_ecc_sign_256_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_armthumb.c:21588:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_ecc_verify_256_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_armthumb.c:23917:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_384_proj_point_dbl_12_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_armthumb.c:24142:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_384_proj_point_add_12_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_armthumb.c:27930:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_384_mont_inv_order_12_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_armthumb.c:28069:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_ecc_sign_384_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_armthumb.c:28398:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_ecc_verify_384_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_c32.c:13872:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_256_proj_point_dbl_10_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_c32.c:14097:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_256_proj_point_add_10_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_c32.c:14391:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_256_ecc_mulmod_10_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_c32.c:17625:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_256_mont_inv_order_10_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_c32.c:17793:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_ecc_sign_256_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_c32.c:18122:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_ecc_verify_256_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_c32.c:20639:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_384_proj_point_dbl_15_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_c32.c:20865:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_384_proj_point_add_15_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_c32.c:21159:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_384_ecc_mulmod_15_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_c32.c:24974:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_384_mont_inv_order_15_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_c32.c:25113:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_ecc_sign_384_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_c32.c:25442:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_ecc_verify_384_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_c64.c:13693:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_256_proj_point_dbl_5_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_c64.c:13917:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_256_proj_point_add_5_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_c64.c:14211:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_256_ecc_mulmod_5_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_c64.c:17366:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_256_mont_inv_order_5_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_c64.c:17534:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_ecc_sign_256_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_c64.c:17863:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_ecc_verify_256_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_c64.c:19961:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_384_proj_point_dbl_7_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_c64.c:20185:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_384_proj_point_add_7_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_c64.c:20479:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_384_ecc_mulmod_7_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_c64.c:24189:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_384_mont_inv_order_7_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_c64.c:24328:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_ecc_sign_384_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_c64.c:24657:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_ecc_verify_384_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_cortexm.c:15920:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_256_proj_point_dbl_8_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_cortexm.c:16235:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_256_proj_point_add_8_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_cortexm.c:20659:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_256_mont_inv_order_8_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_cortexm.c:20827:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_ecc_sign_256_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_cortexm.c:21156:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_ecc_verify_256_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_cortexm.c:23336:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_384_proj_point_dbl_12_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_cortexm.c:23561:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_384_proj_point_add_12_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_cortexm.c:27211:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_384_mont_inv_order_12_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_cortexm.c:27350:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_ecc_sign_384_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_cortexm.c:27679:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_ecc_verify_384_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_int.c:1163:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (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 sp_hex_char[16] = { data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_x86_64.c:6580:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_256_proj_point_dbl_4_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_x86_64.c:6891:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_256_proj_point_add_4_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_x86_64.c:7672:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_256_proj_point_dbl_avx2_4_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_x86_64.c:7971:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_256_proj_point_add_avx2_4_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_x86_64.c:22521:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_256_mont_inv_order_4_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_x86_64.c:22708:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_256_mont_inv_order_avx2_4_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_x86_64.c:22877:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_ecc_sign_256_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_x86_64.c:23234:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_ecc_verify_256_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_x86_64.c:24900:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_384_proj_point_dbl_6_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_x86_64.c:25212:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_384_proj_point_add_6_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_x86_64.c:26045:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_384_proj_point_dbl_avx2_6_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_x86_64.c:26344:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_384_proj_point_add_avx2_6_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_x86_64.c:29570:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_384_mont_inv_order_6_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_x86_64.c:29724:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_384_mont_inv_order_avx2_6_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_x86_64.c:29864:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_ecc_sign_384_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/sp_x86_64.c:30221:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ctx_size_test[sizeof(sp_ecc_verify_384_ctx) >= sizeof(*sp_ctx) ? -1 : 1]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/tfm.c:5566:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[FP_SIZE * sizeof(fp_digit) * 2]; data/wolfssl-4.5.0+dfsg/wolfcrypt/src/wc_port.c:248:51: [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). ret = (int)WOLFSSL_SCE_GSCE_HANDLE.p_api->open( data/wolfssl-4.5.0+dfsg/wolfcrypt/test/test.c:490:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmpBuf[80]; data/wolfssl-4.5.0+dfsg/wolfcrypt/test/test.c:1371:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char out[WOLFSSL_MAX_ERROR_SZ]; data/wolfssl-4.5.0+dfsg/wolfcrypt/test/test.c:6950:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buf[AES_BLOCK_SIZE * 2]; data/wolfssl-4.5.0+dfsg/wolfcrypt/test/test.c:6951:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char cipher[AES_BLOCK_SIZE * 2]; data/wolfssl-4.5.0+dfsg/wolfcrypt/test/test.c:7115:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buf[AES_BLOCK_SIZE * 3]; data/wolfssl-4.5.0+dfsg/wolfcrypt/test/test.c:7116:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char cipher[AES_BLOCK_SIZE * 3]; data/wolfssl-4.5.0+dfsg/wolfcrypt/test/test.c:7284:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buf[AES_BLOCK_SIZE * 2]; data/wolfssl-4.5.0+dfsg/wolfcrypt/test/test.c:7400:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buf[AES_BLOCK_SIZE * 2]; data/wolfssl-4.5.0+dfsg/wolfcrypt/test/test.c:17004:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char tmp[FOURK_BUF]; data/wolfssl-4.5.0+dfsg/wolfcrypt/test/test.c:17006:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char cipher[RSA_TEST_BYTES]; data/wolfssl-4.5.0+dfsg/wolfcrypt/test/test.c:17007:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char plain[RSA_TEST_BYTES]; data/wolfssl-4.5.0+dfsg/wolfcrypt/test/test.c:17177:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char sig[256]; data/wolfssl-4.5.0+dfsg/wolfcrypt/test/test.c:18190:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char hash[32] = "test wolfSSL deterministic sign"; data/wolfssl-4.5.0+dfsg/wolfssl/callbacks.h:47:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char cipherName[MAX_CIPHERNAME_SZ + 1]; /* negotiated cipher */ data/wolfssl-4.5.0+dfsg/wolfssl/callbacks.h:48:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char packetNames[MAX_PACKETS_HANDSHAKE][MAX_PACKETNAME_SZ + 1]; data/wolfssl-4.5.0+dfsg/wolfssl/callbacks.h:69:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char packetName[MAX_PACKETNAME_SZ + 1]; /* SSL packet name */ data/wolfssl-4.5.0+dfsg/wolfssl/callbacks.h:71:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char value[MAX_VALUE_SZ]; /* if fits, it's here */ data/wolfssl-4.5.0+dfsg/wolfssl/callbacks.h:78:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char timeoutName[MAX_TIMEOUT_NAME_SZ + 1]; /* timeout Name */ data/wolfssl-4.5.0+dfsg/wolfssl/internal.h:1856:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char description[MAX_DESCRIPTION_SZ]; data/wolfssl-4.5.0+dfsg/wolfssl/internal.h:2776:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char server_hint[MAX_PSK_ID_LEN + NULL_TERM_LEN]; data/wolfssl-4.5.0+dfsg/wolfssl/internal.h:3545:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char client_identity[MAX_PSK_ID_LEN + NULL_TERM_LEN]; data/wolfssl-4.5.0+dfsg/wolfssl/internal.h:3546:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char server_hint[MAX_PSK_ID_LEN + NULL_TERM_LEN]; data/wolfssl-4.5.0+dfsg/wolfssl/internal.h:3619:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char staticName[ASN_NAME_MAX]; data/wolfssl-4.5.0+dfsg/wolfssl/internal.h:3682:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char certPolicies[MAX_CERTPOL_NB][MAX_CERTPOL_SZ]; data/wolfssl-4.5.0+dfsg/wolfssl/internal.h:3730:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char subjectCN[ASN_NAME_MAX]; /* common name short cut */ data/wolfssl-4.5.0+dfsg/wolfssl/internal.h:3732:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char challengePw[CTC_NAME_SIZE]; /* for REQ certs */ data/wolfssl-4.5.0+dfsg/wolfssl/internal.h:4575:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char cipher_name[MAX_CIPHER_NAME]; data/wolfssl-4.5.0+dfsg/wolfssl/openssl/des.h:45:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef unsigned char WOLFSSL_DES_cblock[8]; data/wolfssl-4.5.0+dfsg/wolfssl/openssl/evp.h:339:22: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. ALIGN16 unsigned char iv[AES_BLOCK_SIZE]; data/wolfssl-4.5.0+dfsg/wolfssl/openssl/evp.h:342:22: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. ALIGN16 unsigned char iv[DES_BLOCK_SIZE]; data/wolfssl-4.5.0+dfsg/wolfssl/openssl/evp.h:345:22: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. ALIGN16 unsigned char iv[IDEA_BLOCK_SIZE]; data/wolfssl-4.5.0+dfsg/wolfssl/openssl/evp.h:359:22: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. ALIGN16 unsigned char authTag[AES_BLOCK_SIZE]; data/wolfssl-4.5.0+dfsg/wolfssl/sniffer.h:146:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char serverCipherSuiteName[256]; data/wolfssl-4.5.0+dfsg/wolfssl/sniffer.h:148:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char serverNameIndication[128]; data/wolfssl-4.5.0+dfsg/wolfssl/ssl.h:213:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char strData[CTC_NAME_SIZE]; data/wolfssl-4.5.0+dfsg/wolfssl/ssl.h:268:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char sName[WOLFSSL_MAX_SNAME]; data/wolfssl-4.5.0+dfsg/wolfssl/ssl.h:447:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char name[MAX_BIO_METHOD_NAME]; data/wolfssl-4.5.0+dfsg/wolfssl/ssl.h:534:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char hostName[WOLFSSL_HOST_NAME_MAX]; data/wolfssl-4.5.0+dfsg/wolfssl/ssl.h:536:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char ipasc[WOLFSSL_MAX_IPSTR]; data/wolfssl-4.5.0+dfsg/wolfssl/ssl.h:3133:43: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/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_name[WOLFSSL_TICKET_NAME_SZ], data/wolfssl-4.5.0+dfsg/wolfssl/ssl.h:3134:43: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char iv[WOLFSSL_TICKET_IV_SZ], data/wolfssl-4.5.0+dfsg/wolfssl/ssl.h:3135:43: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char mac[WOLFSSL_TICKET_MAC_SZ], data/wolfssl-4.5.0+dfsg/wolfssl/test.h:678:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char serialMsg[80]; data/wolfssl-4.5.0+dfsg/wolfssl/test.h:684:13: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(serialMsg + strLen + (i*3), ":%02x ", serial[i]); data/wolfssl-4.5.0+dfsg/wolfssl/test.h:694:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[256]; /* should be size of ASN_NAME_MAX */ data/wolfssl-4.5.0+dfsg/wolfssl/test.h:729:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buffer[3072]; data/wolfssl-4.5.0+dfsg/wolfssl/test.h:858:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char portStr[6]; data/wolfssl-4.5.0+dfsg/wolfssl/test.h:899:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char strPort[80]; data/wolfssl-4.5.0+dfsg/wolfssl/test.h:1711:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[WOLFSSL_MAX_ERROR_SZ]; data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/asn.h:775:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char issuer[ASN_NAME_MAX]; /* full name including common name */ data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/asn.h:776:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char subject[ASN_NAME_MAX]; /* full name including common name */ data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/asn.h:880:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char extCertPolicies[MAX_CERTPOL_NB][MAX_CERTPOL_SZ]; data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/asn_public.h:184:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char data[CTC_DATE_SIZE]; /* date bytes */ data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/asn_public.h:210:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char name[NAME_SZ]; /* cipher name, such as "DES-CBC" */ data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/asn_public.h:221:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char intData[WOLFSSL_ASN1_INTEGER_MAX]; data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/asn_public.h:260:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char value[CTC_NAME_SIZE]; /* name */ data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/asn_public.h:266:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char country[CTC_NAME_SIZE]; data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/asn_public.h:268:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char state[CTC_NAME_SIZE]; data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/asn_public.h:270:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char locality[CTC_NAME_SIZE]; data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/asn_public.h:272:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char sur[CTC_NAME_SIZE]; data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/asn_public.h:274:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char org[CTC_NAME_SIZE]; data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/asn_public.h:276:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char unit[CTC_NAME_SIZE]; data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/asn_public.h:278:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char commonName[CTC_NAME_SIZE]; data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/asn_public.h:280:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char serialDev[CTC_NAME_SIZE]; data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/asn_public.h:283:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char busCat[CTC_NAME_SIZE]; data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/asn_public.h:285:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char joiC[CTC_NAME_SIZE]; data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/asn_public.h:287:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char joiSt[CTC_NAME_SIZE]; data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/asn_public.h:290:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char email[CTC_NAME_SIZE]; /* !!!! email has to be last !!!! */ data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/asn_public.h:331:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char certPolicies[CTC_MAX_CERTPOL_NB][CTC_MAX_CERTPOL_SZ]; data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/asn_public.h:337:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char challengePw[CTC_NAME_SIZE]; data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/curve25519.h:48:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char curve25519_str[12]; data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/ecc.h:256:11: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. const char name[MAX_ECC_NAME]; /* name of this curve */ data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/ecc.h:257:11: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. const char prime[MAX_ECC_STRING]; /* prime that defines the field, curve is in (hex) */ data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/ecc.h:258:11: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. const char Af[MAX_ECC_STRING]; /* fields A param (hex) */ data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/ecc.h:259:11: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. const char Bf[MAX_ECC_STRING]; /* fields B param (hex) */ data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/ecc.h:260:11: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. const char order[MAX_ECC_STRING]; /* order of the curve (hex) */ data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/ecc.h:261:11: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. const char Gx[MAX_ECC_STRING]; /* x coordinate of the base point on curve (hex) */ data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/ecc.h:262:11: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. const char Gy[MAX_ECC_STRING]; /* y coordinate of the base point on curve (hex) */ data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/poly1305.h:80:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buffer[8*POLY1305_BLOCK_SIZE]; data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/poly1305.h:104:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buffer[POLY1305_BLOCK_SIZE]; data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/types.h:447:35: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. #define XMEMCPY(d,s,l) memcpy((d),(s),(l)) data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/types.h:553:43: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). #define XATOI(s) atoi((s)) data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/wc_port.h:190:20: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. signed char mutexBuffer[portQUEUE_OVERHEAD_BYTES]; data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/wc_port.h:333:37: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). #define XFOPEN fopen data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/wc_port.h:364:24: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). #define XFOPEN fopen data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/wc_port.h:431:28: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). #define XFOPEN fopen data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/wc_port.h:482:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char name[MAX_FILENAME_SZ]; data/wolfssl-4.5.0+dfsg/examples/echoclient/echoclient.c:308:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy(msg, "break", 6); data/wolfssl-4.5.0+dfsg/examples/echoclient/echoclient.c:309:19: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). sendSz = (int)strlen(msg); data/wolfssl-4.5.0+dfsg/examples/echoserver/echoserver.c:387:17: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy(command, "GET", 4); data/wolfssl-4.5.0+dfsg/examples/echoserver/echoserver.c:412:31: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). echoSz = (int)strlen(resp) + 1; data/wolfssl-4.5.0+dfsg/examples/echoserver/echoserver.c:417:17: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(command, resp, sizeof(command)); data/wolfssl-4.5.0+dfsg/examples/sctp/sctp-client-dtls.c:99:39: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). wolfSSL_write(ssl, response, (int)strlen(response)); data/wolfssl-4.5.0+dfsg/examples/sctp/sctp-client.c:62:19: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). send(sd, msg, strlen(msg), 0); data/wolfssl-4.5.0+dfsg/examples/sctp/sctp-server-dtls.c:114:39: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). wolfSSL_write(ssl, response, (int)strlen(response)); data/wolfssl-4.5.0+dfsg/examples/sctp/sctp-server.c:71:31: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). send(client_sd, response, strlen(response), 0); data/wolfssl-4.5.0+dfsg/src/crl.c:1104:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). length = (int) read(notifyFd, buff, 8192); data/wolfssl-4.5.0+dfsg/src/ssl.c:26910:9: [1] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source is a constant character. sprintf(line, "\t"); data/wolfssl-4.5.0+dfsg/src/ssl.c:28605:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ret = (int)read(fd, buf + idx, 256 - bytes); data/wolfssl-4.5.0+dfsg/tests/api.c:29381:35: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). BIO_write(bio, testData, (int)strlen(testData)); data/wolfssl-4.5.0+dfsg/tests/api.c:35762:29: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). SHA256_Update(&c, text, strlen(text)); data/wolfssl-4.5.0+dfsg/tests/suites.c:897:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy(argv0[2], ""); data/wolfssl-4.5.0+dfsg/testsuite/testsuite.c:252:9: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy(argvs[svrArgs.argc++], "0"); data/wolfssl-4.5.0+dfsg/wolfcrypt/benchmark/benchmark.c:635:32: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). #define BEGIN_INTEL_CYCLES read(cycles, &begin_cycles, sizeof(begin_cycles)); data/wolfssl-4.5.0+dfsg/wolfcrypt/benchmark/benchmark.c:637:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). read(cycles, &total_cycles, sizeof(total_cycles)); \ data/wolfssl-4.5.0+dfsg/wolfcrypt/src/ge_448.c:10517:16: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. static uint8_t equal(uint8_t a, uint8_t b) data/wolfssl-4.5.0+dfsg/wolfcrypt/src/ge_448.c:10533:9: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. b = equal(b, n); data/wolfssl-4.5.0+dfsg/wolfcrypt/src/ge_operations.c:988:22: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. static unsigned char equal(signed char b,signed char c) data/wolfssl-4.5.0+dfsg/wolfcrypt/src/ge_operations.c:1009:7: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. b = equal(b,n); data/wolfssl-4.5.0+dfsg/wolfcrypt/src/logging.c:820:32: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). cb(current->error, strlen(current->error), u); data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/af_alg/afalg_aes.c:189:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ret = (int)read(aes->rdFd, out, sz); data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/af_alg/afalg_aes.c:243:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ret = (int)read(aes->rdFd, out, sz); data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/af_alg/afalg_aes.c:293:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ret = (int)read(aes->rdFd, out, sz); data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/af_alg/afalg_aes.c:625:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ret = read(aes->rdFd, out, sz + AES_BLOCK_SIZE); data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/af_alg/afalg_aes.c:824:11: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ret = read(aes->rdFd, out, sz + AES_BLOCK_SIZE); data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/af_alg/afalg_hash.c:162:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if ((ret = (int)read(hash->rdFd, out, outSz)) != (int)outSz) { data/wolfssl-4.5.0+dfsg/wolfcrypt/src/port/af_alg/afalg_hash.c:186:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if ((ret = (int)read(hash->rdFd, out, outSz)) != (int)outSz) { data/wolfssl-4.5.0+dfsg/wolfcrypt/src/random.c:2307:13: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(100); data/wolfssl-4.5.0+dfsg/wolfcrypt/src/random.c:2413:50: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ret = WOLFSSL_SCE_TRNG_HANDLE.p_api->read(WOLFSSL_SCE_TRNG_HANDLE.p_ctrl, data/wolfssl-4.5.0+dfsg/wolfcrypt/src/random.c:2427:50: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ret = WOLFSSL_SCE_TRNG_HANDLE.p_api->read(WOLFSSL_SCE_TRNG_HANDLE.p_ctrl, data/wolfssl-4.5.0+dfsg/wolfcrypt/src/random.c:2575:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int len = (int)read(os->fd, output, sz); data/wolfssl-4.5.0+dfsg/wolfcrypt/src/rsa.c:2038:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if ((ret = read(key->rdFd, outBuf, inLen)) <= 0) { data/wolfssl-4.5.0+dfsg/wolfssl/test.h:586:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(passwd, (char*)userdata, sz); data/wolfssl-4.5.0+dfsg/wolfssl/test.h:590:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy(passwd, "yassl123", sz); data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/settings.h:561:36: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). #define XSTRNCPY(s1,s2,n) strncpy((s1),(s2),(n)) data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/settings.h:565:36: [1] (buffer) strncat: Easily used incorrectly (e.g., incorrectly computing the correct maximum size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf, or automatically resizing strings. #define XSTRNCAT(s1,s2,n) strncat((s1),(s2),(n)) data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/types.h:452:35: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). #define XSTRLEN(s1) strlen((s1)) data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/types.h:453:35: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). #define XSTRNCPY(s1,s2,n) strncpy((s1),(s2),(n)) data/wolfssl-4.5.0+dfsg/wolfssl/wolfcrypt/types.h:459:35: [1] (buffer) strncat: Easily used incorrectly (e.g., incorrectly computing the correct maximum size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf, or automatically resizing strings. #define XSTRNCAT(s1,s2,n) strncat((s1),(s2),(n)) ANALYSIS SUMMARY: Hits = 1835 Lines analyzed = 711805 in approximately 17.04 seconds (41784 lines/second) Physical Source Lines of Code (SLOC) = 543845 Hits@level = [0] 1339 [1] 42 [2] 645 [3] 15 [4] 1133 [5] 0 Hits@level+ = [0+] 3174 [1+] 1835 [2+] 1793 [3+] 1148 [4+] 1133 [5+] 0 Hits/KSLOC@level+ = [0+] 5.83622 [1+] 3.37412 [2+] 3.2969 [3+] 2.1109 [4+] 2.08331 [5+] 0 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.