erl_interface and buffer overruns

Taj Khattra <>
Sat Aug 26 19:10:16 CEST 2006

On 8/26/06, Joel Reymont <> wrote:
> BUFSIZE is arbitrarily set to 1000. Doesn't this make the code prone
> to buffer overruns?

nope.  see

if the buffer is too small, erl_receive_msg returns ERL_ERROR and sets
erl_errno to EMSGSIZE

More information about the erlang-questions mailing list