SAST-Check- Dereference after null check sqlmock_go18.go file
raghvendra-dixit opened this issue · 0 comments
raghvendra-dixit commented
Operating system and Go Version
Linux
Issue
As part of SAST tool run Coverity scam, we could see the code in the mentioned file could land up in null check exception error. Attached screenshot for reference.
Reproduction steps
Expected Result
we should be handling the error properly here.