aboutsummaryrefslogtreecommitdiff
path: root/src/debug/plan9obj
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug/plan9obj')
-rw-r--r--src/debug/plan9obj/file.go12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/debug/plan9obj/file.go b/src/debug/plan9obj/file.go
index 2b83f9bdff..81ece2c3e0 100644
--- a/src/debug/plan9obj/file.go
+++ b/src/debug/plan9obj/file.go
@@ -2,7 +2,17 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-// Package plan9obj implements access to Plan 9 a.out object files.
+/*
+Package plan9obj implements access to Plan 9 a.out object files.
+
+# Security
+
+This package is not designed to be hardened against adversarial inputs, and is
+outside the scope of https://go.dev/security/policy. In particular, only basic
+validation is done when parsing object files. As such, care should be taken when
+parsing untrusted inputs, as parsing malformed files may consume significant
+resources, or cause panics.
+*/
package plan9obj
import (