]> 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:20:39 +0000 (23:20 +0100)
commitad212c1ed162f7bbb44486f656506c26ce365cba
treeb50c72b08803a1106f172b21aec232e9e9c4f94a
parente1bce59fd3c712ec99308f79dfcf8bece6ce28cb
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