<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/NetworkPkg, branch dependabot/github_actions/actions/github-script-9</title>
<subtitle>EDK II (mirror)</subtitle>
<id>https://git.radix-linux.su/Tianocore/edk2.git/atom?h=dependabot%2Fgithub_actions%2Factions%2Fgithub-script-9</id>
<link rel='self' href='https://git.radix-linux.su/Tianocore/edk2.git/atom?h=dependabot%2Fgithub_actions%2Factions%2Fgithub-script-9'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/'/>
<updated>2026-05-01T14:21:01+00:00</updated>
<entry>
<title>NetworkPkg/DnsDxe: Refactor answer loop to for in ParseDnsResponse</title>
<updated>2026-05-01T14:21:01+00:00</updated>
<author>
<name>abuthahirm</name>
<email>abuthahirm@ami.com</email>
</author>
<published>2026-03-25T14:14:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=6d4e973807846201e598b3c5e919c5f85f6f3675'/>
<id>urn:sha1:6d4e973807846201e598b3c5e919c5f85f6f3675</id>
<content type='text'>
The answer section loop in ParseDnsResponse() iterated a counter
AnswerSectionNum from 0 to DnsHeader-&gt;AnswersNum using a while loop
with a manual increment at the bottom. Convert it to an equivalent
for loop to make the initialization, condition, and increment
explicit.

Also replace the unconditional Status = EFI_NOT_FOUND assignment
before the loop with a conditional that only sets it when the loop
is never entered (DnsHeader-&gt;AnswersNum == 0). ParseDnsResponse()
initializes Status to EFI_SUCCESS at function entry, and the loop
body always overwrites Status, so the pre-assignment was dead code
in the common case. The conditional form makes the intent explicit:
EFI_NOT_FOUND is only the result when there are no answer records.

Cc: Saloni Kasbekar &lt;saloni.kasbekar@intel.com&gt;
Cc: Zachary Clark-williams &lt;zachary.clark-williams@intel.com&gt;

Signed-off-by: abuthahirm &lt;abuthahirm@ami.com&gt;
</content>
</entry>
<entry>
<title>NetworkPkg/Ip4Dxe: Fix missing Status check on Ip4Cfg2-&gt;SetData call</title>
<updated>2026-05-01T14:21:01+00:00</updated>
<author>
<name>abuthahirm</name>
<email>abuthahirm@ami.com</email>
</author>
<published>2026-03-25T14:13:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=ccc95703cd8be092c490d6b37ea4ab5787317411'/>
<id>urn:sha1:ccc95703cd8be092c490d6b37ea4ab5787317411</id>
<content type='text'>
In Ip4Config2ConvertIfrNvDataToConfigNvData(), when the policy is
changed away from a static configuration (PolicyChanged is TRUE), the
first call to Ip4Cfg2-&gt;SetData() was not checking its return value and
always returned EFI_SUCCESS. Fix this to check and return Status on
error, consistent with the second SetData call in the same function.

Cc: Saloni Kasbekar &lt;saloni.kasbekar@intel.com&gt;
Cc: Zachary Clark-williams &lt;zachary.clark-williams@intel.com&gt;

Signed-off-by: abuthahirm &lt;abuthahirm@ami.com&gt;
</content>
</entry>
<entry>
<title>NetworkPkg/Ip4Dxe: Reject IPv4 addresses ending with dot</title>
<updated>2026-04-29T21:25:12+00:00</updated>
<author>
<name>abuthahirm</name>
<email>abuthahirm@ami.com</email>
</author>
<published>2026-04-07T05:31:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=5acaac4f322d273eb40f22a894d9b638bd734039'/>
<id>urn:sha1:5acaac4f322d273eb40f22a894d9b638bd734039</id>
<content type='text'>
Issue: UI accepts invalid IPv4 addresses ending with a dot in the
IPv4 Network Configuration page. Examples:
- Local IP Address: 192.168.1.10.
- Subnet Mask: 255.255.255.0.
- Gateway: 2.2.2.2.
- DNS Servers: 1.1.1.1.

Root Cause:
The function Ip4Config2StrToIp converts user-entered IPv4 strings
into numbers. When an address ending with a dot like '1.1.1.1.' is
entered, the code skips over the 4th dot, reaches the string's null
terminator, and incorrectly treats it as valid.

Fix:
Refactor Ip4Config2StrToIp to be a thin wrapper around the existing
BaseLib StrToIpv4Address() helper. After parsing, the EndPointer is
checked to ensure the entire string was consumed (i.e. EndPointer
points to the null terminator). Any trailing characters, including
a trailing dot, cause EFI_INVALID_PARAMETER to be returned.

Signed-off-by: Abuthahir M &lt;abuthahirm@ami.com&gt;
</content>
</entry>
<entry>
<title>NetworkPkg/GoogleTest: Remove duplicate file name in INF file</title>
<updated>2026-04-29T09:18:10+00:00</updated>
<author>
<name>Qihang Gao</name>
<email>gaoqihang@loongson.cn</email>
</author>
<published>2026-04-22T09:59:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=6d4f24a749003fbb5e0a344439e0488603a40ca7'/>
<id>urn:sha1:6d4f24a749003fbb5e0a344439e0488603a40ca7</id>
<content type='text'>
In GoogleTest driver, Ip6OptionGoogleTest.h appears twice in [Sources]
section, so remove the duplicate one.

Signed-off-by: Qihang Gao &lt;gaoqihang@loongson.cn&gt;
</content>
</entry>
<entry>
<title>NetworkPkg/HttpBootDxe: Add all events to HttpBootHttpCallback()</title>
<updated>2026-04-27T23:30:35+00:00</updated>
<author>
<name>copilot-swe-agent[bot]</name>
<email>198982749+Copilot@users.noreply.github.com</email>
</author>
<published>2026-04-07T05:26:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=2f3883dd5912c33f8a7eecb353b9cab17c696414'/>
<id>urn:sha1:2f3883dd5912c33f8a7eecb353b9cab17c696414</id>
<content type='text'>
Include other events from EDKII_HTTP_CALLBACK_EVENT to print failure
information in the event of HTTP Boot failure

Signed-off-by: Saloni Kasbekar &lt;saloni.kasbekar@intel.com&gt;
</content>
</entry>
<entry>
<title>NetworkPkg/HttpBootDxe: Print TLS errors on screen during HTTP boot</title>
<updated>2026-04-06T19:25:44+00:00</updated>
<author>
<name>Saloni Kasbekar</name>
<email>saloni.kasbekar@intel.com</email>
</author>
<published>2026-03-25T17:53:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=56b1ab8ca30fc40c1f57a586c935cbbf18befac2'/>
<id>urn:sha1:56b1ab8ca30fc40c1f57a586c935cbbf18befac2</id>
<content type='text'>
Install EDKII_HTTP_CALLBACK_PROTOCOL in HttpBootDxe to receive TLS
events from HttpDxe during the HTTP Boot process. When a TLS error
occurs (failed TLS session connection or TLS configuration), print an
error message on screen using AsciiPrint().

The callback is installed in HttpBootInstallCallback() and uninstalled
in HttpBootUninstallCallback(), ensuring TLS errors are only printed
during the HTTP Boot process and not for other TLS accesses.

Signed-off-by: Saloni Kasbekar &lt;saloni.kasbekar@intel.com&gt;
</content>
</entry>
<entry>
<title>NetworkPkg/UefiPxeBcDxe: Add missing Token.Context initialization</title>
<updated>2026-04-01T00:11:57+00:00</updated>
<author>
<name>Michael Kubacki</name>
<email>michael.kubacki@microsoft.com</email>
</author>
<published>2026-02-26T16:50:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=83060dd335dc9d075c82f89a558b575684af0bd7'/>
<id>urn:sha1:83060dd335dc9d075c82f89a558b575684af0bd7</id>
<content type='text'>
Adds missing `Token.Context = Private` initialization in two MTFTP
write-file functions. Without this, the `Context` field passed to the
MTFTP `WriteFile` callback was uninitialized, which could lead to a
page fault when the callback attempted to access the `Private` driver
context. The corresponding read-file functions already set this field
correctly.

Signed-off-by: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
</content>
</entry>
<entry>
<title>NetworkPkg: Reset DHCP Service Binding IO Status on Stop</title>
<updated>2026-03-26T17:07:43+00:00</updated>
<author>
<name>Michael Kubacki</name>
<email>michael.kubacki@microsoft.com</email>
</author>
<published>2026-02-03T23:14:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=b989871c8792e93333ddc9fc3a5d8fa31b5c9c88'/>
<id>urn:sha1:b989871c8792e93333ddc9fc3a5d8fa31b5c9c88</id>
<content type='text'>
Resets DhcpSb-&gt;IoStatus on stop to prevent a stale state from
persisting which might impact future operations dependent on
the IO status.

Co-authored-by: Wenbo Hou &lt;wenbhou@microsoft.com&gt;
Signed-off-by: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
</content>
</entry>
<entry>
<title>NetworkPkg: Ip4Dxe/Ip6Dxe: Set SB notify to NULL after event close</title>
<updated>2026-03-17T21:55:49+00:00</updated>
<author>
<name>Michael Kubacki</name>
<email>michael.kubacki@microsoft.com</email>
</author>
<published>2026-02-27T20:30:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=e1103f7dcad61cff5ad2a4ff15c4188af536a447'/>
<id>urn:sha1:e1103f7dcad61cff5ad2a4ff15c4188af536a447</id>
<content type='text'>
Ip4StartAutoConfig() and Ip6ConfigStartStatefulAutoConfig() close the
DHCP service binding notify event when the service child is
successfully created, but do not NULL the instance field afterward.

On re-entry, the stale handle passes the non-NULL condition and is
closed a second time, which results in a page fault with memory
protections enabled.

This change sets the event field to NULL immediately after
CloseEvent() so that subsequent calls skip attempting to close the
event again.

Signed-off-by: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
</content>
</entry>
<entry>
<title>NetworkPkg: align UNI file headers with UNI Spec standard</title>
<updated>2026-03-02T19:32:17+00:00</updated>
<author>
<name>Alexander Gryanko</name>
<email>xpahos@gmail.com</email>
</author>
<published>2026-02-11T10:27:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=7347c32f65135e3218ed2e0806250c13c88374c8'/>
<id>urn:sha1:7347c32f65135e3218ed2e0806250c13c88374c8</id>
<content type='text'>
The Uni file standard specifies that comments begin with the
characters "//". The following files contained incorrectly
formatted C-style comments and have been updated:

NetworkPkg/Application/VConfig/VConfigStrings.uni
NetworkPkg/HttpBootDxe/HttpBootConfigStrings.uni
NetworkPkg/Ip6Dxe/Ip6DxeStrings.uni
NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxeStrings.uni

The problems were identified during testing of the parser
https://github.com/xpahos/edk2-idea.

Signed-off-by: Alexander Gryanko &lt;xpahos@gmail.com&gt;
</content>
</entry>
</feed>
