]> code.delx.au - gnu-emacs/commit
Fix crash in syntax.c after GC
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 7 Jun 2016 16:28:49 +0000 (09:28 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 7 Jun 2016 16:28:49 +0000 (09:28 -0700)
commit6e3adf8a4a796cea4328a528da48fc972b3feed6
tree37c33253a4b92e9c0c6daa314a81740a855a2858
parent973ce5a12352e1f88af335f8b57be2dcbe49c2b7
Fix crash in syntax.c after GC

Problem reported by Vincent Belaïche (Bug#23704).
* src/syntax.c (skip_chars): Recompute pointers into the
buffer after every call to update_syntax_table_forward,
as it can GC.
src/syntax.c