| commit | b86d7dca69f5c80abd60896c8ed3039fc56210cc | [log] [tgz] |
|---|---|---|
| author | Matt Caswell <matt@openssl.org> | Mon Apr 27 11:13:56 2015 +0100 |
| committer | Matt Caswell <matt@openssl.org> | Thu Apr 30 23:12:39 2015 +0100 |
| tree | c45dda461606988b1bd9fc150f5635650378009c | |
| parent | c8269881093324b881b81472be037055571f73f3 [diff] |
Sanity check EVP_EncodeUpdate buffer len There was already a sanity check to ensure the passed buffer length is not zero. Extend this to ensure that it also not negative. Thanks to Kevin Wojtysiak (Int3 Solutions) and Paramjot Oberoi (Int3 Solutions) for reporting this issue. Reviewed-by: Andy Polyakov <appro@openssl.org>