Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #73122: Integer Overflow when concatenating strings #7381

Closed
wants to merge 2 commits into from

Conversation

cmb69
Copy link
Contributor

@cmb69 cmb69 commented Aug 17, 2021

We must avoid integer overflows in memory allocations, so we introduce
an additional check in the VM, and bail out in the rare case of an
overflow. Since the recent fix for bug #74960 still doesn't catch all
possible overflows, we fix that right away.

We must avoid integer overflows in memory allocations, so we introduce
an additional check in the VM, and bail out in the rare case of an
overflow.  Since the recent fix for bug #74960 still doesn't catch all
possible overflows, we fix that right away.
Zend/zend_operators.c Outdated Show resolved Hide resolved
@cmb69 cmb69 added the Bug label Aug 17, 2021
@cmb69 cmb69 closed this in 0b7dffb Aug 18, 2021
@cmb69 cmb69 deleted the cmb/73122 branch August 18, 2021 12:55
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.

None yet

2 participants