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

Veracode complains integral overflow on line 533 of spdlog/include/spdlog/fmt/bundled/format-inl.h #1

Open
springile opened this issue Jul 26, 2022 · 0 comments

Comments

@springile
Copy link

Hi

This is the comment from Veracode for spdlog/include/spdlog/fmt/bundled/format-inl.h line 533:

borrow <<= bigit_bits;

"
Attack Vector: subNumber of Modules Affected: 1Description: This arithmetic operation results in an integer overflow error. Because the result of this calculation is larger than the maximum possible value for this data type, the result may wrap to become a very small, or negative number, therefore providing an unintended value. Integer overflows can often trigger buffer overflows, which can be exploited to execute arbitrary code."

Please verify if it's your intention or it's an bug as Veracode said.

Thanks.

David

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

No branches or pull requests

1 participant