aboutsummaryrefslogtreecommitdiffstats
path: root/cparser/Parse.ml
diff options
context:
space:
mode:
authorBernhard Schommer <bernhardschommer@gmail.com>2017-01-31 14:44:05 +0100
committerBernhard Schommer <bernhardschommer@gmail.com>2017-01-31 14:44:05 +0100
commited55884ea9749f93ffd67f0734da0907fe338102 (patch)
treeae47fd6501b1cd2b5b2de31ce5872e58d0c5170e /cparser/Parse.ml
parent3581ae495677aeca93f013d67a4d4f7c171d9cc0 (diff)
downloadcompcert-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 'cparser/Parse.ml')
0 files changed, 0 insertions, 0 deletions