diff options
author | Kevin Daudt <kdaudt@alpinelinux.org> | 2022-04-03 15:59:56 +0200 |
---|---|---|
committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2022-04-03 15:59:56 +0200 |
commit | ab796f549410dc94df5ff7eac8d4c959887f279e (patch) | |
tree | eeab32757af1ea9cb1cf1867c09d657d3c59ba1f /README.md | |
parent | 39db2f47424a07e25004744e3709b106c1b73158 (diff) | |
download | go-master.tar.gz go-master.tar.bz2 go-master.tar.xz |
For vulnerabilities that are not applicable to a certain package, '0' is
used as a version. After parsing it as yaml, it is interpreted as an
integer. When in turn retrieving the version, it is assumed that this is
always a string.
This assumption results in a panic when trying to do a string type
assertion on an integer.
Fix this by converting it to a string through fmt.Sprintf.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions