mirror of
git://git.gnu.org.ua/pam-modules.git
synced 2025-04-27 00:49:53 +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->lnc;
|
||||||
pkb->lnm = pkb->lnc + 1;
|
pkb->lnm = pkb->lnc + 1;
|
||||||
pkb->lnv = calloc(pkb->lnm, sizeof(pkb->lnv[0]));
|
pkb->lnv = calloc(pkb->lnm, sizeof(pkb->lnv[0]));
|
||||||
if (pkb->lnv) {
|
if (!pkb->lnv) {
|
||||||
errno_to_pam(errno);
|
errno_to_pam(errno);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue