\r
WinNtDevice->ControllerNameTable = NULL;\r
\r
- WinNtThunk->SPrintf (ComponentName, L"%s", WinNtDevice->WinNtIo.EnvString);\r
+ WinNtThunk->SPrintf (ComponentName, sizeof (ComponentName), L"%s", WinNtDevice->WinNtIo.EnvString);\r
\r
WinNtDevice->DevicePath = WinNtBusCreateDevicePath (\r
ParentDevicePath,\r