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

Simon Cornish <>
Fri Oct 3 17:02:54 CEST 2008


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: r12-erl_interface.patch
Type: application/octet-stream
Size: 1573 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20081003/0992de30/attachment.obj>


More information about the erlang-patches mailing list