[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/kdebase/devel kdebase-3.4.1-buffer.patch, NONE, 1.1 kdebase.spec, 1.114, 1.115



Author: than

Update of /cvs/dist/rpms/kdebase/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv20722

Modified Files:
	kdebase.spec 
Added Files:
	kdebase-3.4.1-buffer.patch 
Log Message:
apply patch to fix genkdmconfig crash #161751


kdebase-3.4.1-buffer.patch:
 genkdmconf.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

--- NEW FILE kdebase-3.4.1-buffer.patch ---
--- kdebase-3.4.1/kdm/kfrontend/genkdmconf.c.tn	2005-06-27 13:30:11.000000000 +0200
+++ kdebase-3.4.1/kdm/kfrontend/genkdmconf.c	2005-06-27 13:52:40.000000000 +0200
@@ -2560,7 +2560,7 @@
 	int i, ap, newer, locals, foreigns;
 	int no_old_xdm = 0, no_old_kde = 0;
 	struct stat st;
-	char nname[80];
+	char *nname;
 
 	for (ap = 1; ap < argc; ap++) {
 		if (!strcmp( argv[ap], "--help" )) {
@@ -2801,7 +2801,7 @@
 	wrconf( f );
 	fclose( f );
 
-	sprintf( nname, "%s/README", newdir );
+	ASPrintf( &nname, "%s/README", newdir );
 	f = Create( nname, 0644 );
 	fprintf( f,
 "This automatically generated configuration consists of the following files:\n" );


Index: kdebase.spec
===================================================================
RCS file: /cvs/dist/rpms/kdebase/devel/kdebase.spec,v
retrieving revision 1.114
retrieving revision 1.115
diff -u -r1.114 -r1.115
--- kdebase.spec	27 Jun 2005 10:21:51 -0000	1.114
+++ kdebase.spec	27 Jun 2005 12:21:02 -0000	1.115
@@ -20,7 +20,7 @@
 Summary: K Desktop Environment - core files
 Name: kdebase
 Version: 3.4.1
-Release: 2
+Release: 3
 Epoch: 6
 Url: http://www.kde.org
 Group: User Interface/Desktops
@@ -61,6 +61,7 @@
 Patch92: kdebase-3.4.0-xdg.patch
 Patch93: kdebase-3.4.1-pam.patch
 Patch94: kdebase-3.4.1-gcc4.patch
+Patch95: kdebase-3.4.1-buffer.patch
 
 # gcc 4 workaround
 patch200: admin-visibility.patch
@@ -153,6 +154,7 @@
 %patch92 -p1 -b .xdg
 %patch93 -p1 -b .loginuid
 %patch94 -p1 -b .gcc4
+%patch95 -p1 -b .buffer
 
 # gcc 4 workaround
 %patch200 -p1 -b .gcc4
@@ -438,6 +440,9 @@
 %{_includedir}/kde/ksplash/*
 
 %changelog
+* Mon Jun 27 2005 Than Ngo <than redhat com> 3.4.1-3
+- apply patch to fix genkdmconfig crash #161751
+
 * Mon Jun 27 2005 Than Ngo <than redhat com> 3.4.1-2
 - fix gcc4 build problem
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]