[erlang-patches] [PATCH] erl_call: fix multiple buffer overflows

Björn Gustavsson bgustavsson@REDACTED
Mon Aug 23 16:09:53 CEST 2010


On Sun, Aug 22, 2010 at 11:05 PM, Michael Santos
<michael.santos@REDACTED> wrote:
> Check operations that can overflow, e.g.,
>
> erl_call -sname $(perl -e 'print "x"x5000')
> perl -e 'print "-module(", "x"x10000, ");"' | erl_call -m -r -sname foo
> ---
>  lib/erl_interface/src/prog/erl_call.c |  134 +++++++++++++++++++++++----------
>  1 files changed, 95 insertions(+), 39 deletions(-)
>

Thanks! Will include in pu.

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


More information about the erlang-patches mailing list