summaryrefslogtreecommitdiffstats
path: root/src/lib/gssapi/Makefile.in
diff options
context:
space:
mode:
authorSam Hartman <hartmans@mit.edu>2011-10-14 14:39:01 +0000
committerSam Hartman <hartmans@mit.edu>2011-10-14 14:39:01 +0000
commit9493aefa8abc949ec83792de8039f09f6d664c50 (patch)
tree801c01378beaee43a7c5a64b7a3951291d2b72f1 /src/lib/gssapi/Makefile.in
parent8fd620fe538f33164e4faa395573d6739aa829a2 (diff)
downloadkrb5-9493aefa8abc949ec83792de8039f09f6d664c50.tar.gz
krb5-9493aefa8abc949ec83792de8039f09f6d664c50.tar.xz
krb5-9493aefa8abc949ec83792de8039f09f6d664c50.zip
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 <kevin.wasserman@painless-security.com> git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25330 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/gssapi/Makefile.in')
-rw-r--r--src/lib/gssapi/Makefile.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/gssapi/Makefile.in b/src/lib/gssapi/Makefile.in
index 58658fd0e2..403834371e 100644
--- a/src/lib/gssapi/Makefile.in
+++ b/src/lib/gssapi/Makefile.in
@@ -50,6 +50,7 @@ EXPORTED_HEADERS= \
$(EHDRDIR)$(S)gssapi_krb5.h \
$(EHDRDIR)$(S)gssapi_generic.h \
$(EHDRDIR)$(S)gssapi.h \
+ $(EHDRDIR)$(S)gssapi_alloc.h \
$(EHDRDIR)$(S)gssapi_ext.h
merged-gssapi-header.h: $(EXPORTED_HEADERS)
cat $(EXPORTED_HEADERS) > merged.tmp