[sr-dev] git:master:13c71a14: erlang: fix possible memory corruption