plan9front/sys/src/cmd/wikifs
cinap_lenrek 797cc13c70 fix dangerous werrstr() usages
werrstr() takes a format string as its first argument.
a common error is to pass user controlled string buffers
into werrstr() that might contain format string escapes
causing werrstr() to take bogus arguments from the stack
and crash.

so instead of doing:
	werrstr(buf);

we want todo:
	werrstr("%s", buf);

or if we have a local ERRMAX sized buffer that we can override:
	errstr(buf, sizeof buf);
2014-11-07 12:51:59 +01:00
..
fs.c
io.c
lookup.c
map.c
mkfile
parse.c
parsehist.c
testwrite.c
tohtml.c
util.c
wdir.c
wiki.h
wiki2html.c
wiki2text.c