Skip to content

Warning in esign.cpp with 8.9.0 and gcc-14.1 #1275

Open
@vgfl

Description

@vgfl

Maybe already reported, just FYI.
With stringop-overflow warning enabled, I get one (only one) warning when building 8.9.0:

esign.cpp: In member function ‘virtual void CryptoPP::InvertibleESIGNFunction::GenerateRandom(CryptoPP::RandomNumberGenerator&, const CryptoPP::NameValuePairs&)’:
esign.cpp:115:28: warning: ‘void* memcpy(void*, const void*, size_t)’ specified bound 18446744073709551612 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
115 | std::memcpy(seed + 4, seedParam.begin(), seedParam.size());
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
esign.cpp:115:28: warning: ‘void* memcpy(void*, const void*, size_t)’ specified bound 18446744073709551612 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]

Thanks!
Vincent

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions