[erlang-patches] Fix crash with erlang:system_info({cpu_topology,junk})

Björn Gustavsson bgustavsson@REDACTED
Mon Oct 4 14:59:48 CEST 2010


On Sun, Oct 3, 2010 at 9:30 AM, Paul Guyot <pguyot@REDACTED> wrote:
> Hello,
>
> There is a bug causing a crash if erlang:system_info is called with {cpu_topology, Atom} where Atom is an unrecognized Atom (e.g. misspelled). The function should fail with badarg, but the emulator would segfault instead.
>
> A fix with a non-regression test is available here:
> git fetch git://github.com/pguyot/otp.git fix-system_info-cpu_topology-segfault

Thanks! Will include in pu.

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


More information about the erlang-patches mailing list