summaryrefslogtreecommitdiffstats
path: root/buf.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2017-04-20 21:10:55 -0700
committerKaz Kylheku <kaz@kylheku.com>2017-04-20 21:10:55 -0700
commit0ba765092f20424828a520d6ccda1c313dab08f0 (patch)
tree33afe887014553c32676612bec3dfca89a93a5c3 /buf.h
parent2a93dcfebf39ce77d3cfd3a180cacae8e8a5aacc (diff)
downloadtxr-0ba765092f20424828a520d6ccda1c313dab08f0.tar.gz
txr-0ba765092f20424828a520d6ccda1c313dab08f0.tar.bz2
txr-0ba765092f20424828a520d6ccda1c313dab08f0.zip
Bugfix: ash: right shifts of fixnums broken.
* arith.c (ash): The bn <= num_bits comparison here is always true because bn < 0, leading to undefined behavior when bn is sufficiently negative, due to the shift being as wide or wider than the number of bits in a cnum.
Diffstat (limited to 'buf.h')
0 files changed, 0 insertions, 0 deletions