Baptiste Daroussin 156ebc2878 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@cs.tu-berlin.de
MFC after:	1 week
2014-10-28 14:54:04 +00:00
..
2014-10-02 19:11:18 +00:00
2014-07-29 19:49:27 +00:00
2014-07-07 00:27:09 +00:00
2014-07-17 06:57:26 +00:00
2014-07-29 19:49:27 +00:00
2014-09-28 11:32:46 +00:00
2014-10-22 09:17:17 +00:00
2014-07-07 00:27:09 +00:00
2014-09-19 23:38:44 +00:00
2014-07-18 06:48:02 +00:00
2014-10-28 14:11:54 +00:00
2014-10-27 15:50:47 +00:00
2014-10-11 23:24:09 +00:00
2014-10-11 20:46:06 +00:00
2014-09-01 16:12:29 +00:00
2014-09-08 09:16:07 +00:00
2014-10-18 08:07:17 +00:00