
$FreeBSD: branches/RELENG_9_2_0/net/ser/files/patch-udp_server.c 300897 2012-07-14 14:29:18Z beat $

--- udp_server.c
+++ udp_server.c
@@ -432,6 +432,10 @@
 				continue; /* goto skip;*/
 			else goto error;
 		}
+		if (len < 128) {
+			/* Message is too short, just drop it already */
+			continue;
+		}
 		/* we must 0-term the messages, receive_msg expects it */
 		buf[len]=0; /* no need to save the previous char */
 
