diff options
Diffstat (limited to 'src/debug/pe')
| -rw-r--r-- | src/debug/pe/file.go | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/debug/pe/file.go b/src/debug/pe/file.go index 84bc300d92..f8c922d42e 100644 --- a/src/debug/pe/file.go +++ b/src/debug/pe/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 pe implements access to PE (Microsoft Windows Portable Executable) files. +/* +Package pe implements access to PE (Microsoft Windows Portable Executable) 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 pe import ( |
