Skip to content

add sp_hex_iszero for catching edge case of negative zero value#10655

Open
JacobBarthelmeh wants to merge 1 commit into
wolfSSL:masterfrom
JacobBarthelmeh:oss-fuzz
Open

add sp_hex_iszero for catching edge case of negative zero value#10655
JacobBarthelmeh wants to merge 1 commit into
wolfSSL:masterfrom
JacobBarthelmeh:oss-fuzz

Conversation

@JacobBarthelmeh

Copy link
Copy Markdown
Contributor

Fix for oss-fuzz report when handling a sp_int that has 'used' greater than 0 but has a magnitude of 0.

@JacobBarthelmeh JacobBarthelmeh self-assigned this Jun 10, 2026
Copilot AI review requested due to automatic review settings June 10, 2026 17:46

@wolfSSL-Fenrir-bot wolfSSL-Fenrir-bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fenrir Automated Review — PR #10655

Scan targets checked: wolfcrypt-bugs, wolfcrypt-src

No new issues found in the changed files. ✅

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@github-actions

Copy link
Copy Markdown

MemBrowse Memory Report

gcc-arm-cortex-m0plus

  • FLASH: .text +32 B (+0.1%, 63,507 B / 262,144 B, total: 24% used)

gcc-arm-cortex-m3

  • FLASH: .text +32 B (+0.0%, 121,285 B / 262,144 B, total: 46% used)

gcc-arm-cortex-m4-baremetal

  • FLASH: .text +64 B (+0.1%, 66,123 B / 262,144 B, total: 25% used)

gcc-arm-cortex-m4-openssl-compat

  • FLASH: .text +64 B (+0.0%, 766,828 B / 1,048,576 B, total: 73% used)

gcc-arm-cortex-m4-pq

  • FLASH: .text +64 B (+0.0%, 277,592 B / 1,048,576 B, total: 26% used)

gcc-arm-cortex-m4-rsa-only

  • FLASH: .text +64 B (+0.0%, 323,000 B / 1,048,576 B, total: 31% used)

gcc-arm-cortex-m4-tls12

  • FLASH: .text +64 B (+0.1%, 122,061 B / 262,144 B, total: 47% used)

gcc-arm-cortex-m4-tls13

  • FLASH: .text +64 B (+0.0%, 234,528 B / 262,144 B, total: 89% used)

gcc-arm-cortex-m7-pq

  • FLASH: .text +64 B (+0.0%, 278,168 B / 1,048,576 B, total: 27% used)

linuxkm-pie

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.

5 participants