Re: [Sip-implementors] NULL characters in SIP message elements

2011-10-31 Thread Worley, Dale R (Dale)
> From: Peter Krebs [pkr...@gmail.com] > > I noticed, to my horror, that the SIP grammar actually allows ASCII NULL > characters in certain message elements (Reason-Phrase, quoted string,...are > there any more?). Is there any actual sense in using this characters in said > elements other than giv

Re: [Sip-implementors] NULL characters in SIP message elements

2011-10-29 Thread Peter Krebs
Imagine a display name of "funny\x00name" or something which you want to store as string for easier processing. Normal string handling with the stdlib functions won't work anymore since the string effectively consists of "funny" only for those functions - you would have to roll your own special fun

Re: [Sip-implementors] NULL characters in SIP message elements

2011-10-29 Thread Vineet Menon
Hi, Why do u say it as a headache for C programmers?? Forgive my question, but I'm new to SIP, and I don't find any difficulty with null charecter instead find it helpful otherwise you have to append a null char for every string out there. Am I missing something? Regards, Vineet Menon On Sa

[Sip-implementors] NULL characters in SIP message elements

2011-10-29 Thread Peter Krebs
Good afternoon, I noticed, to my horror, that the SIP grammar actually allows ASCII NULL characters in certain message elements (Reason-Phrase, quoted string,...are there any more?). Is there any actual sense in using this characters in said elements other than giving C programmers a headache that