aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
authorPaul Eggert2013-12-12 11:23:25 -0800
committerPaul Eggert2013-12-12 11:23:25 -0800
commit4618713ae48aac51c6f1a2474cc981f32c2bbede (patch)
tree11ede5202ee196ab2fb658a6c5a4bcffc4dc413b /src/alloc.c
parent01633a17e74e638f31ec71c3587481f0084574f2 (diff)
downloademacs-4618713ae48aac51c6f1a2474cc981f32c2bbede.tar.gz
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 'src/alloc.c')
0 files changed, 0 insertions, 0 deletions