[Snort-devel] spo_xml patch to fix XML bug.

william.c.gercken at ...350... william.c.gercken at ...350...
Wed May 9 16:31:50 EDT 2001


All,

Attached are patches for the spo_xml processor that checks/validates
strings for special characters that choke an XML processor such as:

                                            
 A name was started with an invalid         
 character. Line 129, Position 40           
                                            



    <signature>MISC source port 53 to <1024</signature>
---------------------------------------^


The above line now is converted to:


<signature>MISC source port 53 to <1024</signature>


I have the code running on four production boxes without any problems, so
it appears to be stable.





Regards,


-bill





(See attached file: spo_xml_c_patch)(See attached file: spo_xml_h_patch)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: spo_xml_c_patch
Type: application/octet-stream
Size: 2370 bytes
Desc: not available
URL: <https://lists.snort.org/pipermail/snort-devel/attachments/20010509/fa6d8bce/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: spo_xml_h_patch
Type: application/octet-stream
Size: 344 bytes
Desc: not available
URL: <https://lists.snort.org/pipermail/snort-devel/attachments/20010509/fa6d8bce/attachment-0001.obj>


More information about the Snort-devel mailing list