]> git.tuebingen.mpg.de Git - paraslash.git/commit
server: Avoid invalid free() in com_help().
authorAndre Noll <maan@systemlinux.org>
Thu, 3 Feb 2011 08:12:39 +0000 (09:12 +0100)
committerAndre Noll <maan@systemlinux.org>
Thu, 3 Feb 2011 08:12:39 +0000 (09:12 +0100)
commitffb82bb4f4e34c36653a06c8ae90c6e5db0fdcd8
tree6ccf8f0021c30fba59ac60ac535978499bb47eda
parent5ebdf3a92f55c582f7b23236b4b403faa76f1f19
server: Avoid invalid free() in com_help().

If the argument to com_help is not a valid command, we try to free
uninitialized memory which may lead to a segfault.

This bug existed at least since day 1 of the git repo.
command.c