rpms/efax/devel efax-0.9a-001114-crash.patch, NONE, 1.1 efax.spec, 1.26, 1.27

Than Ngo than at fedoraproject.org
Mon Sep 7 14:00:32 UTC 2009


Author: than

Update of /cvs/extras/rpms/efax/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv4937

Modified Files:
	efax.spec 
Added Files:
	efax-0.9a-001114-crash.patch 
Log Message:
* fix a crash in efix



efax-0.9a-001114-crash.patch:
 efix.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

--- NEW FILE efax-0.9a-001114-crash.patch ---
diff -up efax-0.9a-001114/efix.c.orig efax-0.9a-001114/efix.c
--- efax-0.9a-001114/efix.c.orig	2009-09-07 15:55:23.000000000 +0200
+++ efax-0.9a-001114/efix.c	2009-09-07 15:56:34.000000000 +0200
@@ -235,7 +235,8 @@ int main( int argc, char **argv)
   float				/* values used: */
     xres = 0, yres = 0, xsz = 0, ysz = 0 ;
 
-  IFILE ifile, ovfile ;
+  IFILE ifile = { 0 };
+  IFILE ovfile = { 0 };
   OFILE ofile ;
 
   char **ifnames,  *ovfnames [ 2 ] = { 0, 0 } ;


Index: efax.spec
===================================================================
RCS file: /cvs/extras/rpms/efax/devel/efax.spec,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -p -r1.26 -r1.27
--- efax.spec	24 Jul 2009 21:03:59 -0000	1.26
+++ efax.spec	7 Sep 2009 14:00:31 -0000	1.27
@@ -1,7 +1,7 @@
 Summary: A program for faxing using a Class 1, 2 or 2.0 fax modem.
 Name: efax
 Version: 0.9a
-Release: 5.001114%{?dist}
+Release: 6.001114%{?dist}
 License: GPLv2+
 Group: Applications/Communications
 Url: http://www.cce.com/efax/
@@ -15,6 +15,7 @@ Patch6: efax-0.9-misc.patch
 Patch7: efax-0.9-viewcmd.patch
 Patch8: efax-0.9-quote.patch
 Patch9: efax-0.9-msg-va_list.patch
+Patch10: efax-0.9a-001114-crash.patch
 
 ExcludeArch: s390 s390x
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -40,6 +41,7 @@ Class 1, 2 or 2.0 fax modem.
 %patch7 -p1 -b .viewcmd
 %patch8 -p1 -b .quote
 %patch9 -p1 -b .msg-va_list
+%patch10 -p1 -b .crash
 
 %build
 make RPM_OPT_FLAGS="-ansi $RPM_OPT_FLAGS"
@@ -65,6 +67,9 @@ rm -rf %{buildroot}
 %dir %{_localstatedir}/log/fax
 
 %changelog
+* Mon Sep 07 2009 Than Ngo <than at redhat.com> - 0.9a-6.001114
+- fix a crash in efix
+
 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.9a-5.001114
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list