mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-07 02:42:48 +03:00
3rd argument to sqlite3Error() should always be a format string, never
user-supplied error message text. Ticket #1354. (CVS 2583) FossilOrigin-Name: d6146a542aacd10d349d432fe343cc17cc3b3ab5
This commit is contained in:
@@ -213,7 +213,7 @@ int sqlite3_step(sqlite3_stmt *pStmt){
|
||||
rc = SQLITE_MISUSE;
|
||||
}
|
||||
|
||||
sqlite3Error(p->db, rc, p->zErrMsg);
|
||||
sqlite3Error(p->db, rc, "%s", p->zErrMsg);
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user