edk2/NetworkPkg/DnsDxe
abuthahirm a90f2a0d9a NetworkPkg/DnsDxe: Add error check for Dhcp4->Build
In GetDns4ServerFromDhcp4(), the return value of Dhcp4->Build()
was not checked. Add error handling and a NULL check on the
resulting Token.Packet before use.

Cc: Saloni Kasbekar <saloni.kasbekar@intel.com>
Cc: Zachary Clark-williams <zachary.clark-williams@intel.com>

Signed-off-by: abuthahirm <abuthahirm@ami.com>
2026-06-04 15:32:31 +00:00
..
ComponentName.c NetworkPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
DnsDhcp.c NetworkPkg/DnsDxe: Add error check for Dhcp4->Build 2026-06-04 15:32:31 +00:00
DnsDhcp.h NetworkPkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
DnsDriver.c NetworkPkg: Remove redundant Status initializations 2026-06-04 15:32:31 +00:00
DnsDriver.h NetworkPkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
DnsDxe.inf NetworkPkg: Remove unnecessary MdeModulePkg/MdeModulePkg.dec dependency in INF 2019-10-08 09:20:34 +08:00
DnsDxe.uni NetworkPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:15 -07:00
DnsDxeExtra.uni NetworkPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:15 -07:00
DnsImpl.c NetworkPkg/DnsDxe: Refactor answer loop to for in ParseDnsResponse 2026-05-01 14:21:01 +00:00
DnsImpl.h NetworkPkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
DnsProtocol.c NetworkPkg: Remove redundant Status initializations 2026-06-04 15:32:31 +00:00