id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 2752,Wrong size check in bounded_array::resize,Ulf Olin ,Gunter,"The resize methods in the bounded_array class, in the file boost/numeric/ublas/storage.hpp, are defined as {{{ // Resizing BOOST_UBLAS_INLINE void resize (size_type size) { BOOST_UBLAS_CHECK (size_ <= N, bad_size ()); size_ = size; } BOOST_UBLAS_INLINE void resize (size_type size, value_type init) { BOOST_UBLAS_CHECK (size_ <= N, bad_size ()); if (size > size_) std::fill (data_ + size_, data_ + size, init); size_ = size; } }}} Shouldn't the BOOST_UBLAS_CHECKs test for size < N? As the checks are written now, it is possible to assign a new size that is larger than N. Ulf",Bugs,closed,Boost 1.39.0,uBLAS,Boost 1.38.0,Problem,fixed,,