[openssl-commits] [openssl] OpenSSL_1_1_0-stable update
Andy Polyakov
appro at openssl.org
Fri Aug 18 07:27:23 UTC 2017
The branch OpenSSL_1_1_0-stable has been updated
via 5dd8e67a7b9ede8d90744660abbb40adf07890aa (commit)
from 5c26dd5b70e7be158dade9da9d75af258c7795dc (commit)
- Log -----------------------------------------------------------------
commit 5dd8e67a7b9ede8d90744660abbb40adf07890aa
Author: Andy Polyakov <appro at 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 <rsalz at 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 57b9576..84eabc1 100644
--- a/crypto/err/err.c
+++ b/crypto/err/err.c
@@ -702,8 +702,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;
More information about the openssl-commits
mailing list