* bidi.c: Integer overflow fix.
commitbc18e09ddf639fbd59e6d2ef238fdaf4e31fb6a3
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 28 Jul 2011 20:27:41 +0000 (28 13:27 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 28 Jul 2011 20:27:41 +0000 (28 13:27 -0700)
tree92b2658f32b047a669af18f44589ead0635c515a
parent722e028b38b63a4f32be9670359a1344befd1578
* bidi.c: Integer overflow fix.

(bidi_shelve_header_size): New constant.
(bidi_cache_ensure_space, bidi_shelve_cache): Use it.
(bidi_cache_ensure_space): Avoid integer overflow when allocating.
src/ChangeLog
src/bidi.c