Skip to content

Bug - Integer overflow const defined #439

@MovieStoreGuy

Description

@MovieStoreGuy

Context

Within the project open telemetry collector contrib, one of the components depends on this package.

When trying to build for linux/arm64, it fails to build due to the file config_x64.go defining an integer value that overflows a 32bit int.

Recommendations

It looks like this value should be a int64 or uint64 type instead of a int to avoid the integer overflow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions