Skip to content

Commit

Permalink
Merge pull request wolfSSL#7484 from SparkiDev/mem_fail_fixes_1
Browse files Browse the repository at this point in the history
Mem fail fix: ProcessingBuffer()
  • Loading branch information
douzzer authored and jefferyq2 committed Jun 9, 2024
1 parent d9ac102 commit 7af237e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ssl_load.c
Original file line number Diff line number Diff line change
Expand Up @@ -2352,6 +2352,9 @@ int ProcessBuffer(WOLFSSL_CTX* ctx, const unsigned char* buff, long sz,
ret = ProcessBufferCertTypes(ctx, ssl, buff, sz, der, format, type,
verify);
}
else {
FreeDer(&der);
}
}

/* Reset suites if this is a private key or user certificate. */
Expand Down

0 comments on commit 7af237e

Please sign in to comment.