X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FUniversal%2FNetwork%2FIp4Dxe%2FIp4Impl.c;h=84a39656f6a10e3e92dc4d37edc0e13dec4f8170;hp=362e084a7c8e9c6a6f98ceae3a19d36b745c4df5;hb=894d038a8d0e99d456042e2b6d1554c4a406ea70;hpb=f2a064736dcea55b602e0e74607cb9b5b9f4a730 diff --git a/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Impl.c b/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Impl.c index 362e084a7c..84a39656f6 100644 --- a/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Impl.c +++ b/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Impl.c @@ -1,6 +1,6 @@ /** @file -Copyright (c) 2005 - 2007, Intel Corporation.
+Copyright (c) 2005 - 2009, Intel Corporation.
All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -1314,6 +1314,10 @@ Ip4Groups ( // host byte order // if (JoinFlag) { + // + // When JoinFlag is TRUE, GroupAddress shouldn't be NULL. + // + ASSERT (GroupAddress != NULL); CopyMem (&Group, GroupAddress, sizeof (IP4_ADDR)); for (Index = 0; Index < IpInstance->GroupCount; Index++) {