]> Cypherpunks.ru repositories - gostls13.git/blobdiff - doc/go1.21.html
doc/go1.21: reading from debug/pe uninitialized section fails
[gostls13.git] / 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 -->