diff options
author | drh <drh@noemail.net> | 2018-01-14 20:12:23 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2018-01-14 20:12:23 +0000 |
commit | b058d05452079aee046a07e94a406b547c02b9f5 (patch) | |
tree | c05a59463e041c071f37f1adf006aab53e91ba7a /src/expr.c | |
parent | eb545004193ed95aa41213b8aa24496e158085ac (diff) | |
download | sqlite-b058d05452079aee046a07e94a406b547c02b9f5.tar.gz sqlite-b058d05452079aee046a07e94a406b547c02b9f5.zip |
Avoid excess stack usage when a VALUES clause with lots of rows occurs
within a scalar expression. This fixes a problem discovered by OSSFuzz.
FossilOrigin-Name: a4fa0581ba7cfd45fabe0198f55b3c2c8ee3ecfd2825aeed91116f44e77d760b
Diffstat (limited to 'src/expr.c')
-rw-r--r-- | src/expr.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/expr.c b/src/expr.c index 32cc4423f..a63de5d9f 100644 --- a/src/expr.c +++ b/src/expr.c @@ -2764,7 +2764,6 @@ int sqlite3CodeSubselect( pSel->pLimit = sqlite3PExpr(pParse, TK_LIMIT, pLimit, 0); } pSel->iLimit = 0; - pSel->selFlags &= ~SF_MultiValue; if( sqlite3Select(pParse, pSel, &dest) ){ return 0; } |