We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1901853 commit dc725bfCopy full SHA for dc725bf
doc/go1.16.html
@@ -378,6 +378,16 @@ <h4 id="vet-frame-pointer">New warning for frame pointer</h4>
378
fixes.
379
</p>
380
381
+<h4 id="vet-asn1-unmarshal">New warning for asn1.Unmarshal</h4>
382
+
383
+<p><!-- CL 243397 -->
384
+ The vet tool now warns about incorrectly passing a non-pointer or nil argument to
385
+ <a href="/pkg/encoding/asn1/#Unmarshal"><code>asn1.Unmarshal</code></a>.
386
+ This is like the existing checks for
387
+ <a href="/pkg/encoding/json/#Unmarshal"><code>encoding/json.Unmarshal</code></a>
388
+ and <a href="/pkg/encoding/xml/#Unmarshal"><code>encoding/xml.Unmarshal</code></a>.
389
+</p>
390
391
<h2 id="runtime">Runtime</h2>
392
393
<p>
0 commit comments