aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordrh <>2025-07-03 11:52:17 +0000
committerdrh <>2025-07-03 11:52:17 +0000
commitbfb4993364a2f20929ae306156d0030269ca5cb4 (patch)
tree1b42d83f68461b3f782968b9ce188a819e6e99e7 /src
parent6245e5a46b640fd494204009a4b2011f87e7bbd9 (diff)
downloadsqlite-master.tar.gz
sqlite-master.zip
Fix an uninitialized variable added yesterday by [d27d34fb746280e7].HEADmaster
This problem was discovered overnight by [https://github.com/google/oss-fuzz|OSSFuzz]. FossilOrigin-Name: 6db4703f1178fc808f3a75c355fb6638fb12c88f6e1ce7f579e200ced8089114
Diffstat (limited to 'src')
-rw-r--r--src/select.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/select.c b/src/select.c
index 95b2925e3..1e54747fc 100644
--- a/src/select.c
+++ b/src/select.c
@@ -5366,6 +5366,7 @@ static int pushDownWhereTerms(
x.iTable = pSrc->iCursor;
x.iNewTable = pSrc->iCursor;
x.isOuterJoin = 0;
+ x.nSelDepth = 0;
x.pEList = pSubq->pEList;
x.pCList = findLeftmostExprlist(pSubq);
pNew = substExpr(&x, pNew);