Bug in XML parser (xml.c)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

 

I have found a bug in the XML parser when there is a comment in the end of a
section, like below:

 

<AAAAA>

<BBBBB></BBBBB>

<!-xxxx -->

</AAAAA>

 

I have implemented a fix and have attached a patch to this email.

 

Unfortunately I did not work on the latest release of PJSip, so apply the
patch accordingly (bug is still occurring in latest release).

 

My current release is root/pjproject/trunk/pjlib-util/src/pjlib-util/xml.c @
1239 

 

Can you backport it to the trunk please, if you agree with my fix?

 

Philippe Leuba

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20110202/67991ef7/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch.txt
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20110202/67991ef7/attachment.txt>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux