summaryrefslogtreecommitdiff
path: root/debian/patches/100_xscanimage_c-out-of-bounds.patch
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2018-09-09 08:47:12 +0200
committerJörg Frings-Fürst <debian@jff.email>2018-09-09 08:47:12 +0200
commit311a42d3c545f079f8a9428c52fbdc73731bdc37 (patch)
treed41dcf944b969257cd5ed62ccb7166305015a642 /debian/patches/100_xscanimage_c-out-of-bounds.patch
parent4a8a70149879404d36ccd39c5983e3a9760af07e (diff)
parent16a4948c7243ab0e228780b3a2b9aea97900f32a (diff)
Merge branch 'release/debian/1.0.14-13'debian/1.0.14-13
Diffstat (limited to 'debian/patches/100_xscanimage_c-out-of-bounds.patch')
-rw-r--r--debian/patches/100_xscanimage_c-out-of-bounds.patch18
1 files changed, 0 insertions, 18 deletions
diff --git a/debian/patches/100_xscanimage_c-out-of-bounds.patch b/debian/patches/100_xscanimage_c-out-of-bounds.patch
deleted file mode 100644
index 2249f5a..0000000
--- a/debian/patches/100_xscanimage_c-out-of-bounds.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-Description: Correct out-of-bounds
-Author: Jörg Frings-Fürst <debian@jff-webhosting.net>
-Last-Update: 2014-12-03
----
-This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
-Index: trunk/src/xscanimage.c
-===================================================================
---- trunk.orig/src/xscanimage.c
-+++ trunk/src/xscanimage.c
-@@ -1284,7 +1284,7 @@ scan_dialog (GtkWidget * widget, gpointe
- { /* We are running in standalone mode */
- /* 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)) ||