[gnutls-devel] GnuTLS | Missing/wrong checks in lib/ext/pre_shared_key.c (server_recv_params) (#523)

Tim Rühsen gitlab at mg.gitlab.com
Thu Jul 19 15:19:19 CEST 2018

> I suspect it's a false-positive. There is a check on psk_index < 0 after the loop, and when exiting from the loop with a non-negative psk_index, resuming and prf are always set, due to the break statements.

Thanks, you are right, sorry for the hassle. Looks like a gcc issue (gcc 7 + 8 are affected). clang-7 is silent about it.

Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/issues/523#note_89100222
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/20180719/e5ca7491/attachment.html>

More information about the Gnutls-devel mailing list