[reSIProcate] Parser hang
Scott Godin
sgodin at sipspectrum.com
Fri Oct 17 09:31:05 CDT 2014
Hi Taras,
Nice find! I have modified the fix to just ignore any parameter that is
missing a parameter name. The infinite loop is removed by ensuring we
advance the parse buffer pointer when keyEnd-keyStart == 0. I will commit
this soon as well as a new test case in testParserCategories that triggers
the infinite loop in the unfixed code.
Thanks,
Scott Godin
On Fri, Oct 17, 2014 at 9:36 AM, palladin <p-aladin at yandex.ru> wrote:
> Dear resiprocate devels,
> resiprocate 1.9.2
>
> I have met the situation when some uacs send malformed Authorization
> header, for example
> Authorization: Digest username="000999234",realm="1.
> 1.1.1",nonce="1413544408:b15ee1a80dd75f9db443e2d4feab82
> 1b",uri="sip:1.1.1.1",=MD5,response="ef0f8cdc6a75fe810e2ce82a2758f45e".
>
> You may notice that algorithm type is missing. In this case all
> application hangs inside infinite loop.
> Could you please take a look on the patch provided in attachment? Can it
> be applied to Auth?
>
> Sincerely, Taras.
>
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel at resiprocate.org
> https://list.resiprocate.org/mailman/listinfo/resiprocate-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20141017/4a445db4/attachment.htm>
More information about the resiprocate-devel
mailing list