Menu

#1 const_string_storage::reset implementation bug

open-fixed
nobody
None
5
2004-11-16
2004-11-12
No

Tested with VC71 & boost v.102900, debug build.

The const_string_storage::reset function passes the <0>
constant as the second parameter to the
boost::allocator::deallocate function.
This is incorrect according to the 20.1.5
(Allocator/deallocator implementation requirements).
As the result, boost::allocator::deallocate makes an
assertion in the debug mode.

Discussion

  • Maxim Yegorushkin

    Logged In: YES
    user_id=537357

    Hey Misha!

    Thank you for the report. Gonna fix it.

     
  • Maxim Yegorushkin

    • status: open --> open-fixed
     
  • Maxim Yegorushkin

    Logged In: YES
    user_id=537357

    fixed in the cvs and in the tarball

     

Log in to post a comment.