From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Z5UVh-0000r1-84 for barebox@lists.infradead.org; Thu, 18 Jun 2015 07:45:17 +0000 Date: Thu, 18 Jun 2015 09:44:53 +0200 From: Sascha Hauer Message-ID: <20150618074453.GS6325@pengutronix.de> References: <1434546173-18283-1-git-send-email-h.feurstein@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1434546173-18283-1-git-send-email-h.feurstein@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH] login: fix broken login command To: Hubert Feurstein Cc: barebox@lists.infradead.org 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 > --- > 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 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox