/** @file\r
Emu Bus driver\r
\r
-Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR>\r
Portions copyright (c) 2011, Apple Inc. All rights reserved.\r
SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
\r
EmuDevice->ControllerNameTable = NULL;\r
\r
- StrnCpy (ComponentName, EmuIoThunk->ConfigString, sizeof (ComponentName)/sizeof (CHAR16));\r
+ StrnCpyS (\r
+ ComponentName,\r
+ sizeof (ComponentName) / sizeof (CHAR16),\r
+ EmuIoThunk->ConfigString,\r
+ sizeof (ComponentName) / sizeof (CHAR16)\r
+ );\r
\r
EmuDevice->DevicePath = EmuBusCreateDevicePath (\r
ParentDevicePath,\r