Subject: Re: bin/34740: usr.sbin/user/user.c:asystem hides bugs
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org, rillig@NetBSD.org>
From: Elad Efrat <elad@NetBSD.org>
List: netbsd-bugs
Date: 10/07/2006 15:25:05
The following reply was made to PR bin/34740; it has been noted by GNATS.
From: Elad Efrat <elad@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: netbsd-bugs@netbsd.org
Subject: Re: bin/34740: usr.sbin/user/user.c:asystem hides bugs
Date: Sat, 07 Oct 2006 17:20:52 +0200
rillig@NetBSD.org wrote:
> The asystem() function does not handle directories containing
> white-space. It also does not have error checking to prevent the command
> from being truncated.
>
>> How-To-Repeat:
> useradd -d "/home/Roland Illig" roland
>
>> Fix:
>
> Integrate sysfmt(3) into user.c, which is available from
>
> http://www.schlechte-software.de/sysfmt/
And why can't you just commit the code yourself?
-e.
--
Elad Efrat