diff options
author | Bernhard Schommer <bernhardschommer@gmail.com> | 2017-01-31 14:44:05 +0100 |
---|---|---|
committer | Bernhard Schommer <bernhardschommer@gmail.com> | 2017-01-31 14:44:05 +0100 |
commit | ed55884ea9749f93ffd67f0734da0907fe338102 (patch) | |
tree | ae47fd6501b1cd2b5b2de31ce5872e58d0c5170e /test/raytracer/gmlparser.h | |
parent | 3581ae495677aeca93f013d67a4d4f7c171d9cc0 (diff) | |
download | compcert-ed55884ea9749f93ffd67f0734da0907fe338102.tar.gz compcert-ed55884ea9749f93ffd67f0734da0907fe338102.zip |
Avoid overflows and report an error.
Instead of multiplying the array constant directly with the
size of the offset the cautious_mul function is used to detect
potential overflows.
Bug 20765
Diffstat (limited to 'test/raytracer/gmlparser.h')
0 files changed, 0 insertions, 0 deletions