diff options
author | Noam Postavsky <npostavs@gmail.com> | 2016-10-24 21:22:07 -0400 |
---|---|---|
committer | Noam Postavsky <npostavs@gmail.com> | 2016-10-25 20:15:33 -0400 |
commit | 43986d16fb6ad78a627250e14570ea70bdb1f23a (patch) | |
tree | cc62d12e7640e43fe98e7513b6c69b7953d404d7 /lisp/emacs-lisp/rx.el | |
parent | fee4cef7d720e98922858e19b3161358041ec141 (diff) | |
download | emacs-43986d16fb6ad78a627250e14570ea70bdb1f23a.tar.gz emacs-43986d16fb6ad78a627250e14570ea70bdb1f23a.tar.bz2 emacs-43986d16fb6ad78a627250e14570ea70bdb1f23a.zip |
Inhibit buffer relocation during regex searches
* src/search.c (looking_at_1, fast_looking_at, search_buffer): Prevent
relocation of buffer contents during calls to re_search_2. This ensures
the pointers into buffer text won't be invalidated by
r_alloc_sbrk (called from malloc with configurations where
REL_ALLOC=yes).
Diffstat (limited to 'lisp/emacs-lisp/rx.el')
0 files changed, 0 insertions, 0 deletions