s3-gse: Don't release the mech OID from gss_accept_security_context
authorAndrew Bartlett <abartlet@samba.org>
Sat, 16 Apr 2011 05:39:00 +0000 (15:39 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 27 Apr 2011 01:56:48 +0000 (11:56 +1000)
commitcd7112ba84759a677e51111e44b5f531d602c77c
tree751f427e286cb33e83f13881e1ec398c8d81729f
parentf0ce322c770010f1d0714f4e06ee6d9ad1b9e9e5
s3-gse: Don't release the mech OID from gss_accept_security_context

This is constant data according to the man pages I find for this
fucntion, and causes a segfault to free() when linked to Heimdal.  I
am advised that while it is constant for gss_mech_krb5, it may not be
for other mechanisms, so an assert will ensure this is dealt with by
the programmer who extends this code in future.

Andrew Bartlett
source3/configure.in
source3/librpc/crypto/gse.c
source3/wscript
source4/heimdal_build/wscript_configure