summaryrefslogtreecommitdiffstats
path: root/contrib/libc++/src/valarray.cpp
diff options
context:
space:
mode:
authortruckman <truckman@FreeBSD.org>2016-05-20 07:18:33 +0000
committertruckman <truckman@FreeBSD.org>2016-05-20 07:18:33 +0000
commit3e7c4636cf83666cd3ab3b82895524105920a1d3 (patch)
treecb04a2d6ace178de8da90f89d1df4afdcd6fa90a /contrib/libc++/src/valarray.cpp
parentf13286bea2a5de0abb600bc6528987f21cf48a28 (diff)
downloadFreeBSD-src-3e7c4636cf83666cd3ab3b82895524105920a1d3.zip
FreeBSD-src-3e7c4636cf83666cd3ab3b82895524105920a1d3.tar.gz
MFC r299879, r299880
r299879 | truckman | 2016-05-15 18:30:32 -0700 (Sun, 15 May 2016) | 7 lines Likely a false positive ... but make sure that -1 can't be used as an array index by splitting up a test. r299880 | truckman | 2016-05-15 18:38:24 -0700 (Sun, 15 May 2016) | 8 lines Since rdata is only used as an argument to the immediately following call to res_nopt_rdata(), revert r299879 and fix CID 603941 by moving rdata = &buf[n]; inside the if block. Reported by: Coverity CID: 603941
Diffstat (limited to 'contrib/libc++/src/valarray.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud