adduser: fix a bug of getpwnam() overwriting shell name, closes 8586
authorDenys Vlasenko <vda.linux@googlemail.com>
Sat, 12 Jan 2019 10:51:58 +0000 (11:51 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sat, 12 Jan 2019 10:51:58 +0000 (11:51 +0100)
commitb67d900395a847e29f2afa81198f783004c80fc5
tree49dbcb6ad199eaa5f61816fd11fca59627581acf
parent3109d1f9659ffad76f3cf2c547cc425ed34ae96c
adduser: fix a bug of getpwnam() overwriting shell name, closes 8586

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
loginutils/adduser.c