We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following program crashes with the panic:
package main import "encoding/asn1" func main() { var v interface{} asn1.Marshal(v) }
panic: reflect: call of reflect.Value.Type on zero Value goroutine 1 [running]: reflect.Value.Type(0x0, 0x0, 0x0, 0x0, 0x0) src/reflect/value.go:1664 +0x7b encoding/asn1.marshalField(0xc20807deb0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) src/encoding/asn1/marshal.go:536 +0x540 encoding/asn1.Marshal(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) src/encoding/asn1/marshal.go:646 +0x14d main.main() asn1.go:7 +0x2d
Marshal should return an error instead.
on commit b0532a9
The text was updated successfully, but these errors were encountered:
CL https://golang.org/cl/13923 mentions this issue.
Sorry, something went wrong.
fac1039
No branches or pull requests
The following program crashes with the panic:
Marshal should return an error instead.
on commit b0532a9
The text was updated successfully, but these errors were encountered: