Fwd: Re: ERROR XMLTooling.ParserPool

Andy Bennett andyjpb at knodium.com
Fri Oct 5 00:01:32 UTC 2012


Hi,

FYI.

It turned to be a classic string termination problem.


-------- Original Message --------
Subject: Re: ERROR XMLTooling.ParserPool
Date: Fri, 5 Oct 2012 00:56:18 +0100
From: Andy Bennett <andyjpb at knodium.com>
Reply-To: Shib Users <users at shibboleth.net>
To: Cantor, Scott <cantor.2 at osu.edu>
CC: Shib Users <users at shibboleth.net>

Hi,

> Ok, that's obviously useful info, there must be a bug in the FCGI. That's
> not surprising, it's barely been used, and not really tested much.

It was a bug in gstdin in shibresponder.cpp.

A buffer was being allocated for the submitted data but it wasn't being
terminated properly. After the first time around this was causing errors
with messages that were shorter than the original.


I've attached a patch which fixes this issue for me.

The authorizer doesn't seem to be affected as it does not process HTTP
request bodies.



Scott: thanks for the replies and tips along the way!




Regards,
@ndy

-- 
andyjpb at knodium.com
http://www.knodium.com/






Regards,
@ndy

-- 
andyjpb at knodium.com
http://www.knodium.com/

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: shib-patch-2012-10-05
URL: <http://lists.alioth.debian.org/pipermail/pkg-shibboleth-devel/attachments/20121005/40aeeef2/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Attached Message Part
URL: <http://lists.alioth.debian.org/pipermail/pkg-shibboleth-devel/attachments/20121005/40aeeef2/attachment-0001.ksh>


More information about the Pkg-shibboleth-devel mailing list