mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-02-03 23:45:05 +01:00
Fix for case where wc_ClearErrorNodes is called, but then wc_PullErrorNode is called and wc_current_node is populated with invalid ->next pointer.
This commit is contained in:
@@ -677,8 +677,9 @@ void wc_ClearErrorNodes(void)
|
||||
}
|
||||
}
|
||||
|
||||
wc_errors = NULL;
|
||||
wc_last_node = NULL;
|
||||
wc_errors = NULL;
|
||||
wc_last_node = NULL;
|
||||
wc_current_node = NULL;
|
||||
wc_UnLockMutex(&debug_mutex);
|
||||
#endif /* DEBUG_WOLFSSL || WOLFSSL_NGINX */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user