Skip to content

Commit 0afd9f8

Browse files
authored
Merge pull request #10127 from rlm2002/coverity
Coverity change 03042026
2 parents 4924402 + 8df8e4a commit 0afd9f8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/x509.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13209,7 +13209,7 @@ static WOLFSSL_X509 *loadX509orX509REQFromPemBio(WOLFSSL_BIO *bp,
1320913209
pem = newPem;
1321013210
pemSz = newSz;
1321113211
}
13212-
else if (i > pemSz) {
13212+
else if (i >= pemSz) {
1321313213
/* Buffer full for non-streaming source - this shouldn't happen */
1321413214
break;
1321513215
}

0 commit comments

Comments
 (0)