File tree 1 file changed +4
-14
lines changed
1 file changed +4
-14
lines changed Original file line number Diff line number Diff line change @@ -381,21 +381,11 @@ <h4 id="vet-frame-pointer">New warning for frame pointer</h4>
381
381
< h4 id ="vet-asn1-unmarshal "> New warning for asn1.Unmarshal</ h4 >
382
382
383
383
< p > <!-- CL 243397 -->
384
- The vet tool now warns about invalid calls of
384
+ The vet tool now warns about incorrectly passing a non-pointer or nil argument to
385
385
< a href ="/pkg/encoding/asn1/#Unmarshal "> < code > asn1.Unmarshal</ code > </ a > .
386
- If you pass non-pointer or nil argument to
387
- < a href ="/pkg/encoding/asn1/#Unmarshal "> < code > asn1.Unmarshal</ code > </ a > ,
388
- the vet tool will report it.
389
- </ p >
390
-
391
- < p >
392
- The vet tool already has been checking invalid < code > Unmarshal</ code > and
393
- < code > Decode</ code > calls of other encoding packages such as
394
- < a href ="/pkg/encoding/json "> < code > encoding/json</ code > </ a > ,
395
- < a href ="/pkg/encoding/xml "> < code > encoding/xml</ code > </ a > .
396
- This release makes the vet tool check
397
- < a href ="/pkg/encoding/asn1 "> < code > encoding/asn1</ code > </ a > 's one
398
- as well.
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 > .
399
389
</ p >
400
390
401
391
< h2 id ="runtime "> Runtime</ h2 >
You can’t perform that action at this time.
0 commit comments