Skip to content

Fix use-after-free possibility in GetCRLInfo#10693

Draft
padelsbach wants to merge 1 commit into
wolfSSL:masterfrom
padelsbach:crl-use-after-free
Draft

Fix use-after-free possibility in GetCRLInfo#10693
padelsbach wants to merge 1 commit into
wolfSSL:masterfrom
padelsbach:crl-use-after-free

Conversation

@padelsbach

Copy link
Copy Markdown
Contributor

Description

Requires CRL and WOLFSSL_SMALL_STACK

Fixes one of many issues in 21992

Testing

Added a unit test

Checklist

  • added tests
  • updated/added doxygen
  • updated appropriate READMEs
  • Updated manual and documentation

Comment thread wolfssl/ssl.h
word32 nextDateMaxLen;
byte nextDateFormat;
byte crlNumberSet:1;
byte issuerHashData[SIGNER_DIGEST_SIZE];

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added these buffers alongside the existing pointers rather than changing the pointers to arrays so that this change does not break the API/ABI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant