Skip to content

Fix GH-24784: openssl_pkcs7_read()/openssl_cms_read() CRLs overwrite - #24785

Open
adapik wants to merge 1 commit into
php:PHP-8.4from
adapik:openssl-crt-crl-mixup
Open

adapik wants to merge 1 commit into
php:PHP-8.4from
adapik:openssl-crt-crl-mixup

Conversation

@adapik

@adapik adapik commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Fixes 24784

The certificate and CRL loops both indexed the output array with their own counter, so each CRL replaced the certificate at the same index. Append with add_next_index_zval() instead.

…te certificates

The certificate and CRL loops both indexed the output array with their
own counter, so each CRL replaced the certificate at the same index.
Append with add_next_index_zval() instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant