From 1ba8cdf7b07afa0fa2e0fe5200a8fce6887e7682 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Thu, 28 Dec 2017 09:58:29 +0100 Subject: New patches/0175-icm_profile_field.patch to fix bogus icm_profile field in output --- debian/patches/0175-icm_profile_field.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 debian/patches/0175-icm_profile_field.patch (limited to 'debian/patches/0175-icm_profile_field.patch') 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 +Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=864486 +Reviewed-by: Jörg Frings-Fürst +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); + -- cgit v1.2.3