go/unixsocket/oobreader.go

Summary

Maintainability
A
35 mins
Test Coverage

Function extractFileDescriptorFromOOB has 5 return statements (exceeds 4 allowed).
Open

func extractFileDescriptorFromOOB(oob []byte) (int, error) {
    scms, err := syscall.ParseSocketControlMessage(oob)
    if err != nil {
        return -1, err
    }
Severity: Major
Found in go/unixsocket/oobreader.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status