]> granicus.if.org Git - transmission/commit
Ensure buffer contents are null-terminated
authorMichael Skree <michael.skree@gmail.com>
Fri, 2 Feb 2018 03:03:59 +0000 (21:03 -0600)
committerMichael Skree <michael.skree@gmail.com>
Sat, 3 Feb 2018 19:45:44 +0000 (13:45 -0600)
commit663c4532f0dec4f34d36c425fbc03c37062ec951
tree08017f155e6f88b98e2d69bbd2ffa3da8cc96d96
parent7669c97e12d48334de59929cb18ed5fbf843d726
Ensure buffer contents are null-terminated

Data added with `evbuffer_add` isn't null-terminated. This was causing
extra characters to appear at the end of the output.

Fixes: #174
daemon/remote.c