Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3751296
)
extras/dpl: Fixed printf security warning on Linux
author
Jerome St-Louis
<jerome@ecere.com>
Sun, 6 Jul 2014 05:47:20 +0000
(
01:47
-0400)
committer
Jerome St-Louis
<jerome@ecere.com>
Sun, 6 Jul 2014 05:47:20 +0000
(
01:47
-0400)
extras/include/dpl.ec
patch
|
blob
|
history
diff --git
a/extras/include/dpl.ec
b/extras/include/dpl.ec
index
0a7edf8
..
f37ce7d
100644
(file)
--- a/
extras/include/dpl.ec
+++ b/
extras/include/dpl.ec
@@
-59,7
+59,7
@@
void __dpl(const char * file, int line, int indent, typed_object object, ...)
printf(" ");
va_start(args, object);
PrintStdArgsToBuffer(string, sizeof(string), object, args);
- printf(string);
+ printf(
"%s",
string);
va_end(args);
printf("\n");
delete time;
@@
-98,7
+98,7
@@
void __dpcl(const char * file, int line, const char ** channels, int channel, in
printf(" ");
va_start(args, object);
PrintStdArgsToBuffer(string, sizeof(string), object, args);
- printf(string);
+ printf(
"%s",
string);
va_end(args);
printf("\n");
delete time;