svn commit: r273782 - in head/usr.sbin/pw: . tests
bapt@FreeBSD.org >> Baptiste Daroussin
bapt at freebsd.org
Tue Oct 28 15:52:22 UTC 2014
On Tue, Oct 28, 2014 at 11:35:54AM -0400, Adam McDougall wrote:
> On 10/28/2014 10:54, Baptiste Daroussin wrote:
> > Author: bapt
> > Date: Tue Oct 28 14:54:04 2014
> > New Revision: 273782
> > URL: https://svnweb.freebsd.org/changeset/base/273782
> >
> > Log:
> > Do not delete the group wheel when bad argument is passed to pw groupdel -g
> >
> > Check that the -g argument is actually a number, if not report an error.
> > This argument is converted without checking with atoi(3) later so without this
> > check it converts any alpha entries into 0 meaning it deletes the group wheel
> >
> > Add a regression test about it
> >
> > PR: 90114
> > Reported by: bkoenig at cs.tu-berlin.de
> > MFC after: 1 week
> >
> > Modified:
> > head/usr.sbin/pw/pw_group.c
> > head/usr.sbin/pw/tests/pw_delete.sh
>
> Would you mind looking at this related pw bug with patch? Thanks.
>
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=187189
I will yes
regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20141028/4cb36557/attachment.sig>
More information about the svn-src-all
mailing list