sqlite.org

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview

Comment: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.
Downloads: See separate download page
Timelines: family | ancestors | descendants | path-to-release | both | trunk
Files: files | file ages | folders
SHA3-256: e2bddcd4c55ba3cbe0130332679ff4b0 48630d0ced9a8899982edb5a3569ba7f
User & Date: drh 2019-12-19 20:37:32.070

References

2019-12-19

22:08 Continuation of [e2bddcd4c55ba3cb]: Add another spot where it is necessary to abort early due to prior errors in sqlite3WindowRewrite(). (check-in: cba2a2a44c ... user: drh tags: trunk)

Context

2019-12-19

21:11 Fix the regexp extension so that it correctly translates all over-length 3-byte UTF8 sequences into 0xfffd. (check-in: 3d4c0bf890 ... user: drh tags: trunk)
20:37 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. (check-in: e2bddcd4c5 ... user: drh tags: trunk)
17:42 Detect the invalid use of NULLS LAST on an INTEGER PRIMARY KEY definition of a WITHOUT ROWID table. (check-in: 4417c5bf0a ... user: drh tags: trunk)

Changes

Changes to src/expr.c.

Changes to src/vdbeaux.c.

Changes to src/window.c.

Read the original on sqlite.org ↗