ndis(4): Avoid overflow.
This is a long standing problem: our random() function returns an
unsigned integer but the rand provided by ndis(4) returns an int.
Scale it down.
MFC after: 2 weeks
ndis(4): Avoid overflow. Tags None Referenced Files None Subscribers None
Description
Details
|