The branch OpenSSL_1_0_2-stable has been updated via 3281f1eb65008c3c6176418f6c6f83b29d1e8482 (commit) from e3348cfe15ac556278d0f30f7e17749e1bf1856d (commit)
- Log ----------------------------------------------------------------- commit 3281f1eb65008c3c6176418f6c6f83b29d1e8482 Author: Andy Polyakov <ap...@openssl.org> Date: Wed Aug 16 23:06:57 2017 +0200 err/err.c: fix "wraparound" bug in ERR_set_error_data. Reviewed-by: Rich Salz <rs...@openssl.org> (cherry picked from commit d3d880ce01cfaf0091f46a2f6b5bd146d47a93e7) ----------------------------------------------------------------------- Summary of changes: crypto/err/err.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/crypto/err/err.c b/crypto/err/err.c index 03d407c..cfe0e80 100644 --- a/crypto/err/err.c +++ b/crypto/err/err.c @@ -1075,8 +1075,6 @@ void ERR_set_error_data(char *data, int flags) return; i = es->top; - if (i == 0) - i = ERR_NUM_ERRORS - 1; err_clear_data(es, i); es->err_data[i] = data; _____ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits