Skip to content

bugfix: use size_t for locale conversion buffer lengths. - #129

Open
chernetskyi wants to merge 1 commit into
openresty:masterfrom
chernetskyi:fix-fpconv-buffer-size
Open

bugfix: use size_t for locale conversion buffer lengths.#129
chernetskyi wants to merge 1 commit into
openresty:masterfrom
chernetskyi:fix-fpconv-buffer-size

Conversation

@chernetskyi

Copy link
Copy Markdown

Keep numeric token lengths and allocation arithmetic in size_t to avoid truncation and signed overflow at INT_MAX.

Keep numeric token lengths and allocation arithmetic in size_t to avoid
truncation and signed overflow at INT_MAX.
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