diff options
Diffstat (limited to 'debian/patches/05_xcam_off_by_one.patch')
-rw-r--r-- | debian/patches/05_xcam_off_by_one.patch | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/debian/patches/05_xcam_off_by_one.patch b/debian/patches/05_xcam_off_by_one.patch deleted file mode 100644 index 0b91cc4..0000000 --- a/debian/patches/05_xcam_off_by_one.patch +++ /dev/null @@ -1,15 +0,0 @@ -Author: <jblache@debian.org> -Description: Fix an off-by-one. -Index: trunk/src/xcam.c -=================================================================== ---- trunk.orig/src/xcam.c -+++ trunk/src/xcam.c -@@ -1287,7 +1287,7 @@ save_frame_button (GtkWidget * widget, g - - /* test for pnm formats */ - strncpy (testfilename, preferences.filename, sizeof (testfilename)); -- testfilename[sizeof (testfilename)] = 0; -+ testfilename[sizeof (testfilename) - 1] = 0; - g_strreverse (testfilename); - if (!((!strncmp (testfilename, "mnp.", 4)) || - (!strncmp (testfilename, "mgp.", 4)) || |