NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/50714: src/usr.sbin/sysinst/savenewlabel.c:136]: (error) Memory leak: f_name
>Number: 50714
>Category: bin
>Synopsis: src/usr.sbin/sysinst/savenewlabel.c:136]: (error) Memory leak: f_name
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jan 26 09:25:00 +0000 2016
>Originator: David Binderman
>Release: cvs dated 20160125
>Organization:
>Environment:
>Description:
Source code is
run_program(0, "sh -c 'cat /tmp/disktab.* >/tmp/disktab'");
return(0);
}
but
char *f_name = malloc(STRSIZE * sizeof(char));
>How-To-Repeat:
>Fix:
Home |
Main Index |
Thread Index |
Old Index