How to handle identified Coverity issues within Microsoft MFC libraries
Daratha, Paul
0
Reputation points
Hello
Our Coverity 2023.6.0 scan identify Uninitialized scalar field and Uninitialized pointer field issues using a CMap MFC class which is defined in /%ProgramFiles(x86)%/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.37.32822/atlmfc/include/afxtempl.h.
and
Do we use CMap in a wrong way?
There is no special construct available which would initialize those inner fields.
Can you give us an advise how shall we treat the Coverity finding or if this is a false positive finding?
Best Regards
Sign in to answer