Segmentation fault at large expression lists
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
squidguard (Ubuntu) |
Confirmed
|
Undecided
|
Joachim Wiedorn |
Bug Description
Some information on the concerning package:
Package: squidguard
Status: install ok installed
Priority: optional
Section: web
Installed-Size: 448
Maintainer: Ubuntu MOTU Team <email address hidden>
Architecture: amd64
Version: 1.2.0-8.2ubuntu2
Depends: debconf (>= 0.5) | debconf-2.0, libc6 (>= 2.7-1), libdb4.6, liburi-perl, libwww-perl, perl, squid3 | squid
Suggests: chastity-list
Conffiles:
/etc/squid/
Description: Ubuntu 8.04.2
Release: 8.04
Architecture: 64bit (AMD)
I tried to add the most recent easylist-
Matching regexes were correctly rewritten, but a non matching URL causes squidGuard to crash with an segmentation fault.
Attached is the filterset I used and under the sed-script I used to transform:
/@@.*/d;
/^!.*/d;
/^\[.*\]$/d;
s#http://
s,[.?=&/|],\\&,g;
s#*#.*#g;
s,\$.*$,,g;
I just run into this with SquidGuard 1.4 on another platform. I noticed that trimming the easylist expression list to exactly 1000 lines avoids the segmentation fault.