From e27921f29d6b78d5c868d9160e5c12e9a49b4f97 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Sun, 16 Sep 2012 23:29:40 -0700 Subject: * mpi-patches/add-bitops: Bugfixes: mp_2comp is extended to properly allow arbitrarily wide complements (which causes the code to access beyond the a argument's digits array). A similar fix is applied in the new mp_clamp_comp function. Incorrect initializations of mp_int fixed in all the logic functions: mp_init was used instead of mp_init_size. --- ChangeLog | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 7fea1ebb..fbd21451 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2012-09-16 Kaz Kylheku + + * mpi-patches/add-bitops: Bugfixes: mp_2comp is extended to properly + allow arbitrarily wide complements (which causes the code to access + beyond the a argument's digits array). A similar fix is applied in + the new mp_clamp_comp function. Incorrect initializations of mp_int + fixed in all the logic functions: mp_init was used instead of + mp_init_size. + 2012-09-16 Kaz Kylheku * arith.c (logand, logior, logxor): Bugfix: result needs to be -- cgit v1.2.3