Visitar URL original
Fix DeprecationWarning stacklevel for deprecated attributes by droideck · Pull Request #101 · pyasn1/pyasn1 · GitHub
Skip to content

Fix DeprecationWarning stacklevel for deprecated attributes - #101

Merged
droideck merged 2 commits into
pyasn1:mainfrom
droideck:depr-warning-fix
Mar 13, 2026
Merged

droideck merged 2 commits into
pyasn1:mainfrom
droideck:depr-warning-fix

Conversation

@droideck

Copy link
Copy Markdown
Member

Fixes: #86

@droideck
droideck merged commit 0b6bbad into pyasn1:main Mar 13, 2026
12 checks passed
netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this pull request Mar 21, 2026
Security fix release.

Revision 0.6.3, released 16-03-2026
---------------------------------------

- CVE-2026-30922 (GHSA-jr27-m4p2-rc6r): Added nesting depth
  limit to ASN.1 decoder to prevent stack overflow from deeply
  nested structures (thanks for reporting, romanticpragmatism)
- Fixed OverflowError from oversized BER length field
  [issue #54](pyasn1/pyasn1#54)
  [pr #100](pyasn1/pyasn1#100)
- Fixed DeprecationWarning stacklevel for deprecated attributes
  [issue #86](pyasn1/pyasn1#86)
  [pr #101](pyasn1/pyasn1#101)
- Fixed asDateTime incorrect fractional seconds parsing
  [issue #81](pyasn1/pyasn1#81)
  [pr #102](pyasn1/pyasn1#102)
jperkin pushed a commit to TritonDataCenter/pkgsrc that referenced this pull request May 14, 2026
Security fix release.

Revision 0.6.3, released 16-03-2026
---------------------------------------

- CVE-2026-30922 (GHSA-jr27-m4p2-rc6r): Added nesting depth
  limit to ASN.1 decoder to prevent stack overflow from deeply
  nested structures (thanks for reporting, romanticpragmatism)
- Fixed OverflowError from oversized BER length field
  [issue #54](pyasn1/pyasn1#54)
  [pr #100](pyasn1/pyasn1#100)
- Fixed DeprecationWarning stacklevel for deprecated attributes
  [issue #86](pyasn1/pyasn1#86)
  [pr #101](pyasn1/pyasn1#101)
- Fixed asDateTime incorrect fractional seconds parsing
  [issue #81](pyasn1/pyasn1#81)
  [pr #102](pyasn1/pyasn1#102)
tsutsui pushed a commit to tsutsui/pkgsrc that referenced this pull request Oct 17, 2026
Security fix release.

Revision 0.6.3, released 16-03-2026
---------------------------------------

- CVE-2026-30922 (GHSA-jr27-m4p2-rc6r): Added nesting depth
  limit to ASN.1 decoder to prevent stack overflow from deeply
  nested structures (thanks for reporting, romanticpragmatism)
- Fixed OverflowError from oversized BER length field
  [issue NetBSD#54](pyasn1/pyasn1#54)
  [pr NetBSD#100](pyasn1/pyasn1#100)
- Fixed DeprecationWarning stacklevel for deprecated attributes
  [issue NetBSD#86](pyasn1/pyasn1#86)
  [pr NetBSD#101](pyasn1/pyasn1#101)
- Fixed asDateTime incorrect fractional seconds parsing
  [issue NetBSD#81](pyasn1/pyasn1#81)
  [pr NetBSD#102](pyasn1/pyasn1#102)
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.

DeprecationWarning for deprecated attributes should probably use stacklevel 2

1 participant