ugorji / go

idiomatic codec and rpc lib for msgpack, cbor, json, etc. msgpack.org[Go]
MIT License
1.86k stars 295 forks source link

Coverity Scan - Explicit null dereferenced #378

Closed raghvendra-dixit closed 1 year ago

raghvendra-dixit commented 2 years ago

File: https://github.com/ugorji/go/blob/master/codec/encode.go Details: A null pointer exception will occur.

In github.​com/ugorji/go/codec.​Encoder.​encode(interface{}): Dereference of an explicit null (nil) value (CWE-476) Screenshot:

image image image image
mxmauro commented 2 years ago

Seems you are testing an outdated branch. vself does not exist.

ugorji commented 1 year ago

outdated branch.