xalloc: x2nrealloc check for ptrdiff_t overflow
commit8e63aebd5d3e398a986dcc5cfaaa5409bca30d12
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 29 Dec 2016 09:16:51 +0000 (29 01:16 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 29 Dec 2016 09:17:24 +0000 (29 01:17 -0800)
treedf6c2d05c1b40d2ff3cebe0923513ee9bd20524a
parent480d374e596a0ee3fed168ab42cd84c313ad3c89
xalloc: x2nrealloc check for ptrdiff_t overflow

* lib/xalloc.h (x2nrealloc): Check for ptrdiff_t overflow, too.
* modules/xalloc, modules/xvasprintf (Depends-on): Add stdint.
ChangeLog
lib/xalloc.h
modules/xalloc
modules/xvasprintf