diff options
author | 2005-07-29 14:02:31 +0000 | |
---|---|---|
committer | 2005-07-29 14:02:31 +0000 | |
commit | d2340ddf25ccd0e2ef0fa0f990d224dc579dd10b (patch) | |
tree | ee64222541dc1f1ebdd63535d7c25c2818393673 /net-im/gaim/files | |
parent | unset KDEHOME, KDEROOTHOME in the build env; fixes 96177. (diff) | |
download | historical-d2340ddf25ccd0e2ef0fa0f990d224dc579dd10b.tar.gz historical-d2340ddf25ccd0e2ef0fa0f990d224dc579dd10b.tar.bz2 historical-d2340ddf25ccd0e2ef0fa0f990d224dc579dd10b.zip |
Patch for memory bug in libgadu. Addresses Bug #99881, x86 stable
Package-Manager: portage-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; |