]> git.pond.sub.org Git - empserver/commit
(show_motd): Printed motd with pr(), as a printf()-like format string!
authorMarkus Armbruster <armbru@pond.sub.org>
Tue, 10 Aug 2004 05:52:58 +0000 (05:52 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Tue, 10 Aug 2004 05:52:58 +0000 (05:52 +0000)
commitd721ba3b5cef56e2f69a31dda10cc254ac4e19cd
treec530cfcac91cdf976520f8e1afe10e7993b9ec0f
parent743be658c8bd54849371db8a4fd8a07a611c4069
(show_motd): Printed motd with pr(), as a printf()-like format string!
This reads and formats junk from the stack when motd contains '%', and
can even crash.  Use prnf() instead.
src/lib/player/player.c