Tighten up the error handling in the mechglue's gss_canonicalize_name,
authorGreg Hudson <ghudson@mit.edu>
Mon, 10 Jan 2011 20:32:56 +0000 (20:32 +0000)
committerGreg Hudson <ghudson@mit.edu>
Mon, 10 Jan 2011 20:32:56 +0000 (20:32 +0000)
commit4d6dc27a5bf3c69ffecec35d32b816d654e1c970
tree4d179364880a1ebf2bfa9f13d49c0c130182f40a
parent152485846a37a4f44c2287b638c2d3c42162d3d0
Tighten up the error handling in the mechglue's gss_canonicalize_name,
eliminating a null pointer dereference in the (unlikely) case that
allocation of out_union fails.  Reported by aberry@likewise.com.

ticket: 6817

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24592 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/gssapi/mechglue/g_canon_name.c