You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
p.SkipAllQuestions()
h, err := p.AnswerHeader() // parse first Answer
h, err = p.AnswerHeader() // return first Answer again, parser has not advanced to the next record
h, err = p.AuthorityHeader() // return first Answer, even though we're asking for an Authority
In more detail, this test fails on the last t.Fatalf:
Parser.resourceHeader
andParser.skipResource
don't check that the section being parsed/skipped matches the current section whenp.resHeaderValid
is set:https://go.googlesource.com/net/+/refs/tags/v0.14.0/dns/dnsmessage/message.go#597
https://go.googlesource.com/net/+/refs/tags/v0.14.0/dns/dnsmessage/message.go#615
In short:
In more detail, this test fails on the last
t.Fatalf
:The text was updated successfully, but these errors were encountered: