<feed xmlns='http://www.w3.org/2005/Atom'>
<title>windows-driver-samples.git/network/ndis, branch user/jakobl/mtabow</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/windows-driver-samples.git/atom/network/ndis?h=user%2Fjakobl%2Fmtabow</id>
<link rel='self' href='http://cgit.235523.xyz/windows-driver-samples.git/atom/network/ndis?h=user%2Fjakobl%2Fmtabow'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/windows-driver-samples.git/'/>
<updated>2026-05-21T19:50:22Z</updated>
<entry>
<title>Merge pull request #1386 from andremueiot/user/andremueiot/multiplication_converted_to_larger_type</title>
<updated>2026-05-21T19:50:22Z</updated>
<author>
<name>5an7y-Microsoft</name>
<email>jvalesmena@microsoft.com</email>
</author>
<published>2026-05-21T19:50:22Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/windows-driver-samples.git/commit/?id=c7ad9e81acd5d28f339c7f007d6bc9d7ff24f7aa'/>
<id>urn:sha1:c7ad9e81acd5d28f339c7f007d6bc9d7ff24f7aa</id>
<content type='text'>
NDIS: Harden QoS bytes calculation in netvmini control path</content>
</entry>
<entry>
<title>ndis: Harden QoS bytes calculation in netvmini control path</title>
<updated>2026-05-20T17:53:41Z</updated>
<author>
<name>Andre Muezerie</name>
<email>andremue@linux.microsoft.com</email>
</author>
<published>2026-05-20T17:53:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/windows-driver-samples.git/commit/?id=c4289d33165d82afc4779f3d148a49e57f96b454'/>
<id>urn:sha1:c4289d33165d82afc4779f3d148a49e57f96b454</id>
<content type='text'>
- Replaced direct size arithmetic in NICSetQOSParameters with checked integer-safe operations.
- Added overflow handling for classification table size computation:
- Multiply NumClassificationElements × ClassificationElementSize via RtlULongMult.
- Add the revision header size via RtlULongAdd.
- Return NDIS_STATUS_INVALID_LENGTH when either checked operation fails, instead of relying on unchecked arithmetic.
</content>
</entry>
<entry>
<title>netvmini/rssv2: fix mixed-width comparison in processor lookup loop</title>
<updated>2026-05-14T20:53:59Z</updated>
<author>
<name>Andre Muezerie</name>
<email>andremue@linux.microsoft.com</email>
</author>
<published>2026-05-14T20:53:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/windows-driver-samples.git/commit/?id=566fe957730ddd523930ae1a82ec7bdee48e87af'/>
<id>urn:sha1:566fe957730ddd523930ae1a82ec7bdee48e87af</id>
<content type='text'>
Summary
This PR addresses a static-analysis warning in rssv2.c related to comparing values of different integer widths in a loop condition.

Changes
- Updated the loop index type in NICSetRSSv2FindProcessorInRssSet from UINT8 to ULONG to match RssProcessorCount width.
- Added an explicit cast when returning the found index: return (UINT8)index; to preserve the function’s return type and behavior.

Why
Using matching integer widths in loop comparisons avoids analyzer warnings and reduces risk of subtle boundary issues.

Impact
No functional behavior change is intended; this is a type-safety and code-quality fix for warning cleanup.
</content>
</entry>
<entry>
<title>Potentially uninitialized variable in ndisbind.c</title>
<updated>2026-04-27T18:46:12Z</updated>
<author>
<name>Andre Muezerie</name>
<email>andremue@linux.microsoft.com</email>
</author>
<published>2026-04-27T18:46:12Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/windows-driver-samples.git/commit/?id=d52da24eff0bc1f80c99d843e6e2846e21b73dac'/>
<id>urn:sha1:d52da24eff0bc1f80c99d843e6e2846e21b73dac</id>
<content type='text'>
These changes eliminate the warnings about uninitialized variables under network\ndis.
A macro was also added to prottest.c to suppress a (false) buffer overrun.
</content>
</entry>
<entry>
<title>Update samples to use WDF v15+</title>
<updated>2025-03-20T20:25:54Z</updated>
<author>
<name>Wei Mao</name>
<email>weimao1@gmail.com</email>
</author>
<published>2025-03-20T20:25:54Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/windows-driver-samples.git/commit/?id=b20980a63d4d35794c5266fef6b96f9199ab83d0'/>
<id>urn:sha1:b20980a63d4d35794c5266fef6b96f9199ab83d0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Standarize INF files enconding to UTF-16 (LE with BOM); renormalize files</title>
<updated>2024-07-02T00:33:16Z</updated>
<author>
<name>Adonais Romero Gonzalez</name>
<email>adonais.neoadonis@gmail.com</email>
</author>
<published>2024-07-02T00:33:16Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/windows-driver-samples.git/commit/?id=d5569c08aa2818c6240744bb47a00f67f20fdb54'/>
<id>urn:sha1:d5569c08aa2818c6240744bb47a00f67f20fdb54</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove x86 and ARM configurations for sample projects. (#1126)</title>
<updated>2024-02-26T17:47:25Z</updated>
<author>
<name>Adonais Romero González</name>
<email>adonais.neoadonis@gmail.com</email>
</author>
<published>2024-02-26T17:47:25Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/windows-driver-samples.git/commit/?id=3fcc0f2bee2fbd40fe953ecbcb15b2bd8b0d3eb9'/>
<id>urn:sha1:3fcc0f2bee2fbd40fe953ecbcb15b2bd8b0d3eb9</id>
<content type='text'>
* Removed Win32 and Arm from the project configurations.
* Set default platform to x64.</content>
</entry>
<entry>
<title>Add ARM64 support on remaining network samples. (#1125)</title>
<updated>2024-02-22T19:00:09Z</updated>
<author>
<name>Adonais Romero González</name>
<email>adonais.neoadonis@gmail.com</email>
</author>
<published>2024-02-22T19:00:09Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/windows-driver-samples.git/commit/?id=8daf2be4e9c294ede7b62da67155de63f0d59f19'/>
<id>urn:sha1:8daf2be4e9c294ede7b62da67155de63f0d59f19</id>
<content type='text'>
* Added ARM64 as a new project configuration in both Debug and Release modes.
* Set up properties for the ARM64 platform, including target version, debug libraries, driver target platform, driver type, and platform toolset.
* Included additional dependencies for the ARM64 build.
* Added ARM64 to the list of platforms for which the mux.dll file is packaged.
* Remove /CETCOMPAT as it's not compatible with ARM64</content>
</entry>
<entry>
<title>Add ARM64 as target platform on multiple samples (#1104)</title>
<updated>2024-02-19T22:26:14Z</updated>
<author>
<name>Adonais Romero González</name>
<email>adonais.neoadonis@gmail.com</email>
</author>
<published>2024-02-19T22:26:14Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/windows-driver-samples.git/commit/?id=cff1465ff184c6e89d43083f8430040e72d69283'/>
<id>urn:sha1:cff1465ff184c6e89d43083f8430040e72d69283</id>
<content type='text'>
* Add ARM64 as target platform on multiple samples

* Remove ARM64 from WFPSampler temporarily

---------

Co-authored-by: Jakob Lichtenberg (170957) &lt;jakobl@microsoft.com&gt;</content>
</entry>
<entry>
<title>Ndis mux inf violations (#973)</title>
<updated>2023-04-21T21:16:04Z</updated>
<author>
<name>kahashimoto-ms</name>
<email>117399367+kahashimoto-ms@users.noreply.github.com</email>
</author>
<published>2023-04-21T21:16:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/windows-driver-samples.git/commit/?id=10a103a40e75f4b98092c99e6f1b9ff9c3b20504'/>
<id>urn:sha1:10a103a40e75f4b98092c99e6f1b9ff9c3b20504</id>
<content type='text'>
* Delete deprecated directives DelFiles and DelService

* Add PnpLockdown=1 to the version section of the inf

* Add catalog file in muxp.inf

* Add PnpLockdown=1 to the version section of mux_mp.inf

* Add catalog file in mux_mp.inf

* include mux_mp.inf in the muxvaln project

* include muxp.inf in mux project. Add mux.dll as file to package. Note as of now the Notifyob proj must be built then mux.dll must be moved to the Project Directory

* Changed all DIRID to 13

* change all DIRID to 13

* Create build dependency so that mux.dll is generated before other projects.

* Include the mux.dll from the notifyob project into the build package

* Delete comments

* Edit muxp.inf so that DIRID 13 is used for installation above certain releases

* Change MUXP-&gt;MUXP_NC and MUXP_Update-&gt;MUXP. This makes the updated version look like the default. Old version called _NC for non-compliant

* Edit muxp.inf so that MUXP comes before MUXP_NC

* Make same edits to mux_mp.inf

* Enable the Control-flow Enforcement Technology (CET) Shadow Stack mitigation

* Fix Warning from runing Prefast static analysis

* Fix more warnings from running Prefast

* Use stampinf ARCH variable to replace all the hard coded architecures in mux_mp.inf

* Use stampinf ARCH variable to replace all the hard coded architecures in muxp.inf

* Delete extra comma typo

* Change encoding of mux_mp.inf to UTF-16 LE

* Change encoding of muxp.inf to UTF-16 LE

* Add the correct build number for installing network drivers with Dlls and upate comment in muxp.inf

* Add the correct build number for installing network drivers with Dlls and upate comment in mux_mp.inf

* Change all instances of MUXP tp MUXMP in mux_mp.inf

* Change Brace style to match existing code

* Fix mistakes returning win32 err for HRESULT, and leaking memory

* Fix mux_mp.inf to payload muxvlan.sys

* Edit to sln and vcxproj files to edit how build directories are made

* Edit vcxproj files to package correct files. Edit Target name for muxvlan project to be mux so the same inf files can be used for both projects

* Remove comments

* Fix mux_mp.inf to payload mux.sys

* fix mistakes returning win32 err instead of HRESULT, and leaking mem

* Change comment on mux_mp.inf explaining why build 25341 is used

* Free lpszBindName before return.</content>
</entry>
</feed>
