$OpenBSD: patch-src_messages_c,v 1.4 2014/09/04 12:33:27 dcoppa Exp $
--- src/messages.c.orig	Fri Aug  8 08:37:03 2014
+++ src/messages.c	Thu Sep  4 11:16:15 2014
@@ -68,7 +68,7 @@ static void Msg_getPreamble(uint8_t *buffer, int *type
 #define MAX_MSGSIZE (BUFSIZE - PREAMBLE_SIZE)
 int Msg_messageToNetwork(message_t *msg, uint8_t *buffer)
 {
-	int len;
+	int len = 0;
 	uint8_t *bufptr = buffer + PREAMBLE_SIZE;
 
 	Log_debug("To net: msg type %d", msg->messageType);
