summaryrefslogtreecommitdiff
path: root/lib/handshake.c
diff options
context:
space:
mode:
authorDaiki Ueno <ueno@gnu.org>2020-08-13 18:17:08 +0200
committerDaiki Ueno <ueno@gnu.org>2020-09-03 09:57:13 +0200
commitf936f4fb802f745259f765d69bea05a81fd8ef23 (patch)
tree0fa5a448ac49444f3342c182696461a8efcba12e /lib/handshake.c
parent219904d20f0f20d92fce76eee8f6797e73d0c459 (diff)
downloadgnutls-f936f4fb802f745259f765d69bea05a81fd8ef23.tar.gz
gnutls_aead_cipher_decrypt: check output buffer size before writing
While the documentation of gnutls_aead_cipher_decrypt indicates that the inout argument ptext_len initially holds the size that sufficiently fits the expected output size, there was no runtime check on that. This makes the interface robuster against misuses. Signed-off-by: Daiki Ueno <ueno@gnu.org>
Diffstat (limited to 'lib/handshake.c')
0 files changed, 0 insertions, 0 deletions