1. 28 Jul, 2011 1 commit
  2. 27 Jul, 2011 1 commit
  3. 25 Jul, 2011 2 commits
  4. 24 Jul, 2011 2 commits
  5. 23 Jul, 2011 4 commits
  6. 22 Jul, 2011 3 commits
  7. 21 Jul, 2011 1 commit
  8. 20 Jul, 2011 3 commits
  9. 19 Jul, 2011 3 commits
  10. 18 Jul, 2011 4 commits
  11. 17 Jul, 2011 3 commits
  12. 16 Jul, 2011 5 commits
  13. 15 Jul, 2011 7 commits
  14. 14 Jul, 2011 1 commit
    • Paul Eggert's avatar
      * bidi.c: Integer size and overflow fixes. · 39e378da
      Paul Eggert authored
      (bidi_cache_size, bidi_cache_idx, bidi_cache_last_idx)
      (bidi_cache_start, bidi_cache_fetch_state, bidi_cache_search)
      (bidi_cache_find_level_change, bidi_cache_ensure_space)
      (bidi_cache_iterator_state, bidi_cache_find, bidi_cache_start_stack)
      (bidi_find_other_level_edge):
      Use ptrdiff_t instead of EMACS_INT where either will do.
      This works better on 32-bit hosts configured --with-wide-int.
      (bidi_cache_ensure_space): Check for size-calculation overflow.
      Use % rather than repeated addition, for better worst-case speed.
      Don't set bidi_cache_size until after xrealloc returns, because it
      might not return.
      (bidi_dump_cached_states): Use ptrdiff_t, not int, to avoid overflow.
      39e378da