mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-07 02:42:48 +03:00
Fix a shift-overflow problem in yesterday's check-in [36fdeb4f0a66970a]
that OSSFuzz helpfully discovered overnight. Thanks Google. FossilOrigin-Name: bff38e2b5318ed032aaf1d350903c3494b4531f2dc59a6997144ec8e23defef4
This commit is contained in:
@@ -7734,7 +7734,7 @@ case OP_ReleaseReg: {
|
||||
pMem = &aMem[pOp->p1];
|
||||
constMask = pOp->p3;
|
||||
for(i=0; i<pOp->p2; i++, pMem++){
|
||||
if( (constMask & MASKBIT32(i))==0 ){
|
||||
if( i>=32 || (constMask & MASKBIT32(i))==0 ){
|
||||
pMem->pScopyFrom = 0;
|
||||
/* MemSetTypeFlag(pMem, MEM_Undefined); // See the TODO */
|
||||
}
|
||||
|
Reference in New Issue
Block a user