Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > a98365694f8531a6d1298224d81116a8 > files > 2

irda-utils-0.9.18-4mdv2008.0.src.rpm

--- irda-utils-0.9.15/irattach/irattach.c.rh1	2003-11-24 17:30:21.000000000 +0100
+++ irda-utils-0.9.15/irattach/irattach.c	2003-11-24 17:34:51.000000000 +0100
@@ -614,7 +614,7 @@
 	/* First arg is device name. Save it now, because in some cases
 	 * getopt() will remove it... */
 	strncpy(device, argv[1], 20);
-	device[20] = '\0';
+	device[19] = '\0';
 
 	/* Look for options */
 	/* Do this before processing device, to handle "-h" and -v"