/** @file\r
The implementation of match policy entry function in IpSecConfig application.\r
\r
- Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.<BR>\r
\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
BOOLEAN Match;\r
\r
Match = FALSE;\r
- if (Indexer->Name != NULL) {\r
+ if (!IsMemoryZero (Indexer->Name, MAX_PEERID_LEN)) {\r
if ((Data->Name != NULL) && (AsciiStrCmp ((CHAR8 *) Indexer->Name, (CHAR8 *) Data->Name) == 0)) {\r
Match = TRUE;\r
}\r