ugorji / go

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

Coverity Scan - Explicit null dereferenced #378

Closed raghvendra-dixit closed 1 year ago

raghvendra-dixit commented 1 year 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 1 year ago

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

ugorji commented 1 year ago

outdated branch.