REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2998
In the function FileBufferCutLine(),set the CutLine pointer to NULL,
The function header specifies that the pointer is valid on a successful
or failed return code.
Signed-off-by: Enze Zhu <zhuenze@byosoft.com.cn>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Reviewed-by: Zhichao Gao <zhichao.gao@intel.com>
UINTN Row;\r
UINTN Col;\r
\r
+ *CutLine = NULL;\r
+\r
if (FileBuffer.ReadOnly) {\r
StatusBarSetStatusString (L"Read Only File Can Not Be Modified");\r
return EFI_SUCCESS;\r