]> Cypherpunks repositories - gostls13.git/commit
net: check SkipAdditional error result
authorIan Lance Taylor <iant@golang.org>
Thu, 11 Apr 2024 21:36:25 +0000 (14:36 -0700)
committerGopher Robot <gobot@golang.org>
Thu, 11 Apr 2024 22:24:41 +0000 (22:24 +0000)
commitddfab21e464b9b4c15fe3dc97eb5d93a4932f434
tree699080d6591abf3f4ab9c9c094ce64f5cb337a60
parentbfb1f563716f513b1c58883c7217f468c53a0f1a
net: check SkipAdditional error result

This will avoid a potential endless loop for a corrupt DNS packet.

For #66754

Change-Id: I46591b3f7695bcc88d2312833e45955f8c129d2b
Reviewed-on: https://go-review.googlesource.com/c/go/+/578375
Reviewed-by: Damien Neil <dneil@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Commit-Queue: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
src/net/dnsclient_unix.go