]> granicus.if.org Git - openssl/commit
Fix off-by-one errors in ssl_cipher_get_evp()
authorMiod Vallat <miod@openbsd.org>
Wed, 4 Jun 2014 07:59:58 +0000 (03:59 -0400)
committerMatt Caswell <matt@openssl.org>
Sun, 22 Jun 2014 22:18:15 +0000 (23:18 +0100)
commitd15f2d98ef8e9d04143f68aa8697194cc6b24246
tree334f4ad63cc2ca71e1b8293e8f18b0c9d453c9cb
parent00f5ee445b9b4c41b52ba2ac1800b3bf99afae0f
Fix off-by-one errors in ssl_cipher_get_evp()

In the ssl_cipher_get_evp() function, fix off-by-one errors in index validation before accessing arrays.

Bug discovered and fixed by Miod Vallat from the OpenBSD team.

PR#3375
ssl/ssl_ciph.c