FIRE-14600: Proposed fix for crash in fasttimer view: mBars might be null

Ansariel 2014-11-14 23:15:46 +01:00
parent c82dd52491
commit a18f9c1b38
1 changed files with 8 additions and 0 deletions

View File

@ -256,6 +256,14 @@ BOOL LLFastTimerView::handleHover(S32 x, S32 y, MASK mask)
bar_index < end_index;
++bar_index)
{
// <FS:Ansariel> FIRE-14600: mBars might be null here
if (!row.mBars)
{
LL_WARNS() << "Skipping null row bars" << LL_ENDL;
continue;
}
// </FS:Ansariel>
TimerBar& bar = row.mBars[bar_index];
if (bar.mSelfStart > mouse_time_offset)
{