diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-05-22 23:50:03 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-05-22 23:50:03 -0700 |
commit | 305696990bd24e602e83444651fbb1ed8819fe14 (patch) | |
tree | 47ae4fc861057181e147caea99fa47df80eafe03 /Makefile.in | |
parent | c11285dca1ee2896b487fe03408a4c7c356b6d5b (diff) | |
download | emacs-305696990bd24e602e83444651fbb1ed8819fe14.tar.gz |
ccl: add integer overflow checks
* ccl.c (CCL_CODE_MAX, GET_CCL_RANGE, GET_CCL_CODE, GET_CCL_INT):
(IN_INT_RANGE): New macros.
(ccl_driver): Use them to check for integer overflow when
decoding a CCL program. Many of the new checks are whether XINT (x)
fits in int; it doesn't always, on 64-bit hosts. The new version
doesn't catch all possible integer overflows, but it's an
improvement.
Diffstat (limited to 'Makefile.in')
0 files changed, 0 insertions, 0 deletions