//\r
// Copy the string into the Key, leaving the last character allocated as NULL to terminate\r
//\r
- StrCpyS( Node->Key, \r
+ StrnCpyS( Node->Key, \r
StrStr(CurrentString, L"=") - CurrentString + 1, \r
- CurrentString\r
+ CurrentString,\r
+ StrStr(CurrentString, L"=") - CurrentString\r
);\r
\r
//\r