open-horizon / edge-sync-service

Cloud - Edge synchronization service (MMS)
Apache License 2.0
24 stars 26 forks source link

SPBD Issue: Errors unhandled os.Stdin.Read() Severity: Low #76

Open peeksake opened 3 years ago

peeksake commented 3 years ago

Static scan results of ESS on 7/22 revealed the following error, and per @dabooz

/tmp/edge/repos/codescans/edge-sync-service/cmd/embedded-receive-file/main.go 
Errors unhandled.
buffer := make([]byte, 10)
os.Stdin.Read(buffer)
goOn = false