File nrpe-bug-1118590-fix_nasty_metachars.patch of Package nrpe.33416
Index: nrpe-2.15/src/nrpe.c
===================================================================
--- nrpe-2.15.orig/src/nrpe.c
+++ nrpe-2.15/src/nrpe.c
@@ -53,7 +53,7 @@ int use_ssl=FALSE;
#define DEFAULT_COMMAND_TIMEOUT 60 /* default timeout for execution of plugins */
#define MAXFD 64
-#define NASTY_METACHARS "|`&><'\"\\[]{};"
+#define NASTY_METACHARS "|`&><'\"\\[]{};\r\n"
#define howmany(x,y) (((x)+((y)-1))/(y))
#define MAX_LISTEN_SOCKS 16