binary_to_term can crash the VM

Bjorn Gustavsson <>
Thu Feb 2 07:47:39 CET 2006


"Valentin Micic" <> writes:

> Could it be that 32-bit data overflow is causing boundary check to
> fail and crash emulator, as in:
> 
> 0xFFFFFFFC + 0x04 = 0x00000000, instead of  0x0100000000
> 0xFFFFFFFF + 0x04 = 0x00000003, instead of  0x0100000003

Yes.

We'll try to include a fix for this problem in R10B-10.

/Bjorn

-- 
Björn Gustavsson, Erlang/OTP, Ericsson AB



More information about the erlang-questions mailing list