From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1ONMoE-0003mz-Ky for garchives@archives.gentoo.org; Sat, 12 Jun 2010 09:15:22 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8AF37E0882; Sat, 12 Jun 2010 09:15:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 6CE15E0882 for ; Sat, 12 Jun 2010 09:15:18 +0000 (UTC) Received: from corvid.gentoo.org (corvid.gentoo.org [208.92.234.79]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 05F941B41F2 for ; Sat, 12 Jun 2010 09:15:18 +0000 (UTC) Received: by corvid.gentoo.org (Postfix, from userid 984) id 9634C2C3ED; Sat, 12 Jun 2010 09:15:16 +0000 (UTC) From: "Fabian Groffen (grobian)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, grobian@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in mail-client/mutt/files: mutt-1.5.20-crash-on-invalid-limit-pattern.patch X-VCS-Repository: gentoo-x86 X-VCS-Files: mutt-1.5.20-crash-on-invalid-limit-pattern.patch X-VCS-Directories: mail-client/mutt/files X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen Content-Type: text/plain; charset=utf8 Message-Id: <20100612091516.9634C2C3ED@corvid.gentoo.org> Date: Sat, 12 Jun 2010 09:15:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 87c28c73-2f36-4960-8479-ede9790a2811 X-Archives-Hash: a18249d80b237fe1749ecab06694f2bf grobian 10/06/12 09:15:16 Added: mutt-1.5.20-crash-on-invalid-limit-pattern.patch Log: Add patch for bug #323613, needs to be taken upstream, works for me to = resolve the crash. (Portage version: 2.2.00.15842-prefix/cvs/Darwin powerpc) Revision Changes Path 1.1 mail-client/mutt/files/mutt-1.5.20-crash-on-invalid-= limit-pattern.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/mutt/f= iles/mutt-1.5.20-crash-on-invalid-limit-pattern.patch?rev=3D1.1&view=3Dma= rkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/mutt/f= iles/mutt-1.5.20-crash-on-invalid-limit-pattern.patch?rev=3D1.1&content-t= ype=3Dtext/plain Index: mutt-1.5.20-crash-on-invalid-limit-pattern.patch =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D http://bugs.gentoo.org/show_bug.cgi?id=3D323613 --- pattern.c +++ pattern.c @@ -1310,6 +1310,7 @@ simple =3D safe_strdup (buf); mutt_check_simple (buf, sizeof (buf), NONULL (SimpleSearch)); =20 + memset(&err, 0, sizeof(err)); err.data =3D error; err.dsize =3D sizeof (error); if ((pat =3D mutt_pattern_comp (buf, M_FULL_MSG, &err)) =3D=3D NULL)