Merge pull request #9051 from lealem47/zd20288

Sniffer: Fix infinite recursion caused by an OOO appData packet
This commit is contained in:
JacobBarthelmeh
2025-07-31 14:50:36 -06:00
committed by GitHub

View File

@@ -6496,8 +6496,8 @@ doPart:
return WOLFSSL_FATAL_ERROR; return WOLFSSL_FATAL_ERROR;
} }
/* do we have another msg in record ? */ /* do we have another msg in record ? did we decode the current msg ? */
if (sslFrame < recordEnd) { if (sslFrame < recordEnd && decoded) {
Trace(ANOTHER_MSG_STR); Trace(ANOTHER_MSG_STR);
goto doPart; goto doPart;
} }