Commit 9ed2a53fd3d59f8537e2f7ddd17b5c3db8ce88c2

Authored by Benjamin Renard
1 parent 8f39229a
Exists in master

Fix bug

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
src/DDADMIN/TOOLS/DDadmin.c
... ... @@ -539,6 +539,7 @@ int ModifyUser(t_Request request, t_UserFileInfo *fileInfo, int check)
539 539 if (check)
540 540 {
541 541 char pwd_hash[PWD_HASHED_LEN+1];
  542 + memset(pwd_hash,0,(PWD_HASHED_LEN+1)*sizeof(char));
542 543 if (!GetPwdFromIndex(index,fileInfo,pwd_hash))
543 544 {
544 545 printf("Error to get user password\n");
... ...