util_saml: correctly account for gss lengths vm-integration
authormoonshot <moonshot@moonshot-test.project-moonshot.org>
Mon, 4 Apr 2011 18:48:08 +0000 (14:48 -0400)
committermoonshot <moonshot@moonshot-test.project-moonshot.org>
Mon, 4 Apr 2011 18:48:08 +0000 (14:48 -0400)
commit6ba0d78fabec17a82b5e20aaaca0fcb2c501e4f4
treee3168505a52827c5f2e805ab9622535d98f170f4
parentffb11e5f31a37ed09eae2b1daf34690be807c505
util_saml: correctly account for gss lengths

The version of XMLString::transcode that takes a length is an output
parameter length not an input length. It was reading past end of
buffer on the input and was producing garbage output. That version is
deprecated; use the version that allocates.  Copy the GSS attribute
names and values so we can properly null terminate.
mech_eap/util_saml.cpp