[gnutls-devel] GnuTLS | mem: instrument with ASan memory poisoning as well as valgrind (!1458)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Tue Aug 10 13:26:04 CEST 2021

Daiki Ueno commented on a discussion on lib/stek.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1458#note_647422973

>  					      gnutls_datum_t *enc_key)
>  {
>  	int retval;
> -	gnutls_datum_t key = {
> -		.data = session->key.session_ticket_key,
> -	};
> +	uint8_t *key_data;

Yes, that's intentional; although we could keep the original code structure, that adds more cppcheck false-positives after adding the calls to `_gnutls_memory_mark_defined` so I decided to simplify it along this MR.

Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1458#note_647422973
You're receiving this email because of your account on gitlab.com.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20210810/2b79e55a/attachment.html>

More information about the Gnutls-devel mailing list