You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
o it calculates the buffer size in quadwords, rounded down
nblocks = len/16;
o then the body loop iterates i up to nblocks-1:
for(int i = 0; i < nblocks; i++)
o Inside the loop, these accesses happen:
uint64_t k1 = getblock(blocks,i*2+0);
uint64_t k2 = getblock(blocks,i*2+1);
o "blocks" is a qword pointer and the getblock calls are equivalent to
blocks[i*2] and blocks[i*2+1]
o So these qword accesses will occur up to qword offset:
(nblocks-1)*2+1
...almost twice the caller's buffer size.
Original issue reported on code.google.com by [email protected] on 2 Apr 2013 at 6:02
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 2 Apr 2013 at 6:02The text was updated successfully, but these errors were encountered: