summaryrefslogtreecommitdiffstats
path: root/mpi/mpi-types.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2017-06-17 09:02:52 -0700
committerKaz Kylheku <kaz@kylheku.com>2017-06-17 09:02:52 -0700
commit300d88cdf00286795ee5bf89cab190d91f5195b6 (patch)
tree937c8ad2baede33fe9ee1db0686df865f9cbdfe8 /mpi/mpi-types.h
parent92fd7cf9fb500f11dbe3c231900d95c68b79faac (diff)
downloadtxr-300d88cdf00286795ee5bf89cab190d91f5195b6.tar.gz
txr-300d88cdf00286795ee5bf89cab190d91f5195b6.tar.bz2
txr-300d88cdf00286795ee5bf89cab190d91f5195b6.zip
ash: check range of bits argument.
mp_shift takes an int argument, but we decode bits to a cnum, leaving possible room for overflow, such as when cnum is 64 bits and int is 32. If the value * arith.c (ash): Check that the value is in the range of INT_MIN to INT_MAX.
Diffstat (limited to 'mpi/mpi-types.h')
0 files changed, 0 insertions, 0 deletions