]> git.eshelyaron.com Git - emacs.git/commit
* ccl.c: Improve and simplify overflow checking (Bug#9196).
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 27 Aug 2011 07:07:32 +0000 (00:07 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 27 Aug 2011 07:07:32 +0000 (00:07 -0700)
commitf2cad7739d69b5ca0d0f30ece4ba26592988f8c9
tree88ab8ba4b3a4fad266f0fcf381e64c4fad668909
parent0cae2cdbb309359423b4a60eae1412da7dcee8ac
* ccl.c: Improve and simplify overflow checking (Bug#9196).

(ccl_driver): Do not generate an out-of-range pointer.
(Fccl_execute_on_string): Remove unnecessary check for
integer overflow, noted by Stefan Monnier in
<http://lists.gnu.org/archive/html/emacs-devel/2011-08/msg00979.html>.
Remove a FIXME that didn't need fixing.
Simplify the newly-introduced buffer reallocation code.
src/ChangeLog
src/ccl.c