<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/NetworkPkg, branch dependabot/github_actions/github/codeql-action-4.39.3</title>
<subtitle>EDK II (mirror)</subtitle>
<id>https://git.radix-linux.su/Tianocore/edk2.git/atom?h=dependabot%2Fgithub_actions%2Fgithub%2Fcodeql-action-4.39.3</id>
<link rel='self' href='https://git.radix-linux.su/Tianocore/edk2.git/atom?h=dependabot%2Fgithub_actions%2Fgithub%2Fcodeql-action-4.39.3'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/'/>
<updated>2026-11-04T19:35:46+00:00</updated>
<entry>
<title>NetworkPkg/IScsiDxe: Check bounds before root path access</title>
<updated>2026-11-04T19:35:46+00:00</updated>
<author>
<name>Aaron Pop</name>
<email>aaronpop@microsoft.com</email>
</author>
<published>2026-09-09T20:37:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=6e3d7df43d56d3870b06828d94348371f752e282'/>
<id>urn:sha1:6e3d7df43d56d3870b06828d94348371f752e282</id>
<content type='text'>
CodeQL static analysis reports out-of-bounds reads in the iSCSI DHCP
root path parsing loops. The loop conditions read TmpStr[Index] before
checking Index against Length.

When a delimiter is absent before the end of the root path, Index
reaches Length and the old conditions perform a one-past-end read before
terminating. DHCP root paths are externally supplied, so the parser must
validate the index before accessing the buffer.

Reorder the conditions in the IPv4 and IPv6 parsing paths so the bounds
check short-circuits the buffer access. This prevents the out-of-bounds
reads and resolves the CodeQL static scanning failures.

Signed-off-by: Aaron Pop &lt;aaronpop@microsoft.com&gt;
</content>
</entry>
<entry>
<title>NetworkPkg/IScsiDxe: Align attempt count types</title>
<updated>2026-11-04T19:35:46+00:00</updated>
<author>
<name>Aaron Pop</name>
<email>aaronpop@microsoft.com</email>
</author>
<published>2026-09-02T21:26:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=2bcdc4c1ab5292b153b592eb11711f4025688545'/>
<id>urn:sha1:2bcdc4c1ab5292b153b592eb11711f4025688545</id>
<content type='text'>
Define the attempt count and loop index as UINT8 to match
PcdMaxIScsiAttemptNumber and the stored attempt index type. This avoids
comparing the attempt index against a wider integer type.

Signed-off-by: Aaron Pop &lt;aaronpop@microsoft.com&gt;
</content>
</entry>
<entry>
<title>NetworkPkg/TcpDxe: Check ICMP error status</title>
<updated>2026-11-04T19:35:46+00:00</updated>
<author>
<name>Aaron Pop</name>
<email>aaronpop@microsoft.com</email>
</author>
<published>2026-09-02T20:11:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=4e6323eb1f019c2190245958a78fa6ffaa658e36'/>
<id>urn:sha1:4e6323eb1f019c2190245958a78fa6ffaa658e36</id>
<content type='text'>
Call SOCK_ERROR only when the translated ICMP status is an EFI error
and socket notification is requested. This prevents a successful status
from being reported as a socket error.

Signed-off-by: Aaron Pop &lt;aaronpop@microsoft.com&gt;
</content>
</entry>
<entry>
<title>NetworkPkg/HttpDxe: Fix packet buffer leaks</title>
<updated>2026-11-04T19:35:46+00:00</updated>
<author>
<name>Aaron Pop</name>
<email>aaronpop@microsoft.com</email>
</author>
<published>2026-08-31T22:19:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=44b61d98518aa05467e0b215c41274ff2e2fb707'/>
<id>urn:sha1:44b61d98518aa05467e0b215c41274ff2e2fb707</id>
<content type='text'>
Free PacketOut when NetbufAllocSpace() fails in the TLS connection,
shutdown, and HTTPS receive paths. Otherwise, the error paths return
without releasing the previously allocated network buffer.

Signed-off-by: Aaron Pop &lt;aaronpop@microsoft.com&gt;
</content>
</entry>
<entry>
<title>NetworkPkg: Fix loop index type mismatches</title>
<updated>2026-11-04T19:35:46+00:00</updated>
<author>
<name>Aaron Pop</name>
<email>aaronpop@microsoft.com</email>
</author>
<published>2026-08-31T19:45:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=b99701bed992788f8d517079e78a6a89e5e0ffff'/>
<id>urn:sha1:b99701bed992788f8d517079e78a6a89e5e0ffff</id>
<content type='text'>
Use loop index types that can represent the corresponding count or
buffer size. This prevents truncation and wraparound when loop bounds
exceed the range of the narrower index type.

Signed-off-by: Aaron Pop &lt;aaronpop@microsoft.com&gt;
</content>
</entry>
<entry>
<title>NetworkPkg/DnsDxe: Add NULL guards after ASSERT in ParseDnsResponse</title>
<updated>2026-11-03T17:51:51+00:00</updated>
<author>
<name>abuthahirm</name>
<email>abuthahirm@ami.com</email>
</author>
<published>2026-08-26T09:39:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=d05ad866fc7082e689bead58c7b45378f13ac9f7'/>
<id>urn:sha1:d05ad866fc7082e689bead58c7b45378f13ac9f7</id>
<content type='text'>
Coverity reports four potential null-dereference defects in
ParseDnsResponse in DnsImpl.c where variables are asserted non-NULL
and then immediately dereferenced. In release builds where ASSERT
compiles to a no-op, the assert provides no protection and the
dereference can occur with a NULL pointer.

1 &amp; 2. Item (IPv4 and IPv6 branches): After IsValidDnsResponse()
   returns TRUE, Item is asserted non-NULL and then used to obtain
   the token entry. Add an explicit NULL check for Item in both the
   IP_VERSION_4 and IP_VERSION_6 branches; if NULL, set
   *Completed = FALSE and return EFI_ABORTED via ON_EXIT.

3 &amp; 4. Dns4TokenEntry / Dns6TokenEntry (switch cases): In the
   DNS_TYPE_A and DNS_TYPE_AAAA cases of the answer-parsing loop,
   Dns4TokenEntry and Dns6TokenEntry are asserted non-NULL and then
   dereferenced to access response data. Add matching NULL guards
   that return EFI_ABORTED via ON_EXIT if the pointer is NULL.

Also remove the redundant Status = EFI_SUCCESS initialization at the
top of the function, since every other code path assigns Status
before it is read. To keep this true, explicitly set
Status = EFI_SUCCESS in the DNS_TYPE_CNAME case, which previously
relied on the removed initialization to leave Status successful when
a CNAME record is the only or first answer processed.

Coverity CID: null pointer dereference, uninitialized variable.

Cc: Saloni Kasbekar &lt;saloni.kasbekar@intel.com&gt;
Cc: Zachary Clark-williams &lt;zachary.clark-williams@intel.com&gt;
Cc: Mike Beaton &lt;mjsbeaton@gmail.com&gt;
Signed-off-by: Abuthahir M &lt;abuthahirm@ami.com&gt;
</content>
</entry>
<entry>
<title>NetworkPkg/Ip4Dxe: rework request string handling in Ip4FormExtractConfig</title>
<updated>2026-11-02T18:40:07+00:00</updated>
<author>
<name>Leif Lindholm</name>
<email>leif.lindholm@oss.qualcomm.com</email>
</author>
<published>2026-10-29T16:44:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=12ff0d7e1a6993c65d826bc49af365e58f924689'/>
<id>urn:sha1:12ff0d7e1a6993c65d826bc49af365e58f924689</id>
<content type='text'>
ConfigRequest is either newly created in this function (if needed), or is
initialized to point to same location as Request.

A boolean was used to determine whether allocation had happened and
required freeing. Drop that and compare the pointers instead.

Also set ConfigRequest = Request only in the else case, not always and
then override.

Signed-off-by: Leif Lindholm &lt;leif.lindholm@oss.qualcomm.com&gt;
</content>
</entry>
<entry>
<title>NetworkPkg/Ip4Dxe: use scope-local variables in Ip4FormExtractConfig</title>
<updated>2026-11-02T18:40:07+00:00</updated>
<author>
<name>Leif Lindholm</name>
<email>leif.lindholm@oss.qualcomm.com</email>
</author>
<published>2026-10-29T16:44:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=d2ab889263633857cc228c5b7593c40e4ad73d1f'/>
<id>urn:sha1:d2ab889263633857cc228c5b7593c40e4ad73d1f</id>
<content type='text'>
Some variables are only used in the case where a new Request string
is allocated, so move them into that scope.

Signed-off-by: Leif Lindholm &lt;leif.lindholm@oss.qualcomm.com&gt;
</content>
</entry>
<entry>
<title>NetworkPkg/Ip4Dxe: drop BufferSize variable in Ip4FormExtractConfig</title>
<updated>2026-11-02T18:40:07+00:00</updated>
<author>
<name>Leif Lindholm</name>
<email>leif.lindholm@oss.qualcomm.com</email>
</author>
<published>2026-10-29T17:39:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=70e47971f136ac952aa94cadf7f9db48ec399ce6'/>
<id>urn:sha1:70e47971f136ac952aa94cadf7f9db48ec399ce6</id>
<content type='text'>
BufferSize is only used twice in the function, as shorthand for
sizeof (IP4_CONFIG2_IFR_NVDATA). The code is clearer without it,
with the sizeofs inline.

Signed-off-by: Leif Lindholm &lt;leif.lindholm@oss.qualcomm.com&gt;
</content>
</entry>
<entry>
<title>NetworkPkg/Ip4Dxe: skip redundant NULL-init in Ip4FormExtractConfig</title>
<updated>2026-11-02T18:40:07+00:00</updated>
<author>
<name>Leif Lindholm</name>
<email>leif.lindholm@oss.qualcomm.com</email>
</author>
<published>2026-10-29T17:33:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=f864752298e5c85b68fb81bc831ae04da08ace0a'/>
<id>urn:sha1:f864752298e5c85b68fb81bc831ae04da08ace0a</id>
<content type='text'>
FormResult is only used on the success path, where it is always
initialized, so drop the dummy NULL-initialization.

IfrFormNvData was always unconditionally initialized anyway, so
drop the redundant NULL-initialization.

Signed-off-by: Leif Lindholm &lt;leif.lindholm@oss.qualcomm.com&gt;
</content>
</entry>
</feed>
