summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2013-10-09 17:28:21 +0200
committerHelge Deller <deller@gmx.de>2013-10-09 17:28:21 +0200
commit7eaa124d6d8f14601eedf45cb037788c35c8c7ae (patch)
tree2f8dc36ea59360181e0e8b651129c45c7f5f2dec
parentd66545bc671c3432149ac93578508a830f6afa93 (diff)
downloadpalo-7eaa124d6d8f14601eedf45cb037788c35c8c7ae.tar.gz
printf() is now able to handle formatted strings of up to 4096 bytes.
There is no protection yet, if generated string is longer than 4096 bytes.
-rw-r--r--ipl/pdc_cons.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipl/pdc_cons.c b/ipl/pdc_cons.c
index b360422..5135081 100644
--- a/ipl/pdc_cons.c
+++ b/ipl/pdc_cons.c
@@ -58,7 +58,7 @@ putchar(int c)
int printf(const char *fmt, ...)
{
- char buf[1024];
+ char buf[4096];
va_list args;
int i;