Main file for cp shell level 2 function.\r
\r
(C) Copyright 2015 Hewlett-Packard Development Company, L.P.<BR>\r
- Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2009 - 2019, Intel Corporation. All rights reserved.<BR>\r
SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
**/\r
// possibly return based on response\r
//\r
if (!SilentMode) {\r
+ if (Response == NULL) {\r
+ return SHELL_ABORTED;\r
+ }\r
switch (*(SHELL_PROMPT_RESPONSE*)Response) {\r
case ShellPromptResponseNo:\r
//\r