Fix handling of buffer relocation in regex.c functions
commitee04aedc723b035eedaf975422d4eb242894121b
authorEli Zaretskii <eliz@gnu.org>
Sun, 23 Oct 2016 19:09:43 +0000 (23 22:09 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sun, 23 Oct 2016 19:09:43 +0000 (23 22:09 +0300)
tree6c3255640228ac4ae14247c50982354f82cf702c
parent71ca4f6a43bad06192cbc4bb8c7a2d69c179b7b0
Fix handling of buffer relocation in regex.c functions

* src/search.c (search_buffer): Updated the base pointer to buffer
text after the call to re_search_2.  (Bug#24358)
src/search.c