Package: netcat / 1.10-41

655881-netcat.c.format.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: netcat-1.10/netcat.c
===================================================================
--- netcat-1.10.orig/netcat.c
+++ netcat-1.10/netcat.c
@@ -216,7 +216,7 @@ void holler (str, p1, p2, p3, p4, p5, p6
       if (h_errno > 4)		/* oh no you don't, either */
 	fprintf (stderr, "preposterous h_errno: %d", h_errno);
       else
-	fprintf (stderr, h_errs[h_errno]);	/* handle it here */
+	fprintf (stderr,"%s", h_errs[h_errno]);	/* handle it here */
       h_errno = 0;				/* and reset for next call */
     }
 #endif