Hello,

I'm the new maintainer of sane-backend on Debian.

For the package I have 3 patches:

- niash_c-array-bounds.patch:
  prevent array bounds on line 1098
  Severity: grave
  Debian bug: none

- hp3900.patch
  Replace the startup gamma with the same from the standalone version
  Severity: normal
  Debian bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bugb9470

- typo.patch
  typo in backend/genesys.conf.in
  Severity: minor
  Debian bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bugt3848



CU
Jörg



-

--
pgp Fingerprint: 7D13 3C60 0A10 DBE1 51F8  EBCB 422B 44B0 BE58 1B6E
pgp Key: BE581B6E
CAcert Key S/N: 0E:D4:56

Jörg Frings-Fürst
D-54526 Niederkail

Threema-ID: SYR8SJXB

IRC: j_...@freenode.net, j_...@oftc.net
Description: prevent array bounds in TScanner
Author: Jörg Frings-Fürst <deb...@jff-webhosting.net>
Forwarded: <URL|no|not-needed, useless if you have a Bug field, optional>
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;
Description: Replace the startup gamma with the same from the standalone version
Author: Jörg Frings-Fürst <deb...@jff-webhosting.net>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bugb9470
Forwarded: <URL|no|not-needed, useless if you have a Bug field, optional>
Last-Update: 2014-10-26
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: trunk/backend/hp3900_sane.c
==================================================================--- trunk.orig/backend/hp3900_sane.c
+++ trunk/backend/hp3900_sane.c
@@ -1159,7 +1159,7 @@ options_init (TScanner * scanner)
       TOptionValue *pVal;

       /* set gamma */
-      gamma_create (scanner, 2.2);
+      gamma_create (scanner, 1.0);

       /* color convertion */
       scanner->cnv.colormode = -1;
Description: typo in backend/genesys.conf.in
Author: Jörg Frings-Fürst <deb...@jff-webhosting.net>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bugt3848
Forwarded: <URL|no|not-needed, useless if you have a Bug field, optional>
Last-Update: 2014-10-26
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: trunk/backend/genesys.conf.in
==================================================================--- trunk.orig/backend/genesys.conf.in
+++ trunk/backend/genesys.conf.in
@@ -2,7 +2,7 @@

 #
 # scanners that are not yet supported
-# uncomment them only for developpment purpose
+# uncomment them only for development purpose
 #

 # UMAX Astra 4500 and Avision iVina 1600

Attachment: signature.asc
Description: This is a digitally signed message part.

-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to sane-devel-requ...@lists.alioth.debian.org

Reply via email to