Coverity findings