Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> The billion laughs attack has well known solutions (basically, don't recurse too deep)

You can then recurse wide. In theory it's best to allow only X placeables of up to Y size.

The point is, Doctype/External entities do a similar thing to XSLT/XSD (replacing elements with other elements), but in a positively ancient way.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: