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)
commitc418e6db4a4526f56b9573d2a71211b98deca5da
tree3b14224a06cdc743934ebccd9cd130b4ef25fad3
parent40116e5c20c06208076f114278f608d52cff98f8
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.
util_saml.cpp