diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-11-15 06:25:49 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-11-15 06:25:49 -0800 |
commit | 1218e286e5838e225a26875cb934bcbae48b3e17 (patch) | |
tree | 03c56c1932fb71fb6206df55a299b3d50c07f356 /jmp.S | |
parent | a68badce7390a6e98e69ab17240265215ce764d4 (diff) | |
download | txr-1218e286e5838e225a26875cb934bcbae48b3e17.tar.gz txr-1218e286e5838e225a26875cb934bcbae48b3e17.tar.bz2 txr-1218e286e5838e225a26875cb934bcbae48b3e17.zip |
mpi: must clamp result of conversion to bignum.
* mpi/mpi.c (mp_set_uintptr, mp_set_double_intptr): The value of z might
not require all of the digits implied by the size of its C data type.
We must clamp the result to trim trailing zero limbs from the bignum.
Diffstat (limited to 'jmp.S')
0 files changed, 0 insertions, 0 deletions