[Bug 285627] [NEW PORT] security/govulncheck: Reports known vulnerabilities that affect Go code
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 07 May 2025 19:59:47 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285627
--- Comment #11 from Nuno Teixeira <eduardo@FreeBSD.org> ---
(In reply to Einar Bjarni Halldórsson from comment #10)
cp target to .orig and patch target, make makepatch:
cp ./work/golang.org/x/vuln@v1.1.4/internal/scan/util.go \
cp ./work/golang.org/x/vuln@v1.1.4/internal/scan/util.go.orig
replace 'go' with %%GO_CMD%%
and
use sed to replace %%GO_CMD%% with ${GO_CMD}.
This is way to do it.
--
You are receiving this mail because:
You are on the CC list for the bug.