summaryrefslogtreecommitdiffstats
path: root/contrib/libc++/src/thread.cpp
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2016-05-05 01:29:53 +0000
committerpfg <pfg@FreeBSD.org>2016-05-05 01:29:53 +0000
commite82a8404964dd8e6d14e369305f04c4c71443dcc (patch)
tree6158d42171b9fd0b59c36ad414d7140841642868 /contrib/libc++/src/thread.cpp
parentefe552cfd5200a06d149077c06df1b4d226b8930 (diff)
downloadFreeBSD-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/thread.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud