}\r
\r
if (IsListEmpty (&SourceStream->Children) && \r
- SourceStream->StreamLength > sizeof (EFI_COMMON_SECTION_HEADER)) {\r
+ SourceStream->StreamLength >= sizeof (EFI_COMMON_SECTION_HEADER)) {\r
//\r
// This occurs when a section stream exists, but no child sections\r
// have been parsed out yet. Therefore, extract the first child and add it\r
// to the list of children so we can get started.\r
+ // Section stream may contain an array of zero or more bytes. \r
+ // So, its size should be >= the size of commen section header.\r
//\r
Status = CreateChildNode (SourceStream, 0, &CurrentChildNode);\r
if (EFI_ERROR (Status)) {\r