summaryrefslogtreecommitdiffstats
path: root/linenoise
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-02-24 06:35:17 -0800
committerKaz Kylheku <kaz@kylheku.com>2021-02-24 06:35:17 -0800
commit4464034b7ccace6152299b746dcc0a964d16ad34 (patch)
treefa712eff8ce5f4e4a37a1e3f2fe013f96e620c5c /linenoise
parent2617a362590670c1f2b61694be7295ac103adf9e (diff)
downloadtxr-4464034b7ccace6152299b746dcc0a964d16ad34.tar.gz
txr-4464034b7ccace6152299b746dcc0a964d16ad34.tar.bz2
txr-4464034b7ccace6152299b746dcc0a964d16ad34.zip
mpi: bugfix: out-of-bounds access in or, xor.
* mpi/mpi.c (mp_or, mp_xor): The main loop must only iterate up to the minimum number of digits between the two source operands, not the maximum number of digits, because otherwise it will access past the end of the shorter bignum's digit array.
Diffstat (limited to 'linenoise')
0 files changed, 0 insertions, 0 deletions