You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The implementation for EspMutex was recently changed from using a pthread_mutex_t to a *mut pthread_mutex_t. This is incorrect as when locking, the pthread_mutex_lock function calls pthread_mutex_init_if_static which dereferences the mutex pointer. Because this pointer is initially set to PTHREAD_MUTEX_INITIALIZER (0xFFFFFFFF), this causes a load to this address which is invalid and causes a LoadProhibited exception.
The text was updated successfully, but these errors were encountered:
The implementation for
EspMutex
was recently changed from using apthread_mutex_t
to a*mut pthread_mutex_t
. This is incorrect as when locking, thepthread_mutex_lock
function callspthread_mutex_init_if_static
which dereferences the mutex pointer. Because this pointer is initially set toPTHREAD_MUTEX_INITIALIZER
(0xFFFFFFFF
), this causes a load to this address which is invalid and causes aLoadProhibited
exception.The text was updated successfully, but these errors were encountered: