Commit 54e29b93 by Russell Belfer

Fix missing NUL termination of buffer

parent 991a56c7
......@@ -172,6 +172,8 @@ int git_buf_puts_escaped(
}
}
buf->ptr[buf->size] = '\0';
return 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