1
0
mirror of https://github.com/kubernetes-sigs/descheduler.git synced 2026-01-26 21:31:18 +01:00

Bump github.com/gogo/protobuf to v1.3.2

Fixes https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3121
This commit is contained in:
Jan Chaloupka
2021-03-02 14:47:00 +01:00
parent 726091712d
commit d368cbed32
16 changed files with 573 additions and 280 deletions

View File

@@ -318,7 +318,7 @@ func unescape(s string) (ch string, tail string, err error) {
if i > utf8.MaxRune {
return "", "", fmt.Errorf(`\%c%s is not a valid Unicode code point`, r, ss)
}
return string(i), s, nil
return string(rune(i)), s, nil
}
return "", "", fmt.Errorf(`unknown escape \%c`, r)
}