bin/171634: Memory leak in /bin/df

Erik Cederstrand erik at cederstrand.dk
Fri Sep 14 08:10:09 UTC 2012


>Number:         171634
>Category:       bin
>Synopsis:       Memory leak in /bin/df
>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:   Fri Sep 14 08:10:08 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Erik Cederstrand
>Release:        HEAD
>Organization:
>Environment:
>Description:
There seems to be a memory leak in /bin/df. See report on http://scan.freebsd.your.org/freebsd-head/bin.df/2012-09-12-amd64/report-WwB2qk.html#EndPath


>How-To-Repeat:

>Fix:
It seems

  free(mntbuf);

should be added on line 292.

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list