summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/elp.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2013-12-12 11:23:25 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2013-12-12 11:23:25 -0800
commit4618713ae48aac51c6f1a2474cc981f32c2bbede (patch)
tree11ede5202ee196ab2fb658a6c5a4bcffc4dc413b /lisp/emacs-lisp/elp.el
parent01633a17e74e638f31ec71c3587481f0084574f2 (diff)
downloademacs-4618713ae48aac51c6f1a2474cc981f32c2bbede.tar.gz
emacs-4618713ae48aac51c6f1a2474cc981f32c2bbede.tar.bz2
emacs-4618713ae48aac51c6f1a2474cc981f32c2bbede.zip
Avoid undefined behavior with huge regexp interval counts.
* regex.c (GET_INTERVAL_COUNT): Rename from 'GET_UNSIGNED_NUMBER', since it's now specialized to interval counts. All uses changed. Do not assume wrapraound on signed integer overflow. (regex_compile): Simplify based on the above changes.
Diffstat (limited to 'lisp/emacs-lisp/elp.el')
0 files changed, 0 insertions, 0 deletions