1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-05 15:55:57 +03:00

Remove unreachable code. Fix a shift UB problem introduced yesterday

and discovered by OSSFuzz.

FossilOrigin-Name: 078dbff04a95a001bbd8690ab08038fbb5506899df8290991b53fd1122a4c30c
This commit is contained in:
drh
2021-02-05 17:34:47 +00:00
parent 70bd2124ed
commit 29f6a365cc
6 changed files with 16 additions and 21 deletions

View File

@@ -862,7 +862,7 @@ static ExprList *sqlite3ExpandReturning(
}
}
}
if( !db->mallocFailed && !pParse->colNamesSet ){
if( !db->mallocFailed ){
Vdbe *v = pParse->pVdbe;
assert( v!=0 );
sqlite3VdbeSetNumCols(v, pNew->nExpr);