Boost logo

Boost :

From: Oliver.Kowalke_at_[hidden]
Date: 2006-02-07 03:48:16


Hello,
I don't know why in basic_test_iprimitive::load the stream isn't tested
for eof or fail after reading from it?
In my case I get a string-resize-exception thrown because it is not
tested for eof or fail after
'is >> t' (text_iarchive_impl.ipp line 48; size is not initialized and
contains a to huge number which causes a resize exception on line 55).
This was raised from the stream which was connected to a socket. The
peer has closed the socket and the read operation on the socket has
returned EOF.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk