[release-11.2.9] Go: Bump to 1.24.2 (#103529)
* Go: Bump to 1.24.2
It is not likely we are actually affected by the CVEs, but updating proactively is not a bad idea nonetheless.
Fixes: CVE-2025-22871
Fixes: https://github.com/grafana/grafana-operator-experience-squad/issues/1311
* CI: Update golangci-lint
(cherry picked from commit 1c4284a8b4)
This commit is contained in:
committed by
GitHub
parent
764c23ce65
commit
ea451c645b
@@ -407,7 +407,7 @@ func validateLBACHeader(headervalue string) bool {
|
||||
return false
|
||||
}
|
||||
match := pattern.FindSubmatch([]byte(strings.TrimSpace(headervalue)))
|
||||
if match == nil || len(match) < 2 {
|
||||
if len(match) < 2 {
|
||||
return false
|
||||
}
|
||||
_, err = parser.ParseMetricSelector(string(match[1]))
|
||||
|
||||
Reference in New Issue
Block a user