Few Coverity changes were done in the following files ShellProtocol.c and UefiShellLib.c. so, will include those changes and send as V3 patch.