From 9493aefa8abc949ec83792de8039f09f6d664c50 Mon Sep 17 00:00:00 2001 From: Sam Hartman Date: Fri, 14 Oct 2011 14:39:01 +0000 Subject: Add new header gssapi_alloc.h Contains allocator methods for use with mechanisms and mechglues for allocations that must be made in one module but freed in another. On windows, an allocation made in one module cannot safely be freed in another using the usual c runtime malloc/free; runtime dll mismatch will cause heap corruption in that case. But it is safe to instead directly use HeapAlloc()/HeapFree() specifying the default process heap. For now, this header is not public. If it becomes public strncpy will need to be used instead of strlcpy. Signed-off-by: Kevin Wasserman git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25330 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/include') diff --git a/src/include/Makefile.in b/src/include/Makefile.in index d6a9b3c38..188703172 100644 --- a/src/include/Makefile.in +++ b/src/include/Makefile.in @@ -123,7 +123,7 @@ clean-unix:: clean-windows:: $(RM) com_err.h profile.h $(RM) gssapi\gssapi.h gssapi\gssapi_generic.h gssapi\gssapi_krb5.h - $(RM) gssapi\gssapi_ext.h gssapi\timestamp + $(RM) gssapi\gssapi_alloc.h gssapi\gssapi_ext.h gssapi\timestamp if exist gssapi\nul rmdir /s /q gssapi $(RM) osconf.h autoconf.h autoconf.stamp @echo Making clean in include -- cgit