|
Boost Users : |
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-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