doc/go1.21: reading from debug/pe uninitialized section fails

For #47653

Change-Id: Id44c9dba58966f43f188030a53343d890a6ffde7
Reviewed-on: https://go-review.googlesource.com/c/go/+/499419
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Bypass: Ian Lance Taylor <iant@google.com>
Reviewed-by: Eli Bendersky <eliben@google.com>
This commit is contained in:
Ian Lance Taylor 2023-05-30 15:36:16 -07:00 committed by Gopher Robot
parent 30f8d5b69d
commit 077194538c
1 changed files with 5 additions and 1 deletions

View File

@ -455,7 +455,11 @@ Do not send CLs removing the interior tags from such phrases.
<dl id="debug/pe"><dt><a href="/pkg/debug/pe/">debug/pe</a></dt>
<dd>
<p><!-- CL 488475 -->
TODO: <a href="https://go.dev/cl/488475">https://go.dev/cl/488475</a>: debug/pe: return error on reading from section with uninitialized data
Attempts to read from a section containing uninitialized data
using
<a href="/pkg/debug/pe/#Section.Data"><code>Section.Data</code></a>
or the reader returned by <a href="/pkg/debug/pe/#Section.Open"><code>Section.Open</code></a>
now return an error.
</p>
</dd>
</dl><!-- debug/pe -->