id summary reporter owner description type status milestone component version severity resolution keywords cc 4654 restricted_filter doesn't seek with the correct offset la06@… Jonathan Turkanis "The class restricted_filter defined in detail/restrict_impl.hpp fails to seek properly due to a small, but significant, error in its seek member function. The patch fixes this bug by changing the offset argument to the seek function of the underlying filter from {{{ next }}} to {{{ next - pos_ }}} as the seek direction is BOOST_IOS::cur and not BOOST_IOS::beg. In other words, the bug causes restricted filters to seek relative to the current pointer using offsets relative to the beginning. If you want to seek forward by 10 byte at position 5000, it'll seek forward by 5010 instead of 10." Patches new To Be Determined iostreams Boost Development Trunk Showstopper restrict restriction slice filter seek