rpms/xwota/F-11 xwota-0.4-overflow.patch, NONE, 1.1 xwota.spec, 1.2, 1.3

Lucian Langa lucilanga at fedoraproject.org
Mon Aug 3 18:16:00 UTC 2009


Author: lucilanga

Update of /cvs/pkgs/rpms/xwota/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19474

Modified Files:
	xwota.spec 
Added Files:
	xwota-0.4-overflow.patch 
Log Message:
* Mon Aug 03 2009 Lucian Langa <cooly at gnome.eu.org> - 0.4-7
- fix buffer overflow (#510918)

xwota-0.4-overflow.patch:
 stuff.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE xwota-0.4-overflow.patch ---
--- xwota-0.4/src/stuff.c	2006-07-28 19:00:10.000000000 +0300
+++ xwota-0.4-mod/src/stuff.c	2009-08-03 21:01:00.000000000 +0300
@@ -330,7 +330,7 @@
 	  GtkTreePath *path;
 	  GtkWidget *spot_list;
 	
-char eor[5];
+char eor[6];
 char *p_eor;	  
 gchar *call,*freq,*country,*state,*grid,*county,*lat,*longitude,*status,*comments,*program,*f1,*f2,*d_ate,*t_ime; 
 char datetime[50],latlong[50],status_comment[30],display_country[50];


Index: xwota.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xwota/F-11/xwota.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- xwota.spec	26 Feb 2009 12:17:24 -0000	1.2
+++ xwota.spec	3 Aug 2009 18:15:59 -0000	1.3
@@ -1,6 +1,6 @@
 Name:           xwota
 Version:        0.4
-Release:        6%{?dist}
+Release:        7%{?dist}
 Summary:        Who's On the Air Database interface
 
 Group:          Applications/Communications
@@ -9,6 +9,7 @@ URL:            http://people.fabaris.it
 Source0:        http://people.fabaris.it/iz0ete/%{name}/%{name}-%{version}.tar.gz
 Source1:        xwota.desktop
 Source2:        xwota.png
+Patch0:		xwota-0.4-overflow.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  pkgconfig
@@ -32,6 +33,7 @@ http://www.wotadb.org.
 
 %prep
 %setup -q
+%patch0 -p1 -b .overflow
 
 
 %build
@@ -64,6 +66,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Mon Aug 03 2009 Lucian Langa <cooly at gnome.eu.org> - 0.4-7
+- fix buffer overflow (#510918)
+
 * Thu Feb 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.4-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list