Matt Caswell 3fde6c9276 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>
2015-10-21 16:13:53 +01:00
..
2015-09-20 14:19:49 +01:00
2015-09-23 13:53:26 +01:00
2015-08-26 10:17:49 +01:00
2015-10-09 15:32:35 +02:00
2015-09-07 10:45:38 +01:00
2015-09-23 13:53:27 +01:00
2015-10-05 11:08:18 +02:00
2015-08-11 18:23:29 -04:00
2015-06-23 22:24:09 +01:00
2015-10-11 13:38:01 +01:00
2015-10-15 16:19:00 +02:00
2015-08-14 06:56:11 +01:00
2015-10-02 14:22:05 -04:00
2015-09-29 21:59:19 -04:00
2015-10-09 15:32:35 +02:00
2015-10-02 14:22:05 -04:00
2015-10-09 15:32:35 +02:00
2015-05-16 09:20:38 +01:00
2015-10-02 14:22:05 -04:00
2015-05-16 09:20:58 +01:00
2015-05-16 09:20:58 +01:00
2015-08-14 06:56:11 +01:00
2015-05-22 23:10:51 +01:00
2015-05-16 09:20:58 +01:00
2015-09-07 10:45:38 +01:00
2015-05-16 09:20:58 +01:00
2015-07-30 14:43:35 +01:00