You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For Go1.17, my team is going to release a static analyzer that'll be included when you run go test as per golang/go#9399, but for now, please make that channel buffered.
Our internal static analyzer reports this:
$ sigchanyzer ./server.go
github.com/nat/keyrace/server.go:282:2: misuse of unbuffered os.Signal channel as argument to signal.Notify
Coming here from auditing
keyrace/server.go
Lines 281 to 283 in dab1b87
which is a bug as documented in os/signal https://golang.org/pkg/os/signal/#Notify as per:
For Go1.17, my team is going to release a static analyzer that'll be included when you run
go test
as per golang/go#9399, but for now, please make that channel buffered.Our internal static analyzer reports this:
/cc @cuonglm
The text was updated successfully, but these errors were encountered: