NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/51808: [PATCH] tests/lib/libc/gen/t_dir: fix various coverity issues



>Number:         51808
>Category:       bin
>Synopsis:       [PATCH] tests/lib/libc/gen/t_dir: fix various coverity issues
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 10 09:20:00 +0000 2017
>Originator:     Ngie Cooper
>Release:        7.0.2
>Organization:
>Environment:
n/a
>Description:
Fix various coverity issues:

- Don't leak memory.
- Check results of creat(2), mkdir(2), and telldir(3).

While here, sort #includes.
>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index