diff options
| author | Paul Eggert | 2011-09-04 10:27:38 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-09-04 10:27:38 -0700 |
| commit | a0efffc812bd88fd3a710c84ae3bf0db989298e1 (patch) | |
| tree | bdecd3cd7f5fbb26aea3bc08769c2a4e0c256704 /src/alloc.c | |
| parent | 29ebea3b123db665db1267880df65d0ec697aff3 (diff) | |
| download | emacs-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