Re: [xml-dev] Malicious XML

From
Karl Waclawek <>
To
xml-dev <>
Date
2002-11-15T05:29:21Z
ID
<001a01c28c67$f42b6540$0207a8c0@karl>
Thread
Re: [xml-dev] Malicious XML
> Anyway, their example uses a really trivial internal subset
> to bring down a SOAP server. I wonder if there are more
> well known XML examples that can cause a parser to eat
> up all memory.
> 
> Properly used, Expat is already equipped to handle such
> situations since it allows for a pluggable memory handler.

Actually, I have to correct myself:

In Expat, memory isn't eaten up, just lots of CPU cycles.
Same in MSXML4. So a custom memory handler won't work.

Karl