summaryrefslogtreecommitdiffstats
path: root/protsym.c
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
commit7dc634268cb7e33b02462667c1827e7dc146c4ad (patch)
tree937c8ad2baede33fe9ee1db0686df865f9cbdfe8 /protsym.c
parente640d29522bd832f88874a6c955e14031481e380 (diff)
downloadtxr-7dc634268cb7e33b02462667c1827e7dc146c4ad.tar.gz
txr-7dc634268cb7e33b02462667c1827e7dc146c4ad.tar.bz2
txr-7dc634268cb7e33b02462667c1827e7dc146c4ad.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 'protsym.c')
0 files changed, 0 insertions, 0 deletions