aboutsummaryrefslogtreecommitdiff
path: root/git-compat-util.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-01-27 14:56:38 -0800
committerJunio C Hamano <gitster@pobox.com>2010-01-27 14:56:38 -0800
commita0075d9e6ae211e8bde3eb40c8cdebb1772ee680 (patch)
treeb29228a2bb894edd907b319b23c77025b5f9e407 /git-compat-util.h
parentf1694b62bb3a3e1766b92d64a38f61524cc730a0 (diff)
parent4ab07e4d1076a1b94b91d58913daeb20eb1c0e2d (diff)
downloadgit-a0075d9e6ae211e8bde3eb40c8cdebb1772ee680.tar.gz
git-a0075d9e6ae211e8bde3eb40c8cdebb1772ee680.tar.xz
Merge branch 'il/maint-xmallocz'
* il/maint-xmallocz: Fix integer overflow in unpack_compressed_entry() Fix integer overflow in unpack_sha1_rest() Fix integer overflow in patch_delta() Add xmallocz()
Diffstat (limited to 'git-compat-util.h')
-rw-r--r--git-compat-util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/git-compat-util.h b/git-compat-util.h
index 620a7c637..a3c453736 100644
--- a/git-compat-util.h
+++ b/git-compat-util.h
@@ -348,6 +348,7 @@ extern void release_pack_memory(size_t, int);
extern char *xstrdup(const char *str);
extern void *xmalloc(size_t size);
+extern void *xmallocz(size_t size);
extern void *xmemdupz(const void *data, size_t len);
extern char *xstrndup(const char *str, size_t len);
extern void *xrealloc(void *ptr, size_t size);