Only assume a numeric group id if the ENTIRE string is numeric.
authorMatthew Dillon <dillon@dragonflybsd.org>
Sat, 25 Sep 2004 20:38:21 +0000 (20:38 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sat, 25 Sep 2004 20:38:21 +0000 (20:38 +0000)
commit013a890e586554d4acb234a65572ef99fee011af
tree306f86d861c3200aaa200b894da3648feb4e27c3
parentfade9ce3b2600d73c9a54aa10d0baaf6eccebade
Only assume a numeric group id if the ENTIRE string is numeric.

Reported-by: "Martin P. Hellwig" <mhellwig@xs4all.nl>
usr.sbin/pw/pw_group.c