serialisation::archive - no test for eof after reading from istream?!

7 Feb
2006
7 Feb
'06
8:48 a.m.
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.
6956
Age (days ago)
6956
Last active (days ago)
0 comments
1 participants
participants (1)
-
Oliver.Kowalke@infineon.com