diff --git a/fix-uninitialized-variables.diff b/fix-uninitialized-variables.diff index aa8c525..7593e51 100644 --- a/fix-uninitialized-variables.diff +++ b/fix-uninitialized-variables.diff @@ -9,3 +9,14 @@ /* The fixed-point calculations below are as follows: * 17.15 = input pixel +--- api/model.c.orig 2006-10-18 20:58:33.000000000 +0200 ++++ api/model.c 2007-01-19 15:58:49.000000000 +0100 +@@ -269,7 +269,7 @@ static int DelList() + /* Parse *.inc file. */ + static int ParseInc(char *incFile) + { +- FILE *fp; ++ FILE *fp = NULL; + struct list_head *p; + LabelRecord *pl; + char rcbuf[255]; diff --git a/hplip.changes b/hplip.changes index de0c764..1a1da33 100644 --- a/hplip.changes +++ b/hplip.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jan 19 16:01:20 CET 2007 - jsmeix@suse.de + +- Added fix for uninitialized file pointer in api/model.c to + fix-uninitialized-variables.diff (Suse Bugzilla bug #236709). + ------------------------------------------------------------------- Fri Jan 12 15:13:35 CET 2007 - jsmeix@suse.de diff --git a/hplip.spec b/hplip.spec index 1e68815..b04898c 100644 --- a/hplip.spec +++ b/hplip.spec @@ -17,7 +17,7 @@ Summary: HP's Printing and Scanning Software # x.y.m : x = major release number, y = year (eg: 6 = 2006), m = month (eg: 6a = second release in June) # Official releases have a 3 digit number and release candidates have a 4 digit number: x.y.m.rc Version: 1.6.12 -Release: 11 +Release: 12 %define hpijsVersion 2.6.12 Group: Hardware/Printing License: BSD License and BSD-like, GNU General Public License (GPL) @@ -322,6 +322,9 @@ exit 0 %{_libdir}/libhpip.* %changelog -n hplip +* Fri Jan 19 2007 - jsmeix@suse.de +- Added fix for uninitialized file pointer in api/model.c to + fix-uninitialized-variables.diff (Suse Bugzilla bug #236709). * Fri Jan 12 2007 - jsmeix@suse.de - Since version 1.6.12 /usr/bin/hpijs is linked with libcups so that the package hplip-hpijs could be no longer installed