| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
This PR performs a whitespace-only cleanup by removing trailing spaces/tabs from source files under network\ndis. This is to reduce noise when making changes using AI so that future reviews are easier to be done by humans.
No functional logic changes were introduced.
What Changed
1. Removed end-of-line trailing whitespace in text files.
2. Kept file encoding and line endings intact by applying byte-preserving edits.
Risk / Impact
1. Low risk: formatting-only change.
2. No API, behavior, or build configuration changes intended.
|
|
andremueiot/user/andremueiot/multiplication_converted_to_larger_type
NDIS: Harden QoS bytes calculation in netvmini control path
|
|
- 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.
|
|
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.
|
|
|
|
* Removed Win32 and Arm from the project configurations.
* Set default platform to x64.
|
|
* Add ARM64 as target platform on multiple samples
* Remove ARM64 from WFPSampler temporarily
---------
Co-authored-by: Jakob Lichtenberg (170957) <[email protected]>
|
|
Driver' (#971)
Co-authored-by: Jason Knichel <[email protected]>
|
|
* Enable stampinf arch replacement for netvmini60
* delete stray comma
* Enable stampinf arch replacement for netvmini620
* Enable stampinf arch replacement for netvmini630
* Enable stampinf arch replacement for netvmini680
* Enable the CET Shadow Stack mitigation for each netvmini60,620,630,680 projects
|
|
updates (#928)
Co-authored-by: Jason Knichel <[email protected]>
|
|
* Opt-in many Desktop samples for ApiValidator
ApiValidator is passing for many of our samples
marked Desktop. This is promising and it is worth
running ApiValidator on these to ensure they stay within
the Universal API limits.
* Shift avstream/sampledevicemft sample to use mfcore.dll rather than mf.dll
* Opt many samples in for Universal validation
Many of our driver samples build cleanly agains the UniversalDDIs.xml
API list. Opting these in as Universal helps protect their API surface
against accidentally picking up more Desktop-only APIs.
* Revert "Opt-in many Desktop samples for ApiValidator"
This reverts commit a6aa7e6797ab01e6b15c8a4e1cbcea6d7a615629.
---------
Co-authored-by: Michael Bernstein (DPLAT) <[email protected]>
|
|
* add NDIS_SUPPORT_NDIS680 in #if directive in adapter.c
* add NDIS_SUPPORT_NDIS680 in #if directive in miniport.c
* fix driver isolation violation 1323 for netvmini680.inf
* fix driver isolation violation 1322 for netvmini680.inf
* set NIC_PHYSICAL_MEDIUM to NdisPhysicalMedium802_3 in hardware.h
* change local type from ULONG to UINT8 to match return type
* Remove AddReg TextModeFlags in inf for netvmini680
|
|
drivers. (#803)
* fix driver isolation violations 1322 1323 for netvmini60.inf
* fix driver isolation violations 1322 1323 for netvmini620.inf
* fix driver isolation violations 1322 1323 for netvmini630.inf
* change local type from ULONG to UINT8 to match return type
* Remove AddReg TextModeFlags in inf for netvmini60
* Remove AddReg TextModeFlags in inf for netvmini620
* Remove AddReg TextModeFlags in inf for netvmini630
|
|
fix UINT8 comparison with ULONG
|
|
|
|
|
|
* Update README.md
* Update README.md
|
|
|
|
* Update README.md
* Update README.md
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Update README.md for samples portal
* Update README.md for samples portal
* Removed installwdf
* Update fork (#2)
* Fix typo
ture -> true
* Remove InstallWdf sample
* Fix typo (#340)
ture -> true
* Readme typo fix (#349)
* Update langid
|
|
* Rename YAML manifests to use .yml extension
* Add preserveParentHierarchy: true to YAML manifest
* Updated YAML manifest for Microsoft Samples portal.
* Fix YAML newline warnings
* Updated vssolution path in YAML manifests
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Fix #2 Enabling WPP Recorder in Sensors Samples causes errors
Fix #4 Add back fixed KMDOD sample
Add new BarcodeScanner sample in pos folder
Add new MagneticStripeReader sample in pos folder
Add new SynpaticsTouch sample in input folder
Add new Power Engine Plugin sample in pofx folder
Add new DeviceMft sample in avstream folder
Add new AvsCamera sample in root
Add new SimBatt sample in root
Add other pre-existing samples not yet released for Win10
|
|
|
|
|