index bd55e65..ce902ef 100644
--- a/src/reply-password.c
+++ b/src/reply-password.c
@@ -82,6 +82,7 @@ int main(int argc, char *argv[]) {
}
truncate_nl(packet+1);
+ /* prefix + packet string + NUL in this order */
length = 1 + strlen(packet+1) + 1;
} else if (streq(argv[1], "0")) {
packet[0] = '-';
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel
