Skip to content

ext/openssl: Use zend_strnlen for ASN1 time string check - #14522

Open
bukka wants to merge 1 commit into
php:masterfrom
bukka:openssl_asn1_timestr_strnlen
Open

bukka wants to merge 1 commit into
php:masterfrom
bukka:openssl_asn1_timestr_strnlen

Conversation

@bukka

@bukka bukka commented Jun 9, 2024

Copy link
Copy Markdown
Member

Using strlen relies on OpenSSL ASN1 string to be null terminated which is not guaranteed even though it is always null terminated.

@Girgias

Girgias commented Apr 8, 2026

Copy link
Copy Markdown
Member

@bukka could you rebase and merge this if still applicable?

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.

2 participants