Skip to content

ext/iconv: add a hardening assertion that char_cnt doesn't underflow - #23873

Open
DanielEScherzer wants to merge 1 commit into
php:PHP-8.6from
DanielEScherzer:iconv-no-underflow
Open

DanielEScherzer wants to merge 1 commit into
php:PHP-8.6from
DanielEScherzer:iconv-no-underflow

Conversation

@DanielEScherzer

Copy link
Copy Markdown
Member

No description provided.

@DanielEScherzer
DanielEScherzer changed the base branch from master to PHP-8.6 September 24, 2026 01:29
Comment thread ext/iconv/iconv.c Outdated

@devnexen devnexen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think the assertion is fine otherwise.

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.

3 participants