Re: NullPointerException in StringMsgParser

Ryan Mitchell <[email protected]> Sat, 02 Jun 2007 13:06:57 -0700
Newsgroups gmane.comp.voip.nist-sip
Message-ID <[email protected]>
Note: this patch is with respect to CVS head.  I just tested the 1.2
release and it worked as expected.

Ryan Mitchell wrote:
> A Sipura 2100 of mine sends a malformed OPTIONS request to keep a
> firewall pinhole open.  Or better put, unformed: the udp packet content
> is comprised of 7 bytes: O,P,T,I,O,N,S.
>
> Anyway, this causes NullPointerException trying to parse it.  Attached patch
> fixes it.  Let me know if it helps.
>
> --Ryan
>
> -- Ryan Mitchell <[email protected]> Telecom Logic, LLC 503-943-2980
>
>   


-- 
Ryan Mitchell <[email protected]>
Telecom Logic, LLC
503-943-2980