News for hackers. Stuff that matters.
Re:Apple's secret "wispr" request by jerf on Thursday September 09, 2010 @03:56PM (#1676684)
There are some other things that are reasonably likely to cause buffer overflows in the XML-parser-user even if the XML parser is perfect, mostly involving very large numbers of elements (<b><b><b><b><b><b>... etc), a tag with thousands of attributes, tags with very large attributes, etc. XML really does have some characteristics attack vectors. However, I am not aware of anything that doesn't; JSON has very similar vectors, as does any recursively-specified serialization format, and of course we all know the joys of binary specifications and screwing with length headers.

As you quoted, "Programmers tend to use XML poorly", but then, "Programmers tend to use serialization poorly" would work just as well. I've only recently really started internalizing just how much of a minefield serialization is in general and I'm 12 years into my career.

There are no comments on this comment yet.