pop_back() called resize(size_ - 1) without checking for empty. On empty array, uint underflow produced UINT_MAX, causing bytesInBits(UINT_MAX) overflow and subsequent OOB access. pop_front() already had this guard; pop_back() was missing it.
pop_back() called resize(size_ - 1) without checking for empty. On empty array, uint underflow produced UINT_MAX, causing bytesInBits(UINT_MAX) overflow and subsequent OOB access. pop_front() already had this guard; pop_back() was missing it.