Commit 8a93e02a authored by pbrook's avatar pbrook
Browse files

Ensure string is properly terminated.

git-svn-id: svn:// c046a42c-6fe2-441c-8c8c-71466251a162
parent 1569fc29
......@@ -1032,6 +1032,7 @@ void gdb_do_syscall(gdb_syscall_complete_cb cb, char *fmt, ...)
*(p++) = *(fmt++);
*p = 0;
put_packet(s, buf);
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