]> git.eshelyaron.com Git - emacs.git/commit
Prefer ptrdiff_t to int and avoid integer overflows.
authorDmitry Antipov <dmantipov@yandex.ru>
Tue, 16 Sep 2014 04:07:51 +0000 (08:07 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Tue, 16 Sep 2014 04:07:51 +0000 (08:07 +0400)
commit005aff709292db4fda0c39e7ed512f064bb7d1a9
tree505e9f859a7b09d58e9037c8f32824d63e86e1b5
parentccb767d639543d70ac689c93eb64849eea376583
Prefer ptrdiff_t to int and avoid integer overflows.
* fileio.c (make_temp_name):
* font.c (font_parse_family_registry): Avoid integer
overflow on string size calculation.
* data.c (Faset): Likewise for byte index.
src/ChangeLog
src/data.c
src/fileio.c
src/font.c