Fixes to Coverity defects 78241 78242 78243 78244 78245