summaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-03-06 13:51:33 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2017-03-07 22:06:46 +0100
commitc53052c5edbdc0828f08b77d5e9a76b82486a0c5 (patch)
tree1c27daba7bde9ee370ad33679899115da0608463 /GNUmakefile
parent8813fd2ee0c2ef60af19f32f7ed5780b72fc9384 (diff)
downloadgnutls-c53052c5edbdc0828f08b77d5e9a76b82486a0c5.tar.gz
read_client_hello: use integer for extensions size
As we do not read the value directly, but rather assign to it the remaining data, we ensure that there are no overflows if we have additional data past the extensions field. The integer can hold more than 2^24 which is the maximum handshake packet size. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'GNUmakefile')
0 files changed, 0 insertions, 0 deletions