Re: [sqlite] sqlite3Init null pointer bug

2019-01-04 Thread Richard Hipp
This is an issue with the CLI, not with the SQLite core. It is fixed here: https://www.sqlite.org/src/info/d7f55c62c3fa053b On 1/4/19, Xingwei Lin wrote: > Hi, > > I found a null pointer access problem in *sqlite3Init *function in version > 3.26.0. > > The poc is simple: > >> .open . > >

[sqlite] sqlite3Init null pointer bug

2019-01-04 Thread Xingwei Lin
Hi, I found a null pointer access problem in *sqlite3Init *function in version 3.26.0. The poc is simple: > .open . .selftest The GDB debug traces are: > #0 0x55d76316ae12 in sqlite3Init (db=0x55d76509de18, > pzErrMsg=0x7fffa3d64ac0) at sqlite3.c:123082 #1 0x55d7631a22d7 in