Skip to content

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

Description

@DavidHe-2008

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions