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

Unified Diff: tests/skia_test.cpp

Issue 943453002: Avoid wrong memory access due to double substitution and %% (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 10 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 | « tests/PathOpsSkpClipTest.cpp ('k') | tools/render_pictures_main.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/skia_test.cpp
diff --git a/tests/skia_test.cpp b/tests/skia_test.cpp
index 2aca99d4a101ef03fa50aa5d3b704c3ea99d5f2f..74029d457b5736ad385a336c8525cec284e14e47 100644
--- a/tests/skia_test.cpp
+++ b/tests/skia_test.cpp
@@ -164,7 +164,7 @@ int test_main() {
if (FLAGS_veryVerbose) {
header.appendf("\n");
}
- SkDebugf(header.c_str());
+ SkDebugf("%s", header.c_str());
}
« no previous file with comments | « tests/PathOpsSkpClipTest.cpp ('k') | tools/render_pictures_main.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698