Boost logo

Boost Users :

From: eg (egoots_at_[hidden])
Date: 2006-12-10 11:26:51


Mathieu Peyréga wrote:
> Hello,
>
> i'm a new user to these great boost libraries...
> I think i found a bug in <boost/iostreams/copy.hpp> (version 1.33.1)

<snip>

> The current code happens to crash whereas the proposed version works
> properly... Did I miss something or a I right ?
>

I am not a boost iostreams expert... just a user. Having said that, if
iostreams::read() can return -1 during the copy_impl then it looks like
the original code could be a problem.

What was your test case to demonstrate this?


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net