]> git.proxmox.com Git - mirror_edk2.git/commit
ShellPkg: Fix Shell assert when mv a file to a NULL target.
authorQiu Shumin <shumin.qiu@intel.com>
Wed, 6 Jan 2016 07:40:56 +0000 (07:40 +0000)
committershenshushi <shenshushi@Edk2>
Wed, 6 Jan 2016 07:40:56 +0000 (07:40 +0000)
commit10e547ac2d4cf41df2cef1a7ac5ae45184e57d17
tree7ac917926a695562943c5cc48f125da57d336c6a
parentd85509a3218a6b4382822aea25ec125b1b97b3bc
ShellPkg: Fix Shell assert when mv a file to a NULL target.

When run command 'mv file ' the Shell assert. The patch refined the length of the buffer to fix this bug.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <shumin.qiu@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19607 6f19259b-4bc3-4df7-8a09-765794883524
ShellPkg/Library/UefiShellLevel2CommandsLib/Mv.c