From 5e4b4b319b6904eeecfd9d3c0be14b89c1c4598a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Mon, 24 May 2010 20:18:16 +0000 Subject: [PATCH] - from stbuehler Changed files: etag-32bit-overflow.patch -> 1.1 --- etag-32bit-overflow.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 etag-32bit-overflow.patch diff --git a/etag-32bit-overflow.patch b/etag-32bit-overflow.patch new file mode 100644 index 0000000..7755b56 --- /dev/null +++ b/etag-32bit-overflow.patch @@ -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; -- 2.44.0