Sniffer: Fix infinte recursion caused by an OOO appData packet

This commit is contained in:
Lealem Amedie
2025-07-31 09:31:59 -06:00
parent 65126352a0
commit 0e8aab241d

View File

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