Commit Graph
3 Commits
Author SHA1 Message Date
Marc Balmer 1d935059fb Fix more sprintf calls. 2012-08-09 11:57:34 -06:00
Marc Balmer 24c0f2010c Build with debug symbols enabled. 2012-08-09 11:54:51 -06:00
Marc Balmer bb21797684 Use a more robust idiom When converting sprintf() to snprintf()
don't use the idiom

char foo[BUFSIZ];
snprintf(foo, BUFSIZ, ....);

but

char foo[BUFSIZ];
snprintf(foo, sizeo foo, ....);

because this will automatically catch situations where the size of foo
is later changed, e.g. like  foo[BUFSIZ + 8];

Fix another use of sprintf.
2012-08-09 11:52:17 -06:00