Skip to content

ASN.1 parsing: check for badly encode negative INTEGER#7332

Merged
JacobBarthelmeh merged 1 commit intowolfSSL:masterfrom
SparkiDev:asn_templ_neg_int_check
Mar 15, 2024
Merged

ASN.1 parsing: check for badly encode negative INTEGER#7332
JacobBarthelmeh merged 1 commit intowolfSSL:masterfrom
SparkiDev:asn_templ_neg_int_check

Conversation

@SparkiDev
Copy link
Copy Markdown
Contributor

Description

When encoding a negative number, when the first byte is 0xff then the next byte can't have top bit set.

Fixes zd#17627

Testing

Compiled - checking with reporter.

Checklist

  • added tests
  • updated/added doxygen
  • updated appropriate READMEs
  • Updated manual and documentation

When encoding a negative number, when the first byte is 0xff then the
next byte can't have top bit set.
@SparkiDev SparkiDev self-assigned this Mar 13, 2024
@SparkiDev SparkiDev added the For This Release Release version 5.9.1 label Mar 14, 2024
@SparkiDev SparkiDev assigned wolfSSL-Bot and unassigned SparkiDev Mar 14, 2024
@JacobBarthelmeh JacobBarthelmeh merged commit 2f43cc1 into wolfSSL:master Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

For This Release Release version 5.9.1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants