Opened 13 years ago

Closed 13 years ago

#4007 closed Bugs (invalid)

Win32 exception during deserialization of bad content

Reported by: anonymous Owned by: Robert Ramey
Milestone: Boost 1.43.0 Component: serialization
Version: Boost 1.42.0 Severity: Problem
Keywords: Cc:

Description

Platform: Windows XP SP2 Compiler: Visual Studio 2008

With the file "filename" that contains bad content, the deserialization fails and no c++ exception is thrown. Thus, it isn't possible to catch it in a try/catch block and the application behaves in an unusual way.

Attachments (1)

main.cpp (1.9 KB ) - added by anonymous 13 years ago.

Download all attachments as: .zip

Change History (2)

by anonymous, 13 years ago

Attachment: main.cpp added

comment:1 by Steven Watanabe, 13 years ago

Resolution: invalid
Status: newclosed

I think that the serialization library throws an exception when you create the archive. Obviously this is outside the try/catch and so is not caught.

Note: See TracTickets for help on using tickets.