summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2010-03-11 20:18:28 +0000
committerFabian Groffen <grobian@gentoo.org>2010-03-11 20:18:28 +0000
commit534f98afc6bfcf5ecc705d072de71a95165a5e1e (patch)
tree50adcd46cefb6f30f2316ef7f31ae82f2c101cc5 /mail-client/mutt/files/mutt-1.5.20-mailbox-save-message-double-free-57124ea5592e.patch
parentfix typo (diff)
downloadgentoo-2-534f98afc6bfcf5ecc705d072de71a95165a5e1e.tar.gz
gentoo-2-534f98afc6bfcf5ecc705d072de71a95165a5e1e.tar.bz2
gentoo-2-534f98afc6bfcf5ecc705d072de71a95165a5e1e.zip
Bump du jour, add another bunch of patches from upstream, they really should make a new release. Convert to EAPI=3, remove WANT_AUTOCONF unsetting.
(Portage version: 2.2.00.15817-prefix/cvs/Darwin powerpc)
Diffstat (limited to 'mail-client/mutt/files/mutt-1.5.20-mailbox-save-message-double-free-57124ea5592e.patch')
-rw-r--r--mail-client/mutt/files/mutt-1.5.20-mailbox-save-message-double-free-57124ea5592e.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/mail-client/mutt/files/mutt-1.5.20-mailbox-save-message-double-free-57124ea5592e.patch b/mail-client/mutt/files/mutt-1.5.20-mailbox-save-message-double-free-57124ea5592e.patch
new file mode 100644
index 000000000000..6f0f2e7d8f8d
--- /dev/null
+++ b/mail-client/mutt/files/mutt-1.5.20-mailbox-save-message-double-free-57124ea5592e.patch
@@ -0,0 +1,22 @@
+
+# HG changeset patch
+# User Brendan Cully <brendan@kublai.com>
+# Date 1266957745 28800
+# Node ID 57124ea5592ee350af277b543bfedf04d3cd0ace
+# Parent f17302c1022979c654170a0ca0f5a4cc8ffd9eb5
+Don't use freed ctx.path when updating utime of target mailbox in save-message.
+Thanks to Sean Boudreau for the bug report.
+
+diff -r f17302c10229 -r 57124ea5592e commands.c
+--- a/commands.c Mon Feb 22 23:01:39 2010 -0800
++++ b/commands.c Tue Feb 23 12:42:25 2010 -0800
+@@ -863,7 +863,7 @@
+ mx_close_mailbox (&ctx, NULL);
+
+ if (need_buffy_cleanup)
+- mutt_buffy_cleanup (ctx.path, &st);
++ mutt_buffy_cleanup (buf, &st);
+
+ mutt_clear_error ();
+ return (0);
+