HomeFreeBSD

MFC r298731, r298734:

Description

MFC r298731, r298734:
ndis(4): unsign some indexes to prevent overflows.

The "len" parameter is uint32_t, indexing it with an int may
end up in a signed integer overflow.

strlen(3) returns an integer of size_t but a correponding index
of type u_int is more than enough.

Details

Provenance
pfgAuthored on
Parents
rS299102: Remove REQUIRE: on atm1 so netif no longer needs atm1 to be installed
Branches
Unknown
Tags
Unknown