We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
A 4GB buffer is allocated internally when formatting this:
fmt::format("{:= }", 1.0)
In format.h:2790, as.width_ is zero and wraps to UINT_MAX when being decremented.
as.width_
UINT_MAX
I'm not sure if the calculation is also off by one in other cases.
The text was updated successfully, but these errors were encountered:
Fix handling of numeric alignment with no width (#675)
7db0e94
Great catch, thanks! Fixed in 7db0e94.
Sorry, something went wrong.
No branches or pull requests
A 4GB buffer is allocated internally when formatting this:
In format.h:2790,
as.width_
is zero and wraps toUINT_MAX
when being decremented.I'm not sure if the calculation is also off by one in other cases.
The text was updated successfully, but these errors were encountered: