|Title:||Crash due to misuse of window functions.|
|Last Modified:||2019-02-22 21:35:59|
|Version Found In:||3.27.1|
drh added on 2019-02-22 18:44:24:
The following SQL statement causes a crash due to attempt to free memory that was not obtained from malloc():
SELECT +sum(0)OVER() ORDER BY +sum(0)OVER();
This problem has existed in all prior versions of SQLite that support window functions, beginning with version 3.25.0 (2018-09-15).