From owner-freebsd-hackers@FreeBSD.ORG Mon Jan 19 05:53:22 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9711716A4CE for ; Mon, 19 Jan 2004 05:53:22 -0800 (PST) Received: from mail.rdstm.ro (mail.rdstm.ro [193.231.233.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E24A43D2F for ; Mon, 19 Jan 2004 05:53:20 -0800 (PST) (envelope-from aanton@reversedhell.net) Received: from reversedhell.net (casa_auto [81.196.32.25]) by mail.rdstm.ro (8.12.10/8.12.1) with ESMTP id i0JDrIJU007291 for ; Mon, 19 Jan 2004 15:53:19 +0200 Message-ID: <400BE178.1040302@reversedhell.net> Date: Mon, 19 Jan 2004 15:54:00 +0200 From: Anton Alin-Adrian User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6b) Gecko/20031212 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: <400BD0CE.6050609@reversedhell.net> <010e01c3de91$e6daa9a0$0401a8c0@phantasm205> In-Reply-To: <010e01c3de91$e6daa9a0$0401a8c0@phantasm205> Content-Type: multipart/mixed; boundary="------------020506030407000302030809" Subject: Re: qmail remote root patch X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jan 2004 13:53:22 -0000 This is a multi-part message in MIME format. --------------020506030407000302030809 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit This is the patch I am currently using, for qmail-smtpd.c . I don't dare to touch RFC because I did not carefully read qmail sources and I am not aware of details/impact. I think this patch is good enough to simply remove the vulnerability. I now looked more thoroughly at the code and ask other's opinions. I think this is really ok patch.. Regards, Alin. --------------020506030407000302030809 Content-Type: text/plain; name="qmail103p1.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="qmail103p1.patch" 318a319 > ++pos; 320d320 < ++pos; --------------020506030407000302030809--