CCLD serve_image CCLD recv_image CCLD fectest CCLD flash_erase CCLD flash_lock CCLD flash_unlock CCLD flash_otp_info CCLD flash_otp_dump CCLD flash_otp_lock CCLD flash_otp_erase CCLD flash_otp_write CCLD flashcp CCLD mtdpart CCLD lsmtd CCLD nanddump CCLD nandwrite CCLD nandtest CCLD nftldump CCLD nftl_format CCLD nandflipbits CCLD rfddump CCLD rfdformat CCLD ubiupdatevol CCLD ubimkvol CCLD ubirmvol CCLD ubicrc32 CCLD ubinfo CCLD ubiattach CCLD ubidetach CCLD ubinize CCLD ubiformat CCLD ubirename CCLD mtdinfo CCLD ubirsvol CCLD ubiblock CCLD ubihealthd make[1]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/mtd-2.1.3' CCLD libgnutls_x509.la make[6]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/gnutls-3.7.6/lib/x509' make[5]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/gnutls-3.7.6/lib/x509' Making all in auth make[5]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/gnutls-3.7.6/lib/auth' CC anon.lo CC cert.lo CC dh_common.lo CC dhe.lo CC rsa_psk.lo CC dhe_psk.lo CC psk.lo CC psk_passwd.lo CC rsa.lo CC srp_kx.lo CC srp_passwd.lo CC srp_rsa.lo CC srp_sb64.lo CC anon_ecdh.lo CC ecdhe.lo CC vko_gost.lo CCLD libgnutls_auth.la make[5]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/gnutls-3.7.6/lib/auth' Making all in ext make[5]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/gnutls-3.7.6/lib/ext' CC max_record.lo CC server_name.lo CC signature.lo CC safe_renegotiation.lo CC session_ticket.lo CC srp.lo CC heartbeat.lo CC status_request.lo CC dumbfw.lo CC ext_master_secret.lo CC etm.lo CC supported_versions.lo CC post_handshake.lo CC key_share.lo CC cookie.lo CC psk_ke_modes.lo CC pre_shared_key.lo CC supported_groups.lo CC ec_point_formats.lo CC early_data.lo CC record_size_limit.lo CC client_cert_type.lo CC server_cert_type.lo CC compress_certificate.lo CC alpn.lo CC srtp.lo CCLD libgnutls_ext.la make[5]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/gnutls-3.7.6/lib/ext' Making all in algorithms make[5]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/gnutls-3.7.6/lib/algorithms' CC ciphers.lo CC cert_types.lo CC ciphersuites.lo CC ecc.lo CC kx.lo CC mac.lo CC protocols.lo CC publickey.lo CC secparams.lo CC sign.lo CC groups.lo CCLD libgnutls_alg.la make[5]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/gnutls-3.7.6/lib/algorithms' Making all in extras make[5]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/gnutls-3.7.6/lib/extras' CC randomart.lo CC hex.lo CCLD libgnutls_extras.la make[5]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/gnutls-3.7.6/lib/extras' Making all in accelerated make[5]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/gnutls-3.7.6/lib/accelerated' Making all in x86 make[6]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/gnutls-3.7.6/lib/accelerated/x86' CC x86-common.lo CC sha-x86-ssse3.lo CC hmac-x86-ssse3.lo CC aes-gcm-x86-ssse3.lo CC aes-gcm-x86-aesni.lo CC aes-cbc-x86-ssse3.lo CC aes-cbc-x86-aesni.lo CC aes-ccm-x86-aesni.lo CC aes-xts-x86-aesni.lo CC sha-padlock.lo CC hmac-padlock.lo CC aes-padlock.lo CC aes-gcm-padlock.lo CC aes-gcm-x86-pclmul.lo CC aes-gcm-x86-pclmul-avx.lo CCAS elf/aesni-x86_64.lo CCAS elf/ghash-x86_64.lo CCAS elf/sha1-ssse3-x86_64.lo CCAS elf/sha512-ssse3-x86_64.lo CCAS elf/aes-ssse3-x86_64.lo CCAS elf/aesni-gcm-x86_64.lo CCAS elf/sha256-ssse3-x86_64.lo CCAS elf/e_padlock-x86_64.lo CCLD libx86.la make[6]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/gnutls-3.7.6/lib/accelerated/x86' make[6]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/gnutls-3.7.6/lib/accelerated' CC accelerated.lo CC cryptodev.lo CC cryptodev-gcm.lo CC afalg.lo CCLD libaccelerated.la make[6]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/gnutls-3.7.6/lib/accelerated' make[5]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/gnutls-3.7.6/lib/accelerated' Making all in nettle make[5]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/gnutls-3.7.6/lib/nettle' CC pk.lo CC mpi.lo CC mac.lo CC cipher.lo CC init.lo CC prf.lo CC rnd.lo CC sysrng-linux.lo CC rnd-fuzzer.lo CC int/provable-prime.lo CC int/rsa-keygen-fips186.lo CC int/dsa-keygen-fips186.lo CC int/dsa-validate.lo CC int/tls1-prf.lo CC int/dsa-compute-k.lo CC int/ecdsa-compute-k.lo CC int/mpn-base256.lo CC int/rsa-pad.lo CCLD libcrypto.la make[5]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/gnutls-3.7.6/lib/nettle' make[5]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/gnutls-3.7.6/lib' CC range.lo CC record.lo CC compress.lo CC debug.lo CC cipher.lo CC handshake-tls13.lo CC mbuffers.lo CC buffers.lo CC handshake.lo CC errors.lo CC dh.lo CC kx.lo buffers.c:893: warning: macro "SSL2_HEADERS" is not used [-Wunused-macros] 893 | #define SSL2_HEADERS 1 | CC cipher-cbc.lo CC priority.lo CC hash_int.lo CC cipher_int.lo CC session.lo CC db.lo CC x509_b64.lo CC hello_ext.lo CC auth.lo CC sslv2_compat.lo CC datum.lo CC session_pack.lo CC mpi.lo CC pk.lo CC cert-cred.lo CC global.lo CC constate.lo CC anon_cred.lo CC pkix_asn1_tab.lo CC gnutls_asn1_tab.lo CC mem.lo CC tls-sig.lo CC fingerprint.lo CC ecc.lo CC alert.lo CC privkey_raw.lo CC str-iconv.lo CC system.lo CC profiles.lo CC str.lo CC str-unicode.lo CC str-idna.lo CC state.lo CC cert-cred-x509.lo CC file.lo CC supplemental.lo CC random.lo CC crypto-api.lo CC privkey.lo CC pcert.lo CC pubkey.lo CC locks.lo CC dtls.lo CC system_override.lo CC crypto-backend.lo CC verify-tofu.lo CC pin.lo CC tpm.lo CC fips.lo CC safe-memfuncs.lo CC atfork.lo CC randomart.lo CC urls.lo CC prf.lo CC auto-verify.lo CC dh-session.lo CC cert-session.lo prf.c: In function 'gnutls_prf': prf.c:337:3: warning: use of NULL 'extra' where non-null expected [CWE-690] [-Wanalyzer-null-argument] 337 | memcpy(seed + 2 * GNUTLS_RANDOM_SIZE, extra, extra_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 'gnutls_prf_rfc5705': events 1-8 | | 163 | gnutls_prf_rfc5705(gnutls_session_t session, | | ^~~~~~~~~~~~~~~~~~ | | | | | (1) entry to 'gnutls_prf_rfc5705' |...... | 171 | if (session->security_parameters.prf == NULL) | | ~ | | | | | (2) following 'false' branch... |...... | 174 | if (vers && vers->tls13_sem) { | | ~ | | | | | (3) ...to here |...... | 184 | if (context != NULL && context_size > 65535) { | | ~ | | | | | (4) following 'false' branch... |...... | 189 | if (context != NULL) { | | ~ | | | | | (5) ...to here | | (6) following 'false' branch (when 'context' is NULL)... |...... | 201 | ret = gnutls_prf(session, label_size, label, 0, | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (7) ...to here | | (8) calling 'gnutls_prf' from 'gnutls_prf_rfc5705' | 202 | context_size, pctx, outsize, out); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | +--> 'gnutls_prf': events 9-18 | | 298 | gnutls_prf(gnutls_session_t session, | | ^~~~~~~~~~ | | | | | (9) entry to 'gnutls_prf' |...... | 318 | if (session->security_parameters.prf == NULL) | | ~ | | | | | (10) following 'false' branch... |...... | 321 | seed = gnutls_malloc(seedsize); | | ~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (11) ...to here | 322 | if (!seed) { | | ~ | | | | | (12) following 'false' branch (when 'seed' is non-NULL)... |...... | 327 | memcpy(seed, server_random_first ? | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (13) ...to here | | (14) following 'false' branch (when 'server_random_first == 0')... | | (15) ...to here | 328 | session->security_parameters.server_random : | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 329 | session->security_parameters.client_random, | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 330 | GNUTLS_RANDOM_SIZE); | | ~~~~~~~~~~~~~~~~~~~ | 331 | memcpy(seed + GNUTLS_RANDOM_SIZE, | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (16) following 'false' branch (when 'server_random_first == 0')... | | (17) ...to here | 332 | server_random_first ? session->security_parameters. | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 333 | client_random : session->security_parameters.server_random, | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 334 | GNUTLS_RANDOM_SIZE); | | ~~~~~~~~~~~~~~~~~~~ | 335 | | 336 | if (extra && extra_size) { | | ~ | | | | | (18) following 'true' branch... | 'gnutls_prf': events 19-20 | | 337 | memcpy(seed + 2 * GNUTLS_RANDOM_SIZE, extra, extra_size); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (20) argument 2 ('extra') NULL where non-null expected | In file included from ./../gl/string.h:41, from gnutls_int.h:32, from prf.c:28: /home/buildroot/autobuild/instance-1/output-1/per-package/gnutls/host/x86_64-buildroot-linux-musl/sysroot/usr/include/string.h:27:7: note: argument 2 of 'memcpy' must be non-null 27 | void *memcpy (void *__restrict, const void *__restrict, size_t); | ^~~~~~ CC handshake-checks.lo CC dtls-sw.lo CC dh-primes.lo CC openpgp_compat.lo CC crypto-selftests.lo CC crypto-selftests-pk.lo CC secrets.lo CC extv.lo CC hello_ext_lib.lo CC ocsp-api.lo CC stek.lo CC cert-cred-rawpk.lo CC iov.lo CC system/ktls.lo CC system/keys-dummy.lo CC tls13-sig.lo CC tls13/finished.lo CC tls13/key_update.lo CC tls13/hello_retry.lo CC tls13/session_ticket.lo CC tls13/certificate.lo CC tls13/early_data.lo CC tls13/post_handshake.lo CC tls13/psk_ext_parser.lo CC tls13/anti_replay.lo CC srp.lo CC psk.lo CC system/certs.lo CC system/threads.lo CC system/fastopen.lo CC system/sockets.lo CC inih/ini.lo CC tls13/encrypted_extensions.lo CC tls13/certificate_request.lo CC tls13/certificate_verify.lo CCLD libgnutls.la make[5]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/gnutls-3.7.6/lib' make[4]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/gnutls-3.7.6/lib' make[3]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/gnutls-3.7.6/lib' Making all in extra make[3]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/gnutls-3.7.6/extra' Making all in includes make[4]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/gnutls-3.7.6/extra/includes' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/gnutls-3.7.6/extra/includes' make[4]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/gnutls-3.7.6/extra' CC gnutls_openssl.lo CC openssl_compat.lo CCLD libgnutls-openssl.la libtool: warning: '/home/buildroot/autobuild/instance-1/output-1/per-package/gnutls/host/bin/../x86_64-buildroot-linux-musl/sysroot/usr/lib/libidn2.la' seems to be moved libtool: warning: '/home/buildroot/autobuild/instance-1/output-1/per-package/gnutls/host/bin/../x86_64-buildroot-linux-musl/sysroot/usr/lib/libunistring.la' seems to be moved libtool: warning: '/home/buildroot/autobuild/instance-1/output-1/per-package/gnutls/host/bin/../x86_64-buildroot-linux-musl/sysroot/usr/lib/libtasn1.la' seems to be moved libtool: warning: '/home/buildroot/autobuild/instance-1/output-1/per-package/gnutls/host/bin/../x86_64-buildroot-linux-musl/sysroot/usr/lib/libgmp.la' seems to be moved make[4]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/gnutls-3.7.6/extra' make[3]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/gnutls-3.7.6/extra' Making all in po make[3]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/gnutls-3.7.6/po' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/gnutls-3.7.6/po' Making all in src/gl make[3]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/gnutls-3.7.6/src/gl' GEN alloca.h GEN fcntl.h GEN inttypes.h GEN arpa/inet.h GEN limits.h GEN netdb.h GEN signal.h GEN stdint.h GEN stdio.h GEN stdlib.h GEN string.h GEN strings.h GEN sys/select.h GEN sys/socket.h GEN sys/stat.h GEN sys/time.h GEN sys/types.h GEN time.h GEN sys/uio.h GEN unistd.h GEN wchar.h /usr/bin/make all-recursive make[4]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/gnutls-3.7.6/src/gl' Making all in . make[5]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/gnutls-3.7.6/src/gl' CC basename-lgpl.lo CC bitrotate.lo CC c-ctype.lo CC c-strcasecmp.lo CC c-strncasecmp.lo CC cloexec.lo CC close-stream.lo CC exitfail.lo CC fd-hook.lo CC getprogname.lo CC gettime.lo CC hash.lo CC hash-pjw-bare.lo CC gl_linked_list.lo CC gl_list.lo CC malloca.lo CC nstrftime.lo CC parse-datetime.lo CC progname.lo CC read-file.lo CC sockets.lo CC stat-time.lo CC glthread/threadlib.lo CC sys_socket.lo CC unistd.lo CC timespec.lo CC xmalloc.lo CC xalloc-die.lo CC gl_xlist.lo CC asnprintf.lo CC xsize.lo CC error.lo CC fcntl.lo CC free.lo CC memchr.lo CC mktime.lo CC printf-args.lo CC printf-parse.lo CC time_rz.lo CC timegm.lo CC unsetenv.lo CC vasnprintf.lo CC glthread/lock.lo CCLD libgnu_gpl.la make[5]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/gnutls-3.7.6/src/gl' Making all in tests make[5]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/gnutls-3.7.6/src/gl/tests' GEN ctype.h GEN langinfo.h GEN locale.h GEN pthread.h GEN sched.h GEN sys/ioctl.h /usr/bin/make all-recursive make[6]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/gnutls-3.7.6/src/gl/tests' Making all in . make[7]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/gnutls-3.7.6/src/gl/tests' make[7]: Nothing to be done for 'all-am'. make[7]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/gnutls-3.7.6/src/gl/tests' make[6]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/gnutls-3.7.6/src/gl/tests' make[5]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/gnutls-3.7.6/src/gl/tests' make[4]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/gnutls-3.7.6/src/gl' make[3]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/gnutls-3.7.6/src/gl' make[3]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/gnutls-3.7.6' make[3]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/gnutls-3.7.6' make[2]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/gnutls-3.7.6' make[1]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/gnutls-3.7.6' make: Leaving directory '/home/buildroot/autobuild/instance-1/buildroot'