Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix native encoder type map #132

Merged
merged 1 commit into from
Jun 30, 2018
Merged

Fix native encoder type map #132

merged 1 commit into from
Jun 30, 2018

Conversation

etingof
Copy link
Owner

@etingof etingof commented Jun 30, 2018

The type map should include all ASN.1 types rather than just ambiguous ones for performance reasons.

Incomplete type ID map triggers building a new TagSet out of the value being encoded. If that value does not have base tags set, that leads to a crash.

The type map should include all ASN.1 types rather
than just ambiguous ones for performance reasons.

Incomplete type ID map triggers building a new
TagSet out of the value being encoded. If that
value does not have base tags set, that leads to
a crash.
@codecov-io
Copy link

codecov-io commented Jun 30, 2018

Codecov Report

Merging #132 into master will decrease coverage by 0.1%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #132      +/-   ##
==========================================
- Coverage   85.77%   85.67%   -0.11%     
==========================================
  Files          29       29              
  Lines        3985     3985              
==========================================
- Hits         3418     3414       -4     
- Misses        567      571       +4
Impacted Files Coverage Δ
pyasn1/codec/native/encoder.py 87.09% <ø> (-4.31%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d532700...209b1ac. Read the comment docs.

@etingof etingof merged commit 271f71a into master Jun 30, 2018
@etingof etingof deleted the fix-native-encoder-type-map branch July 29, 2018 09:15
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.

2 participants