[PATCH 0/2] Fixed issues/defects reported by Coverity tool.