Commit 4f518666 authored by deuce's avatar deuce
Browse files

NUL terminate helpbuf after reading from file... it still needs the NUL

in the file though, or it will output garbage.

-- coverity
parent af9460fe
......@@ -470,6 +470,8 @@ void help()
sprintf(hbuf,"ERROR: Cannot read help key (%s:%u) at %ld in: %s"
hbuf[HELPBUF_SIZE-1] = 0;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment