fsutils/passwd: fix out of bounds array access during password encryption

Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
Petro Karashchenko
2022-03-28 13:13:53 +02:00
committed by Xiang Xiao
parent 2831af6395
commit d868387148
2 changed files with 11 additions and 11 deletions

View File

@@ -80,7 +80,7 @@ int cmd_userdel(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv)
#endif /* !CONFIG_NSH_DISABLE_USERDEL */
/****************************************************************************
* Name: cmd_useradd
* Name: cmd_passwd
****************************************************************************/
#ifndef CONFIG_NSH_DISABLE_PASSWD