When fuzzing with AFL, I found that running the commands below on the
sqlite shell (sqlite-amalgamation-201511301915.zip) results in the
assertion failure: "sqlite3.c:89394: int sqlite3ExprCompare(Expr *, Expr *,
int): Assertion `0' failed."

The crashing input:

CREATE TABLE t0(a,b,t);
CREATE INDEX i ON t0(a in(0,0));
INSERT INTO t0 VALUES(0,0,0);
UPDATE t0 SET b=0 WHERE a in(0,0)=0;

Running the same case without assertions on doesn't seem to cause a crash
of any kind. I also tried running it without assertions and with asan/msan
and there was no crash there either.


Thank you,
Jonathan Metzman

Reply via email to