encoding/asn1: weird error handling for parseBitString #29908
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
https://github.com/golang/go/blob/3813edf26edb78620632dc9c7d66096e5b2b5019/src/encoding/asn1/asn1.go
For the following code, error handling "invalid padding bits in BIT STRING" is confusing and doesn't look right. Many bitmap is just one byte long and definitely bigger than 0. Maybe I understand asn1's bit string wrong.
The text was updated successfully, but these errors were encountered: