You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-wireless/irda-utils/files/irda-utils-rh1.patch

12 lines
444 B

--- 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"