|
Message-ID: <ec138086-c5b9-4ca2-9da5-bef8b14de27d@dustri.org> Date: Tue, 9 Jan 2024 15:37:17 +0100 From: jvoisin <julien.voisin@...tri.org> To: musl@...ts.openwall.com Subject: Protect pthreads' mutexes against use-after-destroy Ohai, as discussed on irc, Android's bionic has a check to prevent use-after-destroy on phtread mutexes (https://github.com/LineageOS/android_bionic/blob/e0aac7df6f58138dae903b5d456c947a3f8092ea/libc/bionic/pthread_mutex.cpp#L803), and musl doesn't. While odds are that this is a super-duper common bug, it would still be nice to have this kind of protection, since it's cheap, and would prevent/make it easy to diagnose weird states. Is this something that should/could be implemented? o/
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.