$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Jonathan Turkanis (technews_at_[hidden])
Date: 2005-05-08 12:51:53
Jonathan Turkanis wrote:
> Fourth, the implementation of write is unsafe, since you don't check
> for overflow. Writing too many characters will lead to stack
> corruption.
I forgot to mention that
m_nBufferLen = n;
should be
m_nBufferLen += n;
Jonathan