summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-07-02 15:39:08 +0200
committerJim Meyering <meyering@redhat.com>2009-07-03 00:14:52 +0200
commit447dae7df43e8a98da59d94f1aef9895e087aa13 (patch)
treeae5285a58c6297b5f2c90fc0758da9983073fe4b /Makefile.am
parentd0bdef850e7bf0edc1a8ee1f05880cdf867aeeb6 (diff)
downloadlibguestfs-447dae7df43e8a98da59d94f1aef9895e087aa13.tar.gz
libguestfs-447dae7df43e8a98da59d94f1aef9895e087aa13.tar.xz
libguestfs-447dae7df43e8a98da59d94f1aef9895e087aa13.zip
use safe_malloc and safe_calloc in generated code
* src/generator.ml (safe_malloc): Define to guestfs_safe_malloc. (safe_calloc): Define to guestfs_safe_calloc. [most generated code]: Fail immediately upon failure of otherwise- unchecked malloc and calloc calls. * src/guestfs.c: Include <stddef.h>. (xalloc_oversized): Define. * src/guestfs.h (guestfs_safe_calloc): Declare.
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions