Skip to content

Fixes: Coverity CID 900514#3522

Merged
jyao1 merged 1 commit intoDMTF:mainfrom
itsManjeet:main
Feb 24, 2026
Merged

Fixes: Coverity CID 900514#3522
jyao1 merged 1 commit intoDMTF:mainfrom
itsManjeet:main

Conversation

@itsManjeet
Copy link
Copy Markdown
Contributor

Coverity reported a potential array overrun in
get_evp_compatible_public_key() when converting a raw EC public key (X || Y) into the SEC1 uncompressed format required by OpenSSL EVP (0x04 || X || Y).

The conversion intentionally increases the public key size by one byte to prepend the 0x04 uncompressed point prefix. This size adjustment may have triggered a false positive analysis warning.

Coverity reported a potential array overrun in
get_evp_compatible_public_key() when converting a raw EC public
key (X || Y) into the SEC1 uncompressed format required by
OpenSSL EVP (0x04 || X || Y).

The conversion intentionally increases the public key size by
one byte to prepend the 0x04 uncompressed point prefix. This
size adjustment may have triggered a false positive analysis
warning.

Signed-off-by: Manjeet Singh <itsmanjeet1998@gmail.com>
@steven-bellock steven-bellock linked an issue Feb 19, 2026 that may be closed by this pull request
@jyao1 jyao1 merged commit 33c5d58 into DMTF:main Feb 24, 2026
97 checks passed
@steven-bellock
Copy link
Copy Markdown
Contributor

steven-bellock commented Feb 27, 2026

It looks like this commit has also fixed #3393.

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

Successfully merging this pull request may close these issues.

Coverity 900512 900514 - memory corruption

4 participants