mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-12 13:01:09 +03:00
When an error occurs while rewriting the parser tree for window functions
in the sqlite3WindowRewrite() routine, make sure that pParse->nErr is set, and make sure that this shuts down any subsequent code generation that might depend on the transformations that were implemented. This fixes a problem discovered by the Yongheng and Rui fuzzer. FossilOrigin-Name: e2bddcd4c55ba3cbe0130332679ff4b048630d0ced9a8899982edb5a3569ba7f
This commit is contained in:
@@ -376,6 +376,7 @@ static int codeCompare(
|
||||
int addr;
|
||||
CollSeq *p4;
|
||||
|
||||
if( pParse->nErr ) return 0;
|
||||
if( isCommuted ){
|
||||
p4 = sqlite3BinaryCompareCollSeq(pParse, pRight, pLeft);
|
||||
}else{
|
||||
|
||||
Reference in New Issue
Block a user