﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	difficulty
621	"""numbers"" egg dumps core if base argument to string->number is too large"	pdh		"After loading the ""numbers"" egg, if the base is too large for
string->number, csi dumps core.

Looks like this:
> $ csi
> ...
> Version 4.7.0 
> openbsd-unix-gnu-x86-64 [ 64bit manyargs dload ptables ]
>
> #;1> (use numbers)
> ...
> #;2> (string->number ""10"" (- (expt 2 (/ (- (* 8 8) 2) 2)) 1))
> 2147483647
> #;3> (string->number ""10"" (expt 2 (/ (- (* 8 8) 2) 2)))
> Abort trap (core dumped) 

It is failing in string_to_big() in numbers-c.c at line 2328:
>  BIGNUM_ASSERT ((radix > 1) && (radix <= BIGNUM_RADIX_ROOT));

BIGNUM_ASSERT just calls ""abort"" if the test fails, which causes the
core dump.

Observed in the ""numbers"" egg Version 2.6.  (That is, the version
that I installed today.)
"	defect	closed	major	4.9.0	extensions	4.7.x	fixed			
