[kaffe] PATCH: check range before calling sub_int_const

Timothy Stack stack at cs.utah.edu
Wed Mar 10 09:51:01 PST 2004


> This fixes the issue I posted about earlier, that causes a segfault in
> `translate'. Without this, sub_int and sub_int_const will recursively
> call each other. Which is bad.
> 
> 2004-03-09  Casey Marshall <rsdio at metastatic.org>
> 
> 	* kaffe/kaffevm/jit3/icode.c:
>         (sub_int): call `HAVE_sub_int_const_rangecheck' before calling
>         `sub_int_const'.

Can you update and try again...  Also, I changed your patch a bit to make
it more consistent with the way its done in the other functions in the
file.

> Casey Marshall || rsdio at metastatic.org

thanks,

tim




More information about the kaffe mailing list