Skip to content

[20.10 backport] Fix incorrect pointer inputs to json.Unmarshal - #3522

Merged
thaJeztah merged 1 commit into
docker:20.10from
thaJeztah:20.10_backport_json_unmarshal_pointer
Apr 14, 2022
Merged

[20.10 backport] Fix incorrect pointer inputs to json.Unmarshal#3522
thaJeztah merged 1 commit into
docker:20.10from
thaJeztah:20.10_backport_json_unmarshal_pointer

Conversation

@thaJeztah

Copy link
Copy Markdown
Member

backport of #3434

See https://github.com/howardjohn/go-unmarshal-double-pointer for more
info on why this is not safe and how this is detected.

(cherry picked from commit ee97fe9)

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

See https://github.com/howardjohn/go-unmarshal-double-pointer for more
info on why this is not safe and how this is detected.

Signed-off-by: John Howard <howardjohn@google.com>
(cherry picked from commit ee97fe9)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah thaJeztah added this to the 20.10.15 milestone Apr 1, 2022
@thaJeztah
thaJeztah merged commit 994ed40 into docker:20.10 Apr 14, 2022
@thaJeztah
thaJeztah deleted the 20.10_backport_json_unmarshal_pointer branch April 14, 2022 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants