projects
/
platform
/
upstream
/
libsoup.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdab6aa
)
soup-message-io.c: Fix integer overflow on 32bit
author
Jens Georg
<mail@jensge.org>
Sat, 25 Jun 2011 10:54:44 +0000
(12:54 +0200)
committer
Dan Winship
<danw@gnome.org>
Wed, 29 Jun 2011 16:17:43 +0000
(12:17 -0400)
Fixes a bug serving large files, eg, in Rygel.
https://bugzilla.gnome.org/show_bug.cgi?id=638468
libsoup/soup-message-io.c
patch
|
blob
|
history
diff --git
a/libsoup/soup-message-io.c
b/libsoup/soup-message-io.c
index
c7da2c8
..
f9acc8f
100644
(file)
--- 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;
- g
size
write_body_offset;
+ g
offset
write_body_offset;
goffset write_length;
goffset written;