Fixed segmentation fault in command history.
authorDaniel Carl <danielcarl@gmx.de>
Sun, 14 Apr 2013 18:15:34 +0000 (20:15 +0200)
committerDaniel Carl <danielcarl@gmx.de>
Sun, 14 Apr 2013 18:19:24 +0000 (20:19 +0200)
commitcdf7389ab3c4876a2701d79bffc0451e60958b2d
tree9f82d52f3ea1f872b96ce3bf637192c0ecefeefc
parent4837cfec6f498912ca741b4ce3c02ec05713ec5b
Fixed segmentation fault in command history.

If the history contained any item with printf placeholders like %s we got a
segmentation fault if we print the value to the user. This patch use a
dedicated format string for all user generated contents to be shown with
vb_echo and vb_echo_force.
src/command.c
src/main.c