rpms/lighttpd/F-8 lighttpd-mod_geoip.c, 1.1, 1.2 lighttpd.spec, 1.39, 1.40

Matthias Saou (thias) fedora-extras-commits at redhat.com
Wed Oct 31 11:39:58 UTC 2007


Author: thias

Update of /cvs/extras/rpms/lighttpd/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14714/F-8

Modified Files:
	lighttpd-mod_geoip.c lighttpd.spec 
Log Message:
Update mod_geoip source to fix segfault upon stopping lighttpd.



Index: lighttpd-mod_geoip.c
===================================================================
RCS file: /cvs/extras/rpms/lighttpd/F-8/lighttpd-mod_geoip.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- lighttpd-mod_geoip.c	22 Oct 2007 13:51:52 -0000	1.1
+++ lighttpd-mod_geoip.c	31 Oct 2007 11:39:23 -0000	1.2
@@ -83,7 +83,7 @@
 	return p;
 }
 
-/* detroy the plugin data */
+/* destroy the plugin data */
 FREE_FUNC(mod_geoip_free) {
 	plugin_data *p = p_d;
 	
@@ -102,7 +102,7 @@
 			buffer_free(s->db_name);
 			
 			/* clean up */
-			GeoIP_delete(s->gi);
+			if (s->gi) GeoIP_delete(s->gi);
 
 			free(s);
 		}


Index: lighttpd.spec
===================================================================
RCS file: /cvs/extras/rpms/lighttpd/F-8/lighttpd.spec,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- lighttpd.spec	22 Oct 2007 13:51:52 -0000	1.39
+++ lighttpd.spec	31 Oct 2007 11:39:23 -0000	1.40
@@ -3,7 +3,7 @@
 Summary: Lightning fast webserver with light system requirements
 Name: lighttpd
 Version: 1.4.18
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: BSD
 Group: System Environment/Daemons
 URL: http://www.lighttpd.net/
@@ -210,6 +210,9 @@
 
 
 %changelog
+* Wed Oct 31 2007 Matthias Saou <http://freshrpms.net/> 1.4.18-3
+- Update mod_geoip source to fix segfault upon stopping lighttpd.
+
 * Mon Oct 22 2007 Matthias Saou <http://freshrpms.net/> 1.4.18-2
 - Include mod_geoip additional source, make it an optional sub-package.
 - Reorder sub-packages alphabetically in spec file.




More information about the fedora-extras-commits mailing list