File nrpe-weird_output.patch of Package nrpe.27675
Index: src/nrpe.c
===================================================================
--- src/nrpe.c.orig
+++ src/nrpe.c
@@ -1317,6 +1317,9 @@ void handle_connection(int sock){
/* disable connection alarm - a new alarm will be setup during my_system */
alarm(0);
+ /* null buffer before using it - Debian Patch by <luk@luknote> */
+ memset(buffer,0,sizeof(buffer));
+
/* if this is the version check command, just spew it out */
if(!strcmp(command_name,NRPE_HELLO_COMMAND)){