]> code.delx.au - gnu-emacs/commit
* coding.c (ALLOC_CONVERSION_WORK_AREA): Prefer ptrdiff_t to int and
authorDmitry Antipov <dmantipov@yandex.ru>
Wed, 9 Jul 2014 10:36:35 +0000 (14:36 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Wed, 9 Jul 2014 10:36:35 +0000 (14:36 +0400)
commit205ededbb23f8f1b182d9ae7c01d89b6e67e5736
treedc4fd300f19e002117f2d7be8a2772e117f3ec04
parent876d043fad0062a85ede5ab4f70c2e7f6d0e77ac
* coding.c (ALLOC_CONVERSION_WORK_AREA): Prefer ptrdiff_t to int and
so avoid integer overflow if decoded gap size exceeds INT_MAX bytes.
src/ChangeLog
src/coding.c