Skip to content

Commit

Permalink
Merge pull request #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 May 8, 2024
2 parents 52861cb + 41eaa84 commit 76b3023
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 76b3023

Please sign in to comment.