summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Checkers/ChrootChecker.cpp
diff options
context:
space:
mode:
authorYaron Keren <yaron.keren@gmail.com>2016-05-31 13:45:05 +0000
committerYaron Keren <yaron.keren@gmail.com>2016-05-31 13:45:05 +0000
commita34bfa000fda5d5f0c77700a071b3d08624297d2 (patch)
treee1d3252b1468536d75c7ffd84de43da1c1accebe /clang/lib/StaticAnalyzer/Checkers/ChrootChecker.cpp
parent8ef3f0fa5b12b0903b4f331ee477efeb5df125d2 (diff)
downloadbcm5719-llvm-a34bfa000fda5d5f0c77700a071b3d08624297d2.tar.gz
bcm5719-llvm-a34bfa000fda5d5f0c77700a071b3d08624297d2.zip
Do not modify a std::vector while looping it.
Introduced in r271244, this is probably undefined behaviour and asserts when compiled with Visual C++ debug mode. On further note, the loop is quadratic with regard to the number of successors since removeSuccessor is linear and could probably be modified to linear time. llvm-svn: 271278
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/ChrootChecker.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud