aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorKevin Daudt <kdaudt@alpinelinux.org>2022-04-03 15:59:56 +0200
committerKevin Daudt <kdaudt@alpinelinux.org>2022-04-03 15:59:56 +0200
commitab796f549410dc94df5ff7eac8d4c959887f279e (patch)
treeeeab32757af1ea9cb1cf1867c09d657d3c59ba1f /README.md
parent39db2f47424a07e25004744e3709b106c1b73158 (diff)
downloadgo-master.tar.gz
go-master.tar.bz2
go-master.tar.xz
secfixes: fix panic due to non-string keysHEADmaster
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