diff options
| author | Andre Muezerie <[email protected]> | 2026-05-20 13:53:41 -0400 |
|---|---|---|
| committer | Andre Muezerie <[email protected]> | 2026-05-20 13:53:41 -0400 |
| commit | c4289d33165d82afc4779f3d148a49e57f96b454 (patch) | |
| tree | a7d3fefcae06f102483fa0c55c415fb12c2f3d33 /network/config/bindview/NetCfgAPI.cpp | |
| parent | d7ba74afdcff77fd65180d14a429937f93000779 (diff) | |
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.
Diffstat (limited to 'network/config/bindview/NetCfgAPI.cpp')
0 files changed, 0 insertions, 0 deletions
