webauthn.io
webauthn.io copied to clipboard
Bump cbor2 from 5.5.1 to 5.6.2
Bumps cbor2 from 5.5.1 to 5.6.2.
Release notes
Sourced from cbor2's releases.
5.6.2
- Fixed
__hash__()of the C version of theCBORTagtype crashing when there's a recursive reference cycle- Fixed type annotation for the file object in
cbor2.dump(),cbor2.load(),CBOREncoderandCBORDecoderto beIO[bytes]instead ofBytesIO- Worked around a CPython bug that caused a
SystemErrorto be raised, or even a buffer overflow to occur when decoding a long text string that contained only ASCII characters- Changed the return type annotations of
cbor2.load()andcbor2.load()to returnAnyinstead ofobjectso as not to force users to make type casts5.6.1
- Fixed use-after-free in the decoder's C version when prematurely encountering the end of stream
- Fixed the C version of the decoder improperly raising
CBORDecodeEOFwhen decoding a text string longer than 65536 bytes5.6.0
- Added the
cbor2command line tool (forpipx run cbor2)- Added support for native date encoding (bschoenmaeckers)
- Made the C extension mandatory when the environment variable
CBOR2_BUILD_C_EXTENSIONis set to1.- Fixed
SystemErrorin the C extension when decoding aFractionalwith a bad number of arguments or a non-tuple value- Fixed
SystemErrorin the C extension when the decoder object hook raises an exception- Fixed a segmentation fault when decoding invalid unicode data
- Fixed infinite recursion when trying to hash a CBOR tag whose value points to the tag itself
- Fixed
MemoryErrorwhen maliciously constructed bytestrings or string (declared to be absurdly large) are being decoded- Fixed
UnicodeDecodeErrorfrom failed parsing of a UTF-8 text string not being wrapped asCBORDecodeValueError- Fixed
TypeErrororZeroDivisionErrorfrom a failed decoding ofFractionnot being wrapped asCBORDecodeValueError- Fixed
TypeErrororValueErrorfrom a failed decoding ofUUIDnot being wrapped asCBORDecodeValueError- Fixed
TypeErrorfrom a failed decoding ofMIMEMessagenot being wrapped asCBORDecodeValueError- Fixed
OverflowError,OSErrororValueErrorfrom a failed decoding of epoch-baseddatetimenot being wrapped asCBORDecodeValueError
Changelog
Sourced from cbor2's changelog.
Version history
.. currentmodule:: cbor2
This library adheres to
Semantic Versioning <http://semver.org/>_.5.6.2 (2024-02-19)
- Fixed
__hash__()of the C version of theCBORTagtype crashing when there's a recursive reference cycle- Fixed type annotation for the file object in
cbor2.dump(),cbor2.load(),CBOREncoderandCBORDecoderto beIO[bytes]instead ofBytesIO- Worked around a
CPython bug <https://github.com/python/cpython/issues/99612>_ that caused aSystemErrorto be raised, or even a buffer overflow to occur when decoding a long text string that contained only ASCII characters- Changed the return type annotations of
cbor2.load()andcbor2.load()to returnAnyinstead ofobjectso as not to force users to make type casts5.6.1 (2024-02-01)
- Fixed use-after-free in the decoder's C version when prematurely encountering the end of stream
- Fixed the C version of the decoder improperly raising
CBORDecodeEOFwhen decoding a text string longer than 65536 bytes5.6.0 (2024-01-17)
- Added the
cbor2command line tool (forpipx run cbor2)- Added support for native date encoding (bschoenmaeckers)
- Made the C extension mandatory when the environment variable
CBOR2_BUILD_C_EXTENSIONis set to1.- Fixed
SystemErrorin the C extension when decoding aFractionalwith a bad number of arguments or a non-tuple value- Fixed
SystemErrorin the C extension when the decoder object hook raises an exception- Fixed a segmentation fault when decoding invalid unicode data
- Fixed infinite recursion when trying to hash a CBOR tag whose value points to the tag itself
- Fixed
MemoryErrorwhen maliciously constructed bytestrings or string (declared to be absurdly large) are being decoded- Fixed
UnicodeDecodeErrorfrom failed parsing of a UTF-8 text string not being wrapped asCBORDecodeValueError- Fixed
TypeErrororZeroDivisionErrorfrom a failed decoding ofFractionnot being wrapped asCBORDecodeValueError- Fixed
TypeErrororValueErrorfrom a failed decoding ofUUIDnot being wrapped asCBORDecodeValueError- Fixed
TypeErrorfrom a failed decoding ofMIMEMessagenot being wrapped asCBORDecodeValueError- Fixed
OverflowError,OSErrororValueErrorfrom a failed decoding of epoch-baseddatetimenot being wrapped asCBORDecodeValueError
... (truncated)
Commits
21e0debBumped up the version0423e46Worked around a CPython bug in decode_definite_long_string() (#221)dc0c75e[pre-commit.ci] pre-commit autoupdate (#220)2eeaab8Changed/corrected type annotations (#219)67b6472[pre-commit.ci] pre-commit autoupdate (#217)e269562Fixed test_datetime_date_out_of_range failing on 32-bit platforms7527916Fixed test_oversized_read failing on 32-bit platformsdbcb234[pre-commit.ci] pre-commit autoupdate (#214)4de6991Check PyObject_Hash() return value for errors42bc181Fixed version of the upload-sarif action- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the Security Alerts page.
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.
@dependabot rebase
Looks like cbor2 is up-to-date now, so this is no longer needed.