[erlang-questions] Bug in trapexit article "How to use ei ..."

Mikl Kurkov <>
Mon Nov 17 06:58:41 CET 2008



Serge Aleynikov-2 wrote:
> 
> Thanks for pointing it out.  This code was more-or-less a quick&dirty 
> copy/paste from 
> http://www.erlang.org/doc/tutorial/erl_interface.html#5.2 that suffers 
> from a buffer overrun issue.  I posted the corrections that you found.
> 

It seems that you don't update buf_ptr in the new version of read_cmd
function.
Anyway, thanks for  this article. It is very helpful and clear.

Mikl

-- 
View this message in context: http://www.nabble.com/Bug-in-trapexit-article-%22How-to-use-ei-...%22-tp20516290p20534211.html
Sent from the Erlang Questions mailing list archive at Nabble.com.




More information about the erlang-questions mailing list