summaryrefslogtreecommitdiff
path: root/lisp/ls-lisp.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2016-05-27 13:39:34 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2016-05-27 13:41:22 -0700
commit9d356f62b3c24d9f2b2bc3831cf19e8351860a86 (patch)
tree97241f72d0825ca2de1a203da2b9edec2a064af8 /lisp/ls-lisp.el
parent168163434678dcc030d1e2844765ddae7b555721 (diff)
downloademacs-9d356f62b3c24d9f2b2bc3831cf19e8351860a86.tar.gz
emacs-9d356f62b3c24d9f2b2bc3831cf19e8351860a86.tar.bz2
emacs-9d356f62b3c24d9f2b2bc3831cf19e8351860a86.zip
Robustify stack-size calculation
* src/emacs.c: Include getpagesize.h. (main): Check for integer overflow when computing stack size. Round new rlim_cur to pagesize boundary on all platforms, as this is easy and would have prevented Bug#23622. If setrlimit fails, use current limit to determine re_max_failures.
Diffstat (limited to 'lisp/ls-lisp.el')
0 files changed, 0 insertions, 0 deletions