aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorSteffan Karger2017-08-16 19:04:50 +0200
committerDavid Sommerseth2017-09-06 21:40:13 +0200
commitfca89379c53fe2c145db96a5bcd32327c4bcfa78 (patch)
treea7e0dd15dd9bf9ec9bc70f489723f9a612b3baab /configure.ac
parent22e75ca1a88b83e83a12b7d7d0095651f547411d (diff)
downloadopenvpn-fca89379c53fe2c145db96a5bcd32327c4bcfa78.zip
openvpn-fca89379c53fe2c145db96a5bcd32327c4bcfa78.tar.gz
tls-crypt: don't leak memory for incorrect tls-crypt messages
If tls_crypt_unwrap() failed, we would jump to cleanup and forget to free the buffer. Instead, allocate the buffer through gc, which is free'd in the cleanup section. Signed-off-by: Steffan Karger <steffan@karger.me> Acked-by: David Sommerseth <davids@openvpn.net> Message-Id: <20170816170450.10415-1-steffan@karger.me> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg15282.html Signed-off-by: David Sommerseth <davids@openvpn.net>
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions