ports/67111: port news/leafnode abort()s due to vsnprintf problems

Jeff King peff-freebsd at peff.net
Mon May 24 05:20:55 UTC 2004


>Number:         67111
>Category:       ports
>Synopsis:       port news/leafnode abort()s due to vsnprintf problems
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 23 22:20:21 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Jeff King
>Release:        
>Organization:
>Environment:
>Description:
In 1.9.54, fetchnews.c, line 1625, there is a call to ln_log() that contains the formatting string "%p". This is eventually passed to vsnprintf. The included version doesn't support %p, and calls abort().
>How-To-Repeat:
      
>Fix:
Replacing the %p with %d fixes the abort() (though gcc complains about the pointer/integer formatting; a better fix might be to avoid printing a pointer that is likely meaningless to the user).
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list