mirror of
https://github.com/systemd/systemd.git
synced 2024-10-28 03:25:31 +03:00
parent
927cffd57f
commit
113a51d221
@ -148,7 +148,7 @@ int suggest_passwords(void) {
|
||||
|
||||
pwquality_maybe_disable_dictionary(pwq);
|
||||
|
||||
suggestions = new0(char*, N_SUGGESTIONS);
|
||||
suggestions = new0(char*, N_SUGGESTIONS+1);
|
||||
if (!suggestions)
|
||||
return log_oom();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user