diff options
| author | Sam Hartman <hartmans@mit.edu> | 2011-10-14 14:39:01 +0000 |
|---|---|---|
| committer | Sam Hartman <hartmans@mit.edu> | 2011-10-14 14:39:01 +0000 |
| commit | 9493aefa8abc949ec83792de8039f09f6d664c50 (patch) | |
| tree | 801c01378beaee43a7c5a64b7a3951291d2b72f1 /src/include | |
| parent | 8fd620fe538f33164e4faa395573d6739aa829a2 (diff) | |
| download | krb5-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/include')
| -rw-r--r-- | src/include/Makefile.in | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
