[PATCH] login: fix broken login command

Sascha Hauer s.hauer at pengutronix.de
Thu Jun 18 00:44:53 PDT 2015


On Wed, Jun 17, 2015 at 03:02:53PM +0200, Hubert Feurstein wrote:
> It was possible to login with ctrl-c or an empty password. This bug was
> introduced by the recent digest changes in common/password.c (e49a47fb).
> The function check_passwd returns now also negative error codes which were
> not correctly handled in do_login.
> 
> Signed-off-by: Hubert Feurstein <h.feurstein at gmail.com>
> ---
>  commands/login.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list