crypto/x509: ParseRevocationList incorrect handling of the CRL Number field #73029
Labels
BugReport
Issues describing a possible bug in the Go implementation.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Go version
go version go1.24.1 linux/amd64
Output of
go env
in your module/workspace:What did you do?
Hello Developer, I have a CRL file with a CRL number value of -36. According to RFC5280, the CRL number should be a non-negative integer, but Go successfully parsed the CRL Number field of this CRL without any errors.
What did you see happen?
Go successfully parsed the CRL Number field of this CRL without any errors.
What did you expect to see?
crl_file_test_.zip
The text was updated successfully, but these errors were encountered: