diff options
author | Matt Caswell <matt@openssl.org> | 2015-10-21 10:00:24 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2015-10-21 16:13:53 +0100 |
commit | 3fde6c9276c9cd6e56e8e06e756350a4fbdd7031 (patch) | |
tree | 0f2362240850565662ab8137268560c31dc51f7c /doc | |
parent | 788d72ba021fdd29f6b3e573adc313d97f7d224d (diff) |
Avoid undefined behaviour in PACKET_buf_init
Change the sanity check in PACKET_buf_init to check for excessive length
buffers, which should catch the interesting cases where len has been cast
from a negative value whilst avoiding any undefined behaviour.
RT#4094
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions