diff options
author | Don Seiler <rizzo@gentoo.org> | 2005-07-29 14:02:31 +0000 |
---|---|---|
committer | Don Seiler <rizzo@gentoo.org> | 2005-07-29 14:02:31 +0000 |
commit | bac8c7567e2fd9ad534d45d885b712bdf92a67be (patch) | |
tree | 429df279e3842fc953d8e92e198db936cd7e030c /net-im/gaim/files | |
parent | unset KDEHOME, KDEROOTHOME in the build env; fixes 96177. (diff) | |
download | gentoo-2-bac8c7567e2fd9ad534d45d885b712bdf92a67be.tar.gz gentoo-2-bac8c7567e2fd9ad534d45d885b712bdf92a67be.tar.bz2 gentoo-2-bac8c7567e2fd9ad534d45d885b712bdf92a67be.zip |
Patch for memory bug in libgadu. Addresses Bug #99881, x86 stable
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'net-im/gaim/files')
-rw-r--r-- | net-im/gaim/files/digest-gaim-1.4.0-r2 (renamed from net-im/gaim/files/digest-gaim-1.4.0-r1) | 0 | ||||
-rw-r--r-- | net-im/gaim/files/gaim-1.4.0-libgg-mem.patch | 16 |
2 files changed, 16 insertions, 0 deletions
diff --git a/net-im/gaim/files/digest-gaim-1.4.0-r1 b/net-im/gaim/files/digest-gaim-1.4.0-r2 index 26b60f0f8a08..26b60f0f8a08 100644 --- a/net-im/gaim/files/digest-gaim-1.4.0-r1 +++ b/net-im/gaim/files/digest-gaim-1.4.0-r2 diff --git a/net-im/gaim/files/gaim-1.4.0-libgg-mem.patch b/net-im/gaim/files/gaim-1.4.0-libgg-mem.patch new file mode 100644 index 000000000000..48887b3262b4 --- /dev/null +++ b/net-im/gaim/files/gaim-1.4.0-libgg-mem.patch @@ -0,0 +1,16 @@ +--- libgg.c.orig 2005-07-19 17:35:24.000000000 +0200 ++++ libgg.c 2005-07-19 17:39:05.000000000 +0200 +@@ -1086,8 +1086,11 @@ + + e->event.status60.descr = buf; + +- if (len > 4 && p[h->length - 5] == 0) +- e->event.status60.time = *((int*) (p + h->length - 4)); ++ if (len > 4 && p[h->length - 5] == 0) { ++ uint32_t t; ++ memcpy(&t, p + h->length - 4, sizeof(uint32_t)); ++ e->event.status60.time = t; ++ } + } + + break; |