merge from trunk Coverity fixes of r48295 in mathcore


git-svn-id: https://root.cern.ch/svn/root/branches/v5-34-00-patches@48298 27541ba8-7e3a-0410-8455-c3a389f83636
merge from trunk r48296 and r48297
(see https://savannah.cern.ch/bugs/?99815 )


git-svn-id: https://root.cern.ch/svn/root/branches/v5-34-00-patches@48299 27541ba8-7e3a-0410-8455-c3a389f83636