summaryrefslogtreecommitdiff
path: root/debian/patches/0175-icm_profile_field.patch
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2018-10-10 12:40:35 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2018-10-10 12:40:35 +0200
commit320a69a1d259525f78cf2e03839a538d3dedd4b1 (patch)
tree839e61103ad55eaf1c4967b81b985e3e19917878 /debian/patches/0175-icm_profile_field.patch
parent36ad922921a53c347e38e54cb8935fa2efc96d9e (diff)
parent6bac7b4beeeb1c02d838833a7feea4095fc6685d (diff)
Merge branch 'release/debian/0.999-6'debian/0.999-6
Diffstat (limited to 'debian/patches/0175-icm_profile_field.patch')
-rw-r--r--debian/patches/0175-icm_profile_field.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/debian/patches/0175-icm_profile_field.patch b/debian/patches/0175-icm_profile_field.patch
new file mode 100644
index 0000000..b35da77
--- /dev/null
+++ b/debian/patches/0175-icm_profile_field.patch
@@ -0,0 +1,20 @@
+Description: Fix bogus icm_profile field in output
+Author: Reuben Thomas <rrt@sc3d.org>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=864486
+Reviewed-by: Jörg Frings-Fürst <debian@jff.email>
+Last-Update: 2017-12-28
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: trunk/src/xsane-save.c
+===================================================================
+--- trunk.orig/src/xsane-save.c
++++ trunk/src/xsane-save.c
+@@ -427,6 +427,8 @@ void xsane_read_pnm_header(FILE *file, I
+ char buf[TEXTBUFSIZE];
+ int items_done;
+
++ memset(image_info, '\0', sizeof(Image_info));
++
+ fgets(buf, sizeof(buf)-1, file);
+ DBG(DBG_info, "filetype header :%s", buf);
+