commit | ecca16632a73bb80ee27cdec8a97f6def0a4714d | [log] [tgz] |
---|---|---|
author | Rich Salz <rsalz@openssl.org> | Tue Feb 21 13:07:13 2017 -0500 |
committer | Rich Salz <rsalz@openssl.org> | Tue Feb 21 13:07:13 2017 -0500 |
tree | 3f53c183fdc8db0eea571813c5e207fdeeb3eecb | |
parent | 9dd4ac8cf17f2afd636e85ae0111d1df4104a475 [diff] |
Prevent OOB in SRP base64 code. Change size comparison from > (GT) to >= (GTE) to ensure an additional byte of output buffer, to prevent OOB reads/writes later in the function Reject input strings larger than 2GB Detect invalid output buffer size and return early Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2672)