CID-155
Checker: OVERRUN_DYNAMIC Function: LLImageGL::updatePickMask(int, int, const unsigned char *) File: /indra/llrender/llimagegl.cpp not a bug, AFAICT.master
parent
ccacd7d7ac
commit
e70d7fca4b
|
|
@ -1716,10 +1716,7 @@ void LLImageGL::updatePickMask(S32 width, S32 height, const U8* data_in)
|
|||
{
|
||||
U32 pick_idx = pick_bit/8;
|
||||
U32 pick_offset = pick_bit%8;
|
||||
if (pick_idx >= size)
|
||||
{
|
||||
llerrs << "WTF?" << llendl;
|
||||
}
|
||||
llassert(pick_idx < size);
|
||||
|
||||
mPickMask[pick_idx] |= 1 << pick_offset;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue