Skip to content

Fix result_type related stack corruption on LLP64 architectures#8263

Closed
cmb69 wants to merge 1 commit intophp:PHP-8.0from
cmb69:cmb/pgsql-result-type
Closed

Fix result_type related stack corruption on LLP64 architectures#8263
cmb69 wants to merge 1 commit intophp:PHP-8.0from
cmb69:cmb/pgsql-result-type

Conversation

@cmb69
Copy link
Member

@cmb69 cmb69 commented Mar 28, 2022

Integer parameters are stored in zend_long values, which have 64 bits
on LLP64, but long has only 32 bits there.

Adding a test might be overkill, because the broken behavior could
already be observed when running pg_select_001.phpt on Windows debug
builds, which report the stack corruption.

Integer parameters are stored in `zend_long` values, which have 64 bits
on LLP64, but `long` has only 32 bits there.

Adding a test might be overkill, because the broken behavior could
already be observed when running pg_select_001.phpt on Windows debug
builds, which report the stack corruption.
@cmb69 cmb69 closed this in 5a8622f Mar 28, 2022
@cmb69 cmb69 deleted the cmb/pgsql-result-type branch March 28, 2022 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant