re PR libstdc++/66354 ([UBSAN] stl_algobase.h:708:7: runtime error: null pointer...
authorJonathan Wakely <jwakely@redhat.com>
Sun, 31 May 2015 22:42:17 +0000 (23:42 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Sun, 31 May 2015 22:42:17 +0000 (23:42 +0100)
commit5d946f4228927be06c03256059e0f0cf7c5408f7
treeeea2882abf4631adda71c50a8be04162946fb8f0
parent1edfb384e845bc80dbb86a01373ffaeef37aeaec
re PR libstdc++/66354 ([UBSAN] stl_algobase.h:708:7: runtime error: null pointer passed as argument)

PR libstdc++/66354
* include/bits/stl_algobase.h (__fill_a): Check length before calling
memset.

From-SVN: r223906
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_algobase.h