The unified diff between revisions [63fe9cf9..] and [879bb490..] is displayed below. It can also be downloaded as a raw diff.

This diff has been restricted to the following files: 'src/lsi/cmdsocket.c'

#
# old_revision [63fe9cf91eccf15b977d5be7600ee10a17d08d95]
# new_revision [879bb490162f7bfef0afc9c96666267f54996591]
#
# patch "src/lsi/cmdsocket.c"
#  from [a6b79ffd22f3df90c3d7cca971192dadbfa3e7bb]
#    to [9b889b4562b843474cf909d9e86a5b7e0ec90a51]
#
============================================================
--- src/lsi/cmdsocket.c	a6b79ffd22f3df90c3d7cca971192dadbfa3e7bb
+++ src/lsi/cmdsocket.c	9b889b4562b843474cf909d9e86a5b7e0ec90a51
@@ -117,7 +117,7 @@ int cmdsocket_accept(void) {
 	}
 
 	cmd_active = c;
-	write(cmd_active, CMDSOCKET_BANNER, sizeof(CMDSOCKET_BANNER));
+	write(cmd_active, CMDSOCKET_BANNER, sizeof(CMDSOCKET_BANNER)-1);
 
 	vm_register_signal_fd(cmd_active, VM_CMDREADQ);
 	vm_wakeup(VM_CMDREADQ);