From 070c0b6b45d0d7f2d2c04c8571907ece001e3470 Mon Sep 17 00:00:00 2001
From: KimMachineGun New warning for frame pointer
fixes.
+ The vet tool now warns about invalid calls of
+ asn1.Unmarshal
.
+ If you pass non-pointer or nil argument to
+ asn1.Unmarshal
,
+ the vet tool will report it.
+
+ The vet tool already has been checking invalid Unmarshal
and
+ Decode
calls of other encoding packages such as
+ encoding/json
,
+ encoding/xml
.
+ This release makes the vet tool check
+ encoding/asn1
's one
+ as well.
+
From e47c38f6309f31a6de48d4ffc82078d7ad45b171 Mon Sep 17 00:00:00 2001
From: KimMachineGun
- The vet tool now warns about invalid calls of
+ The vet tool now warns about incorrectly passing a non-pointer or nil argument to
- The vet tool already has been checking invalid New warning for frame pointer
New warning for asn1.Unmarshal
asn1.Unmarshal
.
- If you pass non-pointer or nil argument to
- asn1.Unmarshal
,
- the vet tool will report it.
-Unmarshal
and
- Decode
calls of other encoding packages such as
- encoding/json
,
- encoding/xml
.
- This release makes the vet tool check
- encoding/asn1
's one
- as well.
+ This is like the existing checks for
+ encoding/json.Unmarshal
+ and encoding/xml.Unmarshal
.
Runtime