commit | 6fd53da030b5e9161a49d6010a8b38499ca2a124 | [log] [tgz] |
---|---|---|
author | Jason Evans <je@fb.com> | Tue Sep 09 12:45:53 2014 -0700 |
committer | Jason Evans <je@fb.com> | Tue Sep 09 15:29:34 2014 -0700 |
tree | 2c683858b8ff389b7b0cf2c5122b5e40d06a29ce | |
parent | 7c17e1670d7294db4b3c483ad7173dd056b42268 [diff] |
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.