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

Kostya Serebryany kcc at google.com
Tue Sep 10 01:33:25 PDT 2013


  LGTM


================
Comment at: asan_report.cc:447
@@ +446,3 @@
+  DescribeThread(GetCurrentThread());
+  if (free_thread)
+    DescribeThread(free_thread);
----------------
you don't need this if, do you? 


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



More information about the llvm-commits mailing list