From owner-freebsd-bugs@FreeBSD.ORG Sat Oct 20 21:20:01 2012 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 505A0261 for ; Sat, 20 Oct 2012 21:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.FreeBSD.org [8.8.178.135]) by mx1.freebsd.org (Postfix) with ESMTP id 269BE8FC0C for ; Sat, 20 Oct 2012 21:20:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q9KLK1DI029593 for ; Sat, 20 Oct 2012 21:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q9KLK1Fw029592; Sat, 20 Oct 2012 21:20:01 GMT (envelope-from gnats) Resent-Date: Sat, 20 Oct 2012 21:20:01 GMT Resent-Message-Id: <201210202120.q9KLK1Fw029592@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Steffen "Daode" Nurpmeso Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E1758238 for ; Sat, 20 Oct 2012 21:17:45 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id AFE728FC1B for ; Sat, 20 Oct 2012 21:17:45 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id q9KLHjqi073262 for ; Sat, 20 Oct 2012 21:17:45 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id q9KLHj2E073250; Sat, 20 Oct 2012 21:17:45 GMT (envelope-from nobody) Message-Id: <201210202117.q9KLHj2E073250@red.freebsd.org> Date: Sat, 20 Oct 2012 21:17:45 GMT From: Steffen "Daode" Nurpmeso To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: bin/172914: mail(1): SEGV with bad globbed file argument X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Oct 2012 21:20:01 -0000 >Number: 172914 >Category: bin >Synopsis: mail(1): SEGV with bad globbed file argument >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Oct 20 21:20:00 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Steffen "Daode" Nurpmeso >Release: 9.0-Release (shouldn't matter) >Organization: >Environment: >Description: outof() (should be in names.c?): expand() may return NULL, but that isn't checked - SEGV. >How-To-Repeat: echo au | mail -s boom '"./bautz' >Fix: Check expand() return for NULL. Or use S-nail(1), that's even better. >Release-Note: >Audit-Trail: >Unformatted: