summaryrefslogtreecommitdiffstats
path: root/contrib/libc++/src/valarray.cpp
diff options
context:
space:
mode:
authortruckman <truckman@FreeBSD.org>2016-05-23 05:27:31 +0000
committertruckman <truckman@FreeBSD.org>2016-05-23 05:27:31 +0000
commit35c2107e56b62c2a35e9e08dcc0d4b0cd113c249 (patch)
tree264440de04ffe54dacdce69797ec54b5ff02ef4f /contrib/libc++/src/valarray.cpp
parent1a3fe93a58058dd57250ad95a05968b61346a3a8 (diff)
downloadFreeBSD-src-35c2107e56b62c2a35e9e08dcc0d4b0cd113c249.zip
FreeBSD-src-35c2107e56b62c2a35e9e08dcc0d4b0cd113c249.tar.gz
MFC r299986
Actually use the loop interation limit so carefully computed on the previous line to prevent buffer overflow. This turns out to not be important because the upstream xdr code already capped the object size at the proper value. Using the correct limit here looks a lot less scary and should please Coverity. Reported by: Coverity CID: 1199309, 1199310
Diffstat (limited to 'contrib/libc++/src/valarray.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud