summaryrefslogtreecommitdiffstats
path: root/RELNOTES
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-06-08 05:45:27 -0700
committerKaz Kylheku <kaz@kylheku.com>2016-06-08 05:45:27 -0700
commitede703bad4192140ac637a2bff3603e5a5567510 (patch)
tree0daeb2f068f40f2f9375253aff1f084faf65274f /RELNOTES
parent72e8f0fdc06255a538078eb50334d584fbf0cebd (diff)
downloadtxr-ede703bad4192140ac637a2bff3603e5a5567510.tar.gz
txr-ede703bad4192140ac637a2bff3603e5a5567510.tar.bz2
txr-ede703bad4192140ac637a2bff3603e5a5567510.zip
Fix leaks in use of MPI and within MPI.
* arith.c (logand, logior, logxor): Use make_ubignum to create an uninitialized bignum, because mp_and, mp_or, and mp_xor expect argument c to be uninitialized, and clobber it by initializing. (comp_trunc): Use make_ubignum for b argument, because mp_trunk_comp initializes it. (lognot, logtrunc): Use make_ubignum for b, because mp_trunc initializes it. * mpi/mpi.c (mp_and, mp_or, mp_xor, mp_comp, mp_trunc_comp, mp_trunc, mp_shift, mp_bit): Do not initialize the tmp that is passed as argument b to mp_2comp, since that function initializes it.
Diffstat (limited to 'RELNOTES')
0 files changed, 0 insertions, 0 deletions