1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-17 17:20:29 +02:00

*** empty log message ***

This commit is contained in:
Kevin Ryde 2004-12-08 22:56:52 +00:00
parent 0e66d88fa2
commit 6255e812dc
2 changed files with 21 additions and 0 deletions

6
NEWS
View file

@ -20,6 +20,12 @@ Changes since Guile 1.6.6 (changes in 1.6.7):
* Changes to Scheme functions and syntax * Changes to Scheme functions and syntax
** string->number and octal constant bignums
An incorrect bignum size calculation has been fixed, this caused
overflow errors in string->number on bases other than 2, 10 and 16,
including octal literal constants in code or the reader.
** SRFI-1 alist-delete equality argument order fixed. ** SRFI-1 alist-delete equality argument order fixed.
In the srfi-1 module alist-delete and alist-delete!, the order of the In the srfi-1 module alist-delete and alist-delete!, the order of the

View file

@ -1,3 +1,18 @@
2004-12-09 Kevin Ryde <user42@zip.com.au>
* numbers.c (scm_istr2int): Correction to overflow test, should be
"blen >= j" not "blen > j", since after blen++ the k<blen loop will
have k==j which is past the end of the j length array and overwrites
data, leading to segvs in certain circumstances. And put the test
only before the blen++, which is the only place it can overflow, and
since we can legitimately get to blen==j with t2==0 when filling the
high word of the bignum.
* numbers.c (scm_istr2int): Correction to bignum size calculation for
bases other than 2, 10, 16. This avoids overflows, in particular in
octal string->number and constants (other bases are undocumented, but
reach here so may as well work).
2004-12-02 Kevin Ryde <user42@zip.com.au> 2004-12-02 Kevin Ryde <user42@zip.com.au>
* posix.c (scm_execle): Correction to memory leak change, need to * posix.c (scm_execle): Correction to memory leak change, need to