NetBSD-Bugs archive

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

bin/51867: [PATCH] tests/lib/libc/sys/t_msync: various fixes in msync_sync(..)



>Number:         51867
>Category:       bin
>Synopsis:       [PATCH] tests/lib/libc/sys/t_msync: various fixes in msync_sync(..)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 14 01:55:00 +0000 2017
>Originator:     Ngie Cooper
>Release:        7.0.2
>Organization:
>Environment:
n/a
>Description:
The attached patch...
- ... fixes a leak (buf) if open fails.
- ... replaces for-loop setting values with memset use.
- ... writes a series `tot` 'x''s instead of just one 'x' in a loop `tot` times.
>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index