diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-03-06 13:51:33 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2017-03-07 22:06:46 +0100 |
commit | c53052c5edbdc0828f08b77d5e9a76b82486a0c5 (patch) | |
tree | 1c27daba7bde9ee370ad33679899115da0608463 /guile | |
parent | 8813fd2ee0c2ef60af19f32f7ed5780b72fc9384 (diff) | |
download | gnutls-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 'guile')
0 files changed, 0 insertions, 0 deletions