soup-cache.c: Replaced the type of some SoupCacheEntry fields.
authorSergio Villar Senin <svillar@igalia.com>
Fri, 24 Jun 2011 16:00:10 +0000 (18:00 +0200)
committerSergio Villar Senin <svillar@igalia.com>
Fri, 24 Jun 2011 16:02:46 +0000 (18:02 +0200)
commit26c53ff8015368e2eb29316bd5736c1423171544
treec1bd7ea89e805c6ac6eb6d9f6b5c61481925d84e
parent84486ca56799d50fea090cda96622444a2722a9b
soup-cache.c: Replaced the type of some SoupCacheEntry fields.

GVariant format string specifies not only the type but the size of the
numeric values it stores. We were using "u" to store the values of time_t
variables that are not guaranteed to be 32 bit. We were also reading values
stored with "u" using unitialized time_t variables.

https://bugzilla.gnome.org/show_bug.cgi?id=653349
libsoup/soup-cache.c