Fix stack pointer access while cleaning up resources on exit (#592)
We track resources likes semaphore and queue into a global array and
deallocate the non freed objects using exit handler. The array tracking
these resources uses pointers, which could inadvertently track resource
handles allocated from the stack.
Signed-off-by:
Arunprasad Rajkumar <ar.arunprasad@gmail.com>
parent
76265897
Please register or sign in to comment