bin/172914: mail(1): SEGV with bad globbed file argument

Steffen Daode Nurpmeso sdaoden at gmail.com
Sat Oct 20 21:20:01 UTC 2012


>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:


More information about the freebsd-bugs mailing list