Menu

#852 img-reorder hangs on large data: URI images

pending
5
2012-02-08
2012-02-04
Incognito
No

img-reorder filter hangs (or takes a very long time (core at 100%)) on pages with large in-line data: URI images using data: URI scheme.
Example: http://dopiaza.org/tools/datauri/data-uri-examples/
Tested on 3.0.19 on Windows 7 64bit.

Discussion

  • Incognito

    Incognito - 2012-02-04

    Upon further testing, banners-by-size has similar problems with large enough images.

    Easy solution would be to put some reasonable limits on the match size in the regexps.

     
  • Fabian Keil

    Fabian Keil - 2012-02-08
    • assigned_to: nobody --> fabiankeil
    • status: open --> pending
     
  • Fabian Keil

    Fabian Keil - 2012-02-08

    Thanks for the report.

    It looks like more recent PCRE versions already "solve" this with the internal match limit:
    14:53:42.869 029 Error: Skipped filter 'privoxy-filter-test' after job number 5: (pcre:) Match limit reached (-8)

    Unfortunately we can't rely on a more recent PCRE version being available, so I'll look into this.

     

Log in to post a comment.