Bug 1011009
Summary: | BER decoder for Boolean accepts only (0,1) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Ludwig <lkrispen> | ||||||||||
Component: | python-pyasn1 | Assignee: | Rob Crittenden <rcritten> | ||||||||||
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||
Severity: | unspecified | Docs Contact: | |||||||||||
Priority: | unspecified | ||||||||||||
Version: | 18 | CC: | lkrispen, rcritten, vanmeeuwen+fedora | ||||||||||
Target Milestone: | --- | ||||||||||||
Target Release: | --- | ||||||||||||
Hardware: | Unspecified | ||||||||||||
OS: | Unspecified | ||||||||||||
Whiteboard: | |||||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||||
Doc Text: | Story Points: | --- | |||||||||||
Clone Of: | Environment: | ||||||||||||
Last Closed: | 2013-09-30 13:54:29 UTC | Type: | Bug | ||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||
Documentation: | --- | CRM: | |||||||||||
Verified Versions: | Category: | --- | |||||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||||
Embargoed: | |||||||||||||
Attachments: |
|
Description
Ludwig
2013-09-23 13:23:48 UTC
Created attachment 801739 [details]
pcap shwoing the encoded value
Created attachment 801742 [details]
wireshark highlighting the field
Created attachment 801850 [details]
C program to write out a BER file using openldap
Created attachment 801851 [details]
python-pyasn1 script to read the ber file
This demonstrates the bug as reported
This was fixed in 0.1.4 so I'll need to consider updating the package version in F-18. Is this work you're doing going to land in F-18? I was using the python client to test a feature which will be in 389 version 1.3.2, so this would be in F20 I think. I didn't see that it was fixed, is there a bz for that fix ? F-20 has 0.1.7 and my testing confirms it works as expected. The upstream 0.1.4 changelog has this, which I suspect is what fixed things: - Fix to BER Boolean decoder that allows other pre-computed values besides 0 and 1 I'm going to close this since it works in F-19 and 20. |