Re: [hackers] [ubase][PATCH] passwd: fix crashes for unencrypted passwords starting with 'x'.

From: Quentin Rameau <quinq_AT_fifth.space>
Date: Tue, 25 Sep 2018 07:03:25 +0200

Hello Mario,

> - if (pw->pw_passwd[0] == 'x')
> + if (pw->pw_passwd[0] == 'x' &&
> + pw->pw_passwd[0] == '\0')

Did you mean “pw->pw_passwd[1] == '\0')”?
Received on Tue Sep 25 2018 - 07:03:25 CEST

This archive was generated by hypermail 2.3.0 : Tue Sep 25 2018 - 07:12:21 CEST