diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2017-02-23 16:24:17 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2017-04-13 16:12:27 +0200 |
commit | 57550e6211c19c634a319bed59d39b28d020dcd1 (patch) | |
tree | aa6735e4917b00715d73b740bd06131f6d9a38a6 /config.h.cmake | |
parent | 34bdc1ca7871e8e9258077411edd516c8de55299 (diff) | |
download | libssh-57550e6211c19c634a319bed59d39b28d020dcd1.tar.gz libssh-57550e6211c19c634a319bed59d39b28d020dcd1.tar.xz libssh-57550e6211c19c634a319bed59d39b28d020dcd1.zip |
buffer: Validate the length before before memory allocation
Check if the size the other party sent is a valid size in the
transmitted buffer.
Thanks to Alex Gaynor for finding and reporting the issue.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'config.h.cmake')
0 files changed, 0 insertions, 0 deletions