[erlang-patches] erl_interface bug on 64-bit platforms

Björn-Egil Dahlberg <>
Fri Oct 3 17:25:36 CEST 2008


Hi Simon,

Thank you for reporting this and your patch.
I will look into the problem.

Regards,
Björn-Egil
Erlang/OTP

Simon Cornish wrote:
> Hi,
> There is a nasty type-casting bug in erl_interface that affects 64-bit
> platforms.
> An application calling ei_skip_term with a term containing a binary
> will get undefined results (specifically, a core dump under Solaris 10
> x86). A similar bug exists in the implementation of ei_printterm
> Attached is a patch for both.
> Regards,
>  Simon
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> erlang-patches mailing list
> 
> http://www.erlang.org/mailman/listinfo/erlang-patches




More information about the erlang-patches mailing list