Skip to content

Enhance checks for OpenSSL#40582

Merged
andy31415 merged 1 commit intoproject-chip:v1.1-branchfrom
Alami-Amine:AA/1.1OpenSSL
Aug 14, 2025
Merged

Enhance checks for OpenSSL#40582
andy31415 merged 1 commit intoproject-chip:v1.1-branchfrom
Alami-Amine:AA/1.1OpenSSL

Conversation

@Alami-Amine
Copy link
Copy Markdown
Contributor

@Alami-Amine Alami-Amine commented Aug 14, 2025

Summary

  • Testing CI run with old Code

Testing

CI Testing

@Alami-Amine Alami-Amine marked this pull request as draft August 14, 2025 09:03
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request cherry-picks a change that fixes a potential null pointer dereference in VerifyAttestationCertificateFormat when handling X.509 certificates. The functions X509_get0_subject_key_id and X509_get0_authority_key_id can return NULL, and the previous code did not handle this case, which could lead to a crash. The change correctly adds nullptr checks before accessing the returned pointers, improving the robustness of the certificate parsing logic. The fix is correct and well-implemented. I have no further comments.

@Alami-Amine Alami-Amine changed the title Testing Enhance Checsk for OpenSSL Aug 14, 2025
@Alami-Amine Alami-Amine reopened this Aug 14, 2025
@Alami-Amine Alami-Amine marked this pull request as ready for review August 14, 2025 13:14
@Alami-Amine Alami-Amine changed the title Enhance Checsk for OpenSSL Enhance checks for OpenSSL Aug 14, 2025
@andy31415 andy31415 merged commit fea3a88 into project-chip:v1.1-branch Aug 14, 2025
25 of 100 checks passed
@Alami-Amine Alami-Amine deleted the AA/1.1OpenSSL branch September 12, 2025 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants