diff --git a/bugzilla-242363-uninitialized-variable.patch b/bugzilla-242363-uninitialized-variable.patch new file mode 100644 index 0000000..19804b8 --- /dev/null +++ b/bugzilla-242363-uninitialized-variable.patch @@ -0,0 +1,11 @@ +diff -ru fontforge-20061220/Unicode/ustring.c fontforge-20061220.new/Unicode/ustring.c +--- fontforge-20061220/Unicode/ustring.c 2006-03-13 00:16:56.000000000 +0100 ++++ fontforge-20061220.new/Unicode/ustring.c 2007-02-06 17:00:57.000000000 +0100 +@@ -683,6 +683,7 @@ + + len = strlen(utf8buf); + lbuf = galloc(len+1); ++ pt = lbuf; + for ( upt=utf8buf; (ch=utf8_ildb(&upt))!='\0'; ) + if ( ch>=0xff ) + *pt++ = '?'; diff --git a/fontforge.changes b/fontforge.changes index bd1b506..14bc69b 100644 --- a/fontforge.changes +++ b/fontforge.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 06 17:06:16 CET 2007 - mfabian@suse.de + +- Bugzilla #242363: uninitialized variable. + ------------------------------------------------------------------- Wed Jan 03 11:43:21 CET 2007 - mfabian@suse.de diff --git a/fontforge.spec b/fontforge.spec index 7f4fe67..2806652 100644 --- a/fontforge.spec +++ b/fontforge.spec @@ -22,7 +22,7 @@ Autoreqprov: on Obsoletes: PfaEdit Provides: PfaEdit Version: 20061220 -Release: 1 +Release: 5 URL: http://fontforge.sourceforge.net/ Source0: fontforge_full-20061220.tar.bz2 Source1: fontforge_htdocs-20061220.tar.bz2 @@ -32,6 +32,7 @@ Source11: %name.png Patch0: docdir.patch Patch2: invalid-operation-same-variable-used-twice.patch Patch3: bugzilla-231126-array-subscript-out-of-range.patch +Patch4: bugzilla-242363-uninitialized-variable.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildPreReq: libjpeg libtiff libpng libungif Summary: A Font Editor @@ -110,6 +111,8 @@ install -m644 $RPM_SOURCE_DIR/%name.png $RPM_BUILD_ROOT%_datadir/pixmaps/%name.p %endif %changelog -n fontforge +* Tue Feb 06 2007 - mfabian@suse.de +- Bugzilla #242363: uninitialized variable. * Wed Jan 03 2007 - mfabian@suse.de - update to 20061220. - remove fontforge-strncat.patch,