summaryrefslogtreecommitdiff
path: root/debian/patches/niash_c-array-bounds.patch
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2014-10-27 22:38:26 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2014-10-27 22:38:26 +0100
commit1f0b6f8379934adc647252c81fe8504a193b5de5 (patch)
tree4f0303ee98cd62d76f0eee775a224db155bcb392 /debian/patches/niash_c-array-bounds.patch
parentc05e2c11a7104ba41888b96b4cba67ecdea653f3 (diff)
correct some out-of-boundsdebian/1.0.24-4
Diffstat (limited to 'debian/patches/niash_c-array-bounds.patch')
-rw-r--r--debian/patches/niash_c-array-bounds.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/debian/patches/niash_c-array-bounds.patch b/debian/patches/niash_c-array-bounds.patch
deleted file mode 100644
index 49ada3b..0000000
--- a/debian/patches/niash_c-array-bounds.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-Description: prevent array bounds in TScanner
-Author: Jörg Frings-Fürst <debian@jff-webhosting.net>
-Forwarded: http://lists.alioth.debian.org/pipermail/sane-devel/2014-October/032777.html
-Last-Update: 2014-10-26
----
-This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
-Index: trunk/backend/niash.c
-===================================================================
---- trunk.orig/backend/niash.c
-+++ trunk/backend/niash.c
-@@ -64,6 +64,7 @@
-
-
- /* options enumerator */
-+/* on changes please check the typedef struct TScanner */
- typedef enum
- {
- optCount = 0,
-@@ -105,8 +106,8 @@ typedef union
-
- typedef struct
- {
-- SANE_Option_Descriptor aOptions[optLast];
-- TOptionValue aValues[optLast];
-+ SANE_Option_Descriptor aOptions[optGamma + 1];
-+ TOptionValue aValues[optGamma + 1];
-
- TScanParams ScanParams;
- THWParams HWParams;