id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 3311,Unintentionally unthrown exceptions,Gareth Sylvester-Bradley ,Jonathan Turkanis,"In several places, Boost.Iostreams creates exception objects but doesn't throw them, which I assume is unintentional, and appears to have the potential to result in incorrect behaviour. Using bad_seek() and bad_write() - https://svn.boost.org/trac/boost/browser/tags/release/Boost_1_39_0/boost/iostreams/detail/restrict_impl.hpp#L163 https://svn.boost.org/trac/boost/browser/tags/release/Boost_1_39_0/boost/iostreams/detail/restrict_impl.hpp#L184 https://svn.boost.org/trac/boost/browser/tags/release/Boost_1_39_0/boost/iostreams/detail/restrict_impl.hpp#L188 https://svn.boost.org/trac/boost/browser/tags/release/Boost_1_39_0/boost/iostreams/detail/restrict_impl.hpp#L275 https://svn.boost.org/trac/boost/browser/tags/release/Boost_1_39_0/boost/iostreams/detail/restrict_impl.hpp#L296 https://svn.boost.org/trac/boost/browser/tags/release/Boost_1_39_0/boost/iostreams/detail/restrict_impl.hpp#L300 Using BOOST_IOSTREAMS_FAILURE() directly - https://svn.boost.org/trac/boost/browser/tags/release/Boost_1_39_0/boost/iostreams/stream_buffer.hpp#L103 These all seem to be present in trunk as well... The patch seems trivial; introduce ""throw"" in all these places... ",Bugs,closed,Boost 1.40.0,iostreams,Boost 1.39.0,Problem,fixed,,Gareth Sylvester-Bradley