summaryrefslogtreecommitdiffstats
path: root/source/include
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2007-05-14 14:23:51 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:22:02 -0500
commitf65214be68c1a59d9598bfb9f3b19e71cc3fa07b (patch)
tree3b6d5bb88d2724a53b94fbf96d5b279e346c4536 /source/include
parent34f77af02e2073ccaabe1583011abeeabbbb24e1 (diff)
downloadsamba-f65214be68c1a59d9598bfb9f3b19e71cc3fa07b.tar.gz
samba-f65214be68c1a59d9598bfb9f3b19e71cc3fa07b.tar.xz
samba-f65214be68c1a59d9598bfb9f3b19e71cc3fa07b.zip
r22852: merge fixes for CVE-2007-2446 and CVE-2007-2447 to all branches
Diffstat (limited to 'source/include')
-rw-r--r--source/include/smb_macros.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/include/smb_macros.h b/source/include/smb_macros.h
index afe7c1a4776..bfed27c1674 100644
--- a/source/include/smb_macros.h
+++ b/source/include/smb_macros.h
@@ -295,7 +295,6 @@ copy an IP address from one buffer to another
#if defined(PARANOID_MALLOC_CHECKER)
#define PRS_ALLOC_MEM(ps, type, count) (type *)prs_alloc_mem_((ps),sizeof(type),(count))
-#define PRS_ALLOC_MEM_VOID(ps, size) prs_alloc_mem_((ps),(size),1)
/* Get medieval on our ass about malloc.... */
@@ -334,7 +333,6 @@ copy an IP address from one buffer to another
#else
#define PRS_ALLOC_MEM(ps, type, count) (type *)prs_alloc_mem((ps),sizeof(type),(count))
-#define PRS_ALLOC_MEM_VOID(ps, size) prs_alloc_mem((ps),(size),1)
/* Regular malloc code. */