Skip to content

Add go.uber.org/nilaway/cmd/nilaway PR check #3

Add go.uber.org/nilaway/cmd/nilaway PR check

Add go.uber.org/nilaway/cmd/nilaway PR check #3

Triggered via pull request November 23, 2023 12:53
Status Success
Total duration 42s
Artifacts

nilaway.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 warnings
Potential nil panic detected: decoder.go#L212
Observed nil flow from source to dereference point: -> go-libddwaf/decoder.go:189:10: literal `nil` returned from `decodeObject()` in position 0 -> go-libddwaf/decoder.go:212:15: result 0 of `decodeObject()` assigned deeply into local variable `events` (Same nil source could also cause potential nil panic(s) at 1 other place(s): go-libddwaf/decoder.go:235:17.)
Potential nil panic detected: encoder.go#L207
Observed nil flow from source to dereference point: -> go-libddwaf/cgo_ref_pool.go:75:10: literal `nil` returned from `AllocWafArray()` in position 0 -> go-libddwaf/encoder.go:207:15: result 0 of `AllocWafArray()` sliced into (Same nil source could also cause potential nil panic(s) at 2 other place(s): go-libddwaf/encoder.go:242:15, and go-libddwaf/encoder.go:305:15.)
Potential nil panic detected: handle.go#L101
Observed nil flow from source to dereference point: -> go-libddwaf/handle.go:101:17: unassigned variable `diags` dereferenced
Potential nil panic detected: waf_dl.go#L106
Observed nil flow from source to dereference point: -> go-libddwaf/waf.go:127:2: nilable value assigned into global variable `wafLib` -> go-libddwaf/handle.go:70:13: global variable `wafLib` used as receiver to call `wafInit()` -> go-libddwaf/waf_dl.go:106:34: read by method receiver `waf` accessed field `init`