Changes of Revision 8
[-] [+] | Added | boost-no_segfault_in_Regex_filter.patch |
@@ -0,0 +1,11 @@ +--- boost/iostreams/filter/regex.hpp ++++ boost/iostreams/filter/regex.hpp +@@ -57,7 +57,7 @@ + return; + iterator first(&src[0], &src[0] + src.size(), re_, flags_); + iterator last; +- const Ch* suffix = 0; // Prevent GCC 2.95 warning. ++ const Ch* suffix = &src[0]; //suffix will be entire input if no match found + for (; first != last; ++first) { + dest.insert( dest.end(), + first->prefix().first, |