mirror of
git://git.gnu.org.ua/pam-modules.git
synced 2025-04-26 00:19:52 +03:00
Bugfix
This commit is contained in:
parent
d5165ae303
commit
b4fb52526e
1 changed files with 1 additions and 1 deletions
|
@ -1333,7 +1333,7 @@ pubkeyfile_read(struct pubkeyfile *pkb)
|
|||
++pkb->lnc;
|
||||
pkb->lnm = pkb->lnc + 1;
|
||||
pkb->lnv = calloc(pkb->lnm, sizeof(pkb->lnv[0]));
|
||||
if (pkb->lnv) {
|
||||
if (!pkb->lnv) {
|
||||
errno_to_pam(errno);
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue