Hello all,
I have just come accross a bug - which is essentially and most likely a bug in my program but results in a segfault in sqlite3 code. So I thought I would suggest a robustness change (not to correct my bug, but for other people not to see a segfault in the same conditions). sqlite3_clear_bindings does not check its statement parameter against NULL before using it. This check is however done in sqlite3_reset. It would be nice to check pStmt against NULL in sqlite3_clear_bindings as well (and probably just return SQLITE_OK if the pointer is NULL ?). Thank you for your support. Best regards, Yan _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users