Skip to content
Snippets Groups Projects
Commit e70d7fca authored by Tofu Linden's avatar Tofu Linden
Browse files

CID-155

Checker: OVERRUN_DYNAMIC
Function: LLImageGL::updatePickMask(int, int, const unsigned char *)
File: /indra/llrender/llimagegl.cpp

not a bug, AFAICT.
parent ccacd7d7
Branches
Tags
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment