Coverity defects