From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Zimmerman Subject: Re: [PATCH] opensmtpd: Fix crash during authentication Date: Tue, 12 Jun 2018 11:59:21 -0700 Message-ID: <5718fe6b-89af-9a5a-8c90-1ff7e9a7bc53@digitalpirate.ca> References: <8736xs8jvx.fsf@lassieur.org> <87tvq77v8s.fsf@lassieur.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33081) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSoVr-0003im-NN for guix-devel@gnu.org; Tue, 12 Jun 2018 14:59:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fSoVo-0005VQ-KH for guix-devel@gnu.org; Tue, 12 Jun 2018 14:59:27 -0400 Received: from dusk.digitalpirate.ca ([104.37.196.77]:60894) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fSoVo-0005Tf-Am for guix-devel@gnu.org; Tue, 12 Jun 2018 14:59:24 -0400 In-Reply-To: <87tvq77v8s.fsf@lassieur.org> Content-Language: en-GB List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: =?UTF-8?Q?Cl=c3=a9ment_Lassieur?= Cc: guix-devel@gnu.org On 2018-06-12 10:46 AM, Clément Lassieur wrote: > Clément Lassieur writes: > >> Hi Adam, >> >> Adam Zimmerman writes: >> >>> Hi all, >>> >>> I'm running a mail server that I recently migrated to GuixSD, and I >>> found this issue when trying to get opensmtpd set up. >>> >>> When using authentication from a table, opensmtpd would crash whenever I >>> tried to authenticate. I found this patch which fixes the issue. It's >>> already been merged into the opensmtpd master branch[1], and will be >>> fixed in the next release which apparently will be around >>> October/November this year. >>> >>> [1] https://github.com/OpenSMTPD/OpenSMTPD/pull/835 > > This person [1] says that it can only be reproduced if linking with -pie > / configuring with --with-pie. It doesn't seem to me our case. > > [1] https://github.com/OpenSMTPD/OpenSMTPD/issues/833#issuecomment-367368007 > Very strange, since I only became aware of the issue after running into it on GuixSD (I was using Ubuntu/Postfix before). And applying the patch definitely fixed the problem for me. So weird...