Skip to content

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

Open
bukka wants to merge 1 commit intophp:masterfrom
bukka:openssl_asn1_timestr_strnlen
Open

ext/openssl: Use zend_strnlen for ASN1 time string check#14522
bukka wants to merge 1 commit intophp:masterfrom
bukka:openssl_asn1_timestr_strnlen

Conversation

@bukka
Copy link
Copy Markdown
Member

@bukka bukka commented Jun 9, 2024

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

@Girgias
Copy link
Copy Markdown
Member

Girgias commented Apr 8, 2026

@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