sqlite: Division by zero in the query planner (CVE-2019-16168)
In SQLite through 3.29.0, whereLoopAddBtreeIndex in sqlite3.c can crash a browser or other application because of missing validation of a sqlite_stat1 sz field, aka a "severe division by zero in the query planner."
References:
- https://nvd.nist.gov/vuln/detail/CVE-2019-16168
- https://www.sqlite.org/src/info/e4598ecbdd18bd82945f6029013296690e719a62