re PR libstdc++/82558 (V8 JavaScript engine segfaults since r249235)
authorFrançois Dumont <fdumont@gcc.gnu.org>
Mon, 16 Oct 2017 05:44:03 +0000 (05:44 +0000)
committerFrançois Dumont <fdumont@gcc.gnu.org>
Mon, 16 Oct 2017 05:44:03 +0000 (05:44 +0000)
commit1be043a140d516e16930bbc357f5ccb7b98c1db5
tree05ae0cb7d68332c997f4cb7dce9d8c464c897856
parent181640f627f5db588324317df2eef17f034952ac
re PR libstdc++/82558 (V8 JavaScript engine segfaults since r249235)

2017-10-16  François Dumont  <fdumont@gcc.gnu.org>

PR libstdc++/82558
* include/bits/stl_bvector.h (fill): Add iterator offset check.
* testsuite/23_containers/vector/bool/82558.cc: New.

From-SVN: r253776
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_bvector.h
libstdc++-v3/testsuite/23_containers/vector/bool/82558.cc [new file with mode: 0644]