net: infinite loop in LookupAddr() [1.13 backport] #34662
gopherbot pushed a commit that referenced this issue
Oct 3, 2019
If a request for a PTR record returned a response with a non-PTR answer, goLookupPTR would loop forever. Skipping non-PTR answers guarantees progress through the DNS response. Fixes #34662 Updates #34660 Change-Id: I56f9d21e5342d07e7d843d253267e93a29707904 Reviewed-on: https://go-review.googlesource.com/c/go/+/198460 Run-TryBot: Brad Fitzpatrick <email@example.com> TryBot-Result: Gobot Gobot <firstname.lastname@example.org> Reviewed-by: Brad Fitzpatrick <email@example.com> (cherry picked from commit f0e940e) Reviewed-on: https://go-review.googlesource.com/c/go/+/198489 Reviewed-by: Michael Hendricks <firstname.lastname@example.org> Reviewed-by: Emmanuel Odeke <email@example.com>
@mndrix, you're commenting on a closed bug. The comments above show it was merged.
And the Milestone says Go1.13.3 and it's in 1.13.3: https://go.googlesource.com/go/+log/refs/tags/go1.13.3