NetBSD-Bugs archive

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

Re: bin/38201: Potential lack of null termination when copying a string

On Sat, Mar 08, 2008 at 07:55:01PM +0000, wrote:
 > [who/utmpentry.c]
 > In two places, the wrong object is null-terminated after a
 > strncpy(), resulting in a potential lack of null termination.

Good catch... but it turns out that those null terminations are
neither necessary nor useful. I will clean up the mess...

David A. Holland

Home | Main Index | Thread Index | Old Index