ssh: fix malformed exec payload panic (#5428)

This commit is contained in:
fatedier
2026-07-21 23:04:56 +08:00
committed by GitHub
parent d486018885
commit 7dc7be930e
7 changed files with 120 additions and 32 deletions

View File

@@ -61,6 +61,11 @@ linters:
- legacy
- std-error-handling
rules:
# Keep h2c and HTTP/1.1 Upgrade:h2c compatibility until an explicit migration.
- linters:
- staticcheck
path: ^pkg/util/vhost/http\.go$
text: "^SA1019:"
- linters:
- errcheck
- maligned