Skip to content

ext/standard: Validate numeric values passed to pack() - #23590

Open
LamentXU123 wants to merge 1 commit into
php:masterfrom
LamentXU123:pack-try-get-double
Open

ext/standard: Validate numeric values passed to pack()#23590
LamentXU123 wants to merge 1 commit into
php:masterfrom
LamentXU123:pack-try-get-double

Conversation

@LamentXU123

Copy link
Copy Markdown
Member

Follow-up #23398

Use zval_try_get_long() and zval_try_get_double() for integer and floating-point format codes, and report conversion failures instead of silently coercing them.
@LamentXU123
LamentXU123 marked this pull request as ready for review September 6, 2026 16:42
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.

1 participant