packages: lighttpd/etag-32bit-overflow.patch (NEW) - from stbuehler

glen glen at pld-linux.org
Mon May 24 22:18:21 CEST 2010


Author: glen                         Date: Mon May 24 20:18:21 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- from stbuehler

---- Files affected:
packages/lighttpd:
   etag-32bit-overflow.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/lighttpd/etag-32bit-overflow.patch
diff -u /dev/null packages/lighttpd/etag-32bit-overflow.patch:1.1
--- /dev/null	Mon May 24 22:18:21 2010
+++ packages/lighttpd/etag-32bit-overflow.patch	Mon May 24 22:18:16 2010
@@ -0,0 +1,13 @@
+diff --git a/src/etag.c b/src/etag.c
+index 9ff585f..e7e9e3f 100644
+--- a/src/etag.c
++++ b/src/etag.c
+@@ -44,7 +44,7 @@ int etag_mutate(buffer *mut, buffer *etag) {
+ 
+ 	buffer_reset(mut);
+ 	buffer_copy_string_len(mut, CONST_STR_LEN("\""));
+-	buffer_append_long(mut, h);
++	buffer_append_off_t(mut, h);
+ 	buffer_append_string_len(mut, CONST_STR_LEN("\""));
+ 
+ 	return 0;
================================================================


More information about the pld-cvs-commit mailing list