This commit is contained in:
Sergey Poznyakoff 2022-05-09 11:05:08 +03:00
parent d5165ae303
commit b4fb52526e

View file

@ -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;
}