diff options
author | pfg <pfg@FreeBSD.org> | 2016-05-05 01:29:53 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2016-05-05 01:29:53 +0000 |
commit | e82a8404964dd8e6d14e369305f04c4c71443dcc (patch) | |
tree | 6158d42171b9fd0b59c36ad414d7140841642868 /contrib/libc++/src | |
parent | efe552cfd5200a06d149077c06df1b4d226b8930 (diff) | |
download | FreeBSD-src-e82a8404964dd8e6d14e369305f04c4c71443dcc.zip FreeBSD-src-e82a8404964dd8e6d14e369305f04c4c71443dcc.tar.gz |
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.
Diffstat (limited to 'contrib/libc++/src')
0 files changed, 0 insertions, 0 deletions