• Daniel Veillard's avatar
    Detect excessive entities expansion upon replacement · 23f05e0c
    Daniel Veillard authored
    If entities expansion in the XML parser is asked for,
    it is possble to craft relatively small input document leading
    to excessive on-the-fly content generation.
    This patch accounts for those replacement and stop parsing
    after a given threshold. it can be bypassed as usual with the
    HUGE parser option.
parserInternals.c 60.7 KB