aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
authorPaul Eggert2011-09-04 10:27:38 -0700
committerPaul Eggert2011-09-04 10:27:38 -0700
commita0efffc812bd88fd3a710c84ae3bf0db989298e1 (patch)
treebdecd3cd7f5fbb26aea3bc08769c2a4e0c256704 /src/alloc.c
parent29ebea3b123db665db1267880df65d0ec697aff3 (diff)
downloademacs-a0efffc812bd88fd3a710c84ae3bf0db989298e1.tar.gz
emacs-a0efffc812bd88fd3a710c84ae3bf0db989298e1.zip
* search.c: Integer overflow fixes
(Freplace_match): Use ptrdiff_t, not int, for indexes that can exceed INT_MAX. Check that EMACS_INT value is in range before assigning it to the (possibly-narrower) index. (match_limit): Don't assume that a fixnum can fit in 'int'.
Diffstat (limited to 'src/alloc.c')
0 files changed, 0 insertions, 0 deletions