We need to handle the case when handler is NULL in dispatch_source_set_cancel_handler and similar interceptors.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D18968
[tsan] Fix a crash with dispatch_source_set_cancel_handler(NULL) on OS X ClosedPublic Authored by kubamracek on Apr 11 2016, 9:02 AM.
Details Summary We need to handle the case when handler is NULL in dispatch_source_set_cancel_handler and similar interceptors.
Diff Detail
Event Timelinekubamracek retitled this revision from to [tsan] Fix a crash with dispatch_source_set_cancel_handler(NULL) on OS X. kubamracek updated this object. This revision is now accepted and ready to land.Apr 12 2016, 1:27 AM Closed by commit rL266080: [tsan] Fix a crash with dispatch_source_set_cancel_handler(NULL) on OS X (authored by kuba.brecka). · Explain WhyApr 12 2016, 8:23 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 53402 compiler-rt/trunk/lib/tsan/rtl/tsan_libdispatch_mac.cc
|