mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-07 02:42:48 +03:00
Fix to payload size overflow detection in the cellSizePtr() change of
the previous check-in. FossilOrigin-Name: 7609744014c6a84a8379794a0351a2e9626ec86b
This commit is contained in:
@@ -1076,7 +1076,7 @@ static u16 cellSizePtr(MemPage *pPage, u8 *pCell){
|
||||
nSize &= 0x7f;
|
||||
do{
|
||||
nSize = (nSize<<7) | (*++pIter & 0x7f);
|
||||
}while( *(pIter)>=0x80 && pIter<&pCell[6] );
|
||||
}while( *(pIter)>=0x80 && pIter<pEnd );
|
||||
}
|
||||
pIter++;
|
||||
}else{
|
||||
|
Reference in New Issue
Block a user