[libsoup] soup-message-io.c: Fix integer overflow on 32bit
- From: Dan Winship <danw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup] soup-message-io.c: Fix integer overflow on 32bit
- Date: Wed, 29 Jun 2011 16:17:51 +0000 (UTC)
commit d0388e6efac759ae13a7812ae1114c056fafe1e8
Author: Jens Georg <mail jensge org>
Date: Sat Jun 25 12:54:44 2011 +0200
soup-message-io.c: Fix integer overflow on 32bit
Fixes a bug serving large files, eg, in Rygel.
https://bugzilla.gnome.org/show_bug.cgi?id=638468
libsoup/soup-message-io.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libsoup/soup-message-io.c b/libsoup/soup-message-io.c
index c7da2c8..f9acc8f 100644
--- a/libsoup/soup-message-io.c
+++ b/libsoup/soup-message-io.c
@@ -64,7 +64,7 @@ typedef struct {
GString *write_buf;
SoupMessageBody *write_body;
SoupBuffer *write_chunk;
- gsize write_body_offset;
+ goffset write_body_offset;
goffset write_length;
goffset written;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]