Skip to content

Commit 0771945

Browse files
ianlancetaylorgopherbot
authored andcommitted
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 <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> TryBot-Bypass: Ian Lance Taylor <[email protected]> Reviewed-by: Eli Bendersky <[email protected]>
1 parent 30f8d5b commit 0771945

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

doc/go1.21.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,11 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
455455
<dl id="debug/pe"><dt><a href="/pkg/debug/pe/">debug/pe</a></dt>
456456
<dd>
457457
<p><!-- CL 488475 -->
458-
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
458+
Attempts to read from a section containing uninitialized data
459+
using
460+
<a href="/pkg/debug/pe/#Section.Data"><code>Section.Data</code></a>
461+
or the reader returned by <a href="/pkg/debug/pe/#Section.Open"><code>Section.Open</code></a>
462+
now return an error.
459463
</p>
460464
</dd>
461465
</dl><!-- debug/pe -->

0 commit comments

Comments
 (0)