• Jurijs Oniscuks's avatar
    Fix race condition in pthread_create() · 0cdb680c
    Jurijs Oniscuks authored
    Do not send "&this->mThread" to pthread_create() as newly
    created thread can "delete this" before pthread_create() saves
    thread id. This would lead to heap corruption.
    
    Change-Id: I9c4cd5e1002b85985514a36ae542778a783db6fb
    0cdb680c
DnsProxyListener.h 2.69 KB