summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2021-04-21 11:07:18 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2021-04-21 11:10:49 -0700
commit7e605302f7ce70184af6a21de546da8b604f9c76 (patch)
tree77a72e29877ec98fa0b34f8a9765298e46bfa082 /modules
parent87e2ea351c7e754cc3df8f6c9c519aa9fd1559e2 (diff)
downloadgnulib-7e605302f7ce70184af6a21de546da8b604f9c76.tar.gz
malloca: avoid ptrdiff_t overflow
* lib/malloca.c: Include idx.h, intprops.h. (mmalloca): Check for ptrdiff_t overflow. Since this module uses _GL_USE_STDLIB_ALLOC, it cannot assume GNU malloc semantics. * modules/malloca (Depends-on): Add idx, intprops.
Diffstat (limited to 'modules')
-rw-r--r--modules/malloca2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/malloca b/modules/malloca
index 9b7a3dbd25..346d33251a 100644
--- a/modules/malloca
+++ b/modules/malloca
@@ -9,6 +9,8 @@ m4/eealloc.m4
Depends-on:
alloca-opt
+idx
+intprops
stdint
verify
xalloc-oversized