diff options
| author | Paul Eggert | 2011-07-07 10:42:28 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-07-07 10:42:28 -0700 |
| commit | 5b8ffbdddd1280515a254c360f67626f0c9ab3c8 (patch) | |
| tree | 5a7d3f152f774078bb50836c82883ae2f947b319 /src/buffer.c | |
| parent | 903fe15d9deb28a72075c39dfd6003a2ff1af134 (diff) | |
| download | emacs-5b8ffbdddd1280515a254c360f67626f0c9ab3c8.tar.gz emacs-5b8ffbdddd1280515a254c360f67626f0c9ab3c8.zip | |
* bidi.c: Integer signedness and overflow fixes.
(bidi_cache_idx, bidi_cache_last_idx, bidi_cache_fetch_state)
(bidi_cache_search, bidi_cache_find_level_change)
(bidi_cache_iterator_state, bidi_cache_find, bidi_find_other_level_edge)
(bidi_dump_cached_states):
Don't arbitrarily limit cache indexes to int; use ptrdiff_t instead.
(bidi_cache_size): Use ptrdiff_t rather than size_t, as we prefer
signed integers.
(elsz): Make it a (signed) constant.
(bidi_cache_iterator_state): Check for size-calculation overflow.
Diffstat (limited to 'src/buffer.c')
0 files changed, 0 insertions, 0 deletions