mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-05 13:44:41 +02:00
Merge pull request #3052 from julek-wolfssl/infinite-loop-fuzzer
Alert level must be cleared or ProcessReply will loop indefinitely
This commit is contained in:
@@ -15629,6 +15629,10 @@ int ProcessReply(WOLFSSL* ssl)
|
|||||||
|
|
||||||
if (type == decrypt_error)
|
if (type == decrypt_error)
|
||||||
return FATAL_ERROR;
|
return FATAL_ERROR;
|
||||||
|
|
||||||
|
/* Reset error if we got an alert level in ret */
|
||||||
|
if (ret > 0)
|
||||||
|
ret = 0;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
Reference in New Issue
Block a user