mirror of https://github.com/golang/go.git
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:
parent
30f8d5b69d
commit
077194538c
|
|
@ -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>
|
<dl id="debug/pe"><dt><a href="/pkg/debug/pe/">debug/pe</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<p><!-- CL 488475 -->
|
<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>
|
</p>
|
||||||
</dd>
|
</dd>
|
||||||
</dl><!-- debug/pe -->
|
</dl><!-- debug/pe -->
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue