From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 83F0A40A302 for ; Sat, 7 Jan 2012 04:14:50 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.3 X-Spam-Level: X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BfzX3eb9oC9w for ; Sat, 7 Jan 2012 04:14:49 -0800 (PST) Received: from tempo.its.unb.ca (tempo.its.unb.ca [131.202.1.21]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id C901C40A300 for ; Sat, 7 Jan 2012 04:14:49 -0800 (PST) Received: from zancas.localnet (fctnnbsc36w-156034072155.pppoe-dynamic.High-Speed.nb.bellaliant.net [156.34.72.155]) (authenticated bits=0) by tempo.its.unb.ca (8.13.8/8.13.8) with ESMTP id q07CElpD023177 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Sat, 7 Jan 2012 08:14:47 -0400 Received: from bremner by zancas.localnet with local (Exim 4.77) (envelope-from ) id 1RjVAc-0004ZL-RF; Sat, 07 Jan 2012 08:14:46 -0400 From: David Bremner To: Jani Nikula Subject: Re: [PATCH 1/4] cli: fix use of uninitialized variable in "notmuch reply" In-Reply-To: References: <974a2ef1f1df7d93e0b5bd642ca8a49f8b727a86.1325794371.git.jani@nikula.org> <87sjjsjhjk.fsf@zancas.localnet> User-Agent: Notmuch/0.10.2+167~g5f51512 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu) Date: Sat, 07 Jan 2012 08:14:46 -0400 Message-ID: <87hb07k8uh.fsf@zancas.localnet> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: notmuch@notmuchmail.org X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jan 2012 12:14:50 -0000 On Sat, 7 Jan 2012 09:31:35 +0200, Jani Nikula wrote: > On Jan 7, 2012 5:52 AM, "David Bremner" wrote: > > > > On Thu, 5 Jan 2012 22:25:12 +0200, Jani Nikula wrote: > > > notmuch_show_params_t params is only initialized partially in > > > notmuch_reply_command(). The only field that is used uninitialized is > > > params.decrypt. It is usually non-zero, making "notmuch reply" on > encrypted > > > messages work by coincidence. > > > > Hi Jani; > > > > I get one test failure with this patch on current master: > > Can't investigate right now, but did you try with just patch 1/4? (I really > should have separated the bug fix from the rest.) > > J. > Hi Jani; I _thought_ I was applying just that one patch, but I can't duplicate the error now, so I might have messed up using dme's new "patch application wizard". So, nevermind, sorry for the noise. d