Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: third_party/sqlite/src/src/test7.c

Issue 1610963002: Import SQLite 3.10.2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/sqlite/src/src/test4.c ('k') | third_party/sqlite/src/src/test8.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/src/test7.c
diff --git a/third_party/sqlite/src/src/test7.c b/third_party/sqlite/src/src/test7.c
index 93bf1e4898b004ce10dc131a1f4258b8a3f20aaf..6ba3631b41645edf4b052e0f82b219a4d003cadf 100644
--- a/third_party/sqlite/src/src/test7.c
+++ b/third_party/sqlite/src/src/test7.c
@@ -315,7 +315,7 @@ static int tcl_client_argc(
return TCL_ERROR;
}
client_wait(&threadset[i]);
- sprintf(zBuf, "%d", threadset[i].argc);
+ sqlite3_snprintf(sizeof(zBuf), zBuf, "%d", threadset[i].argc);
Tcl_AppendResult(interp, zBuf, 0);
return TCL_OK;
}
« no previous file with comments | « third_party/sqlite/src/src/test4.c ('k') | third_party/sqlite/src/src/test8.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698