]> Cypherpunks.ru repositories - gostls13.git/commitdiff
doc/go1.21: reading from debug/pe uninitialized section fails
authorIan Lance Taylor <iant@golang.org>
Tue, 30 May 2023 22:36:16 +0000 (15:36 -0700)
committerGopher Robot <gobot@golang.org>
Wed, 31 May 2023 16:26:00 +0000 (16:26 +0000)
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>
doc/go1.21.html

index c44f425930b5b72d7ddcdf85c372ec16b0cb16ec..91f0899c81a9c662a3c8d13f2bb7f5247795d0ee 100644 (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 -->