DescriptionDon't do work inside assert(). Ever. The Mac crash key manipulation code was intended to be thread-safe through the provision of a mutex. The mutex operations were done inside an assert(). assert() is a no-op in NDEBUG (release) builds. Therefore, in release builds, these operations were occurring without being protected by any mutex at all, and were nowhere near thread-safe. BUG=chromium:331268 R=rsesek@chromium.org Committed: https://code.google.com/p/google-breakpad/source/detail?r=1270 Patch Set 1 #
Total comments: 2
MessagesTotal messages: 6
|