Jason Evans 6fd53da030 Fix prof_tdata_get()-related regressions.
Fix prof_tdata_get() to avoid dereferencing an invalid tdata pointer
(when it's PROF_TDATA_STATE_{REINCARNATED,PURGATORY}).

Fix prof_tdata_get() callers to check for invalid results besides NULL
(PROF_TDATA_STATE_{REINCARNATED,PURGATORY}).

These regressions were caused by
602c8e0971160e4b85b08b16cf8a2375aa24bc04 (Implement per thread heap
profiling.), which did not make it into any releases prior to these
fixes.
2014-09-09 15:29:34 -07:00
..
2014-09-08 17:34:24 -07:00
2013-12-08 20:52:21 -08:00
2014-09-04 22:22:52 -07:00
2013-12-08 22:28:27 -08:00
2014-08-19 21:31:16 -07:00
2014-08-19 21:31:16 -07:00
2012-02-28 16:50:47 -08:00
2012-04-21 21:27:46 -07:00
2014-09-04 22:27:26 -07:00
2013-12-08 22:28:27 -08:00
2013-12-08 22:28:27 -08:00
2014-08-19 21:05:54 -07:00
2014-04-15 16:49:57 -07:00