]> git.eshelyaron.com Git - emacs.git/commit
Limit style_format to MAX_ALLOCA
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 22 Jun 2017 00:26:46 +0000 (17:26 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 22 Jun 2017 00:27:58 +0000 (17:27 -0700)
commit87a44b934ccecd2d9bdbf0afad576333741075b6
treed5f60fc1646a81bf403a4ce148dc13dc10486849
parent35caaf713fb3c3e5e826e52b37e1b389c6bd9cce
Limit style_format to MAX_ALLOCA

* src/editfns.c (styled_format): Subtract initial buffer size
from sa_avail, since it is nontrivial.
src/editfns.c