mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-09 14:00:50 +02:00
Fix Cavium async event queue req_count buffer overflow
This commit is contained in:
@@ -686,6 +686,9 @@ int wolfAsync_EventQueuePoll(WOLF_EVENT_QUEUE* queue, void* context_filter,
|
||||
if (ret != 0) {
|
||||
break;
|
||||
}
|
||||
/* buffer flushed: restart indexing to avoid writing
|
||||
* past multi_req.req[CAVIUM_MAX_POLL] */
|
||||
req_count = 0;
|
||||
}
|
||||
#else
|
||||
#if defined(HAVE_INTEL_QA)
|
||||
|
||||
Reference in New Issue
Block a user