[PATCH] [ASan] Don't crash in DescribeHeapAddress if we don't know the current thread's ID

Timur Iskhodzhanov timurrrr at google.com
Tue Sep 10 01:39:50 PDT 2013


  r190392.


================
Comment at: asan_report.cc:447
@@ +446,3 @@
+  DescribeThread(GetCurrentThread());
+  if (free_thread)
+    DescribeThread(free_thread);
----------------
Kostya Serebryany wrote:
> you don't need this if, do you? 
(Discussed offline)
Yes we do.


http://llvm-reviews.chandlerc.com/D1635



More information about the llvm-commits mailing list