diff options
author | Simo Sorce <simo@redhat.com> | 2014-01-12 15:30:56 -0500 |
---|---|---|
committer | Günther Deschner <gdeschner@redhat.com> | 2014-01-15 16:58:16 +0100 |
commit | ad766e34ade64ba1d9f4fdefb32849d2b330e854 (patch) | |
tree | 9fa862ffe4e643c86116a415da957c119e50cd10 /.gitignore | |
parent | d78ad1fc906d1e03b8232e4c9aab831899c26b31 (diff) | |
download | gss-proxy-ad766e34ade64ba1d9f4fdefb32849d2b330e854.tar.gz gss-proxy-ad766e34ade64ba1d9f4fdefb32849d2b330e854.tar.xz gss-proxy-ad766e34ade64ba1d9f4fdefb32849d2b330e854.zip |
Make name conversion more robust to failure
NTLMSSP does not have export_name functions yet, this was causing
gss_export_composite_name() to fail with a GSS_S_UNAVAILABLE error.
This should be ignored, however it wasn't and on top of that the output
structure was initialized but held pointers to memory freed at exit (due to the
error).
Make the function not failed if a mechanism do not have composite export
function, but if it does make sure the output is not littered with invalid
pointers.
Signed-off-by: Simo Sorce <simo@redhat.com>
Reviewed-by: Günther Deschner <gdeschner@redhat.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions