On Sat, 23 Jun 2012, Russell Coker wrote: > Bug #667664 is due to the latest versions of the libpcre3 library setting > reg.re_nsub to an extremely large value and dansguardian trying to allocate > memory for that many records and having malloc fail. > > I've attached a patch for dansguardian which fixes this. I'll upload a > delayed NMU tomorrow if there is no response. Cool. Thanks for the patch, I will do an upload as soon as possible.
> I am not certain that libpcre3 is doing the right thing here, but I am > certain > that dansguardian is doing the wrong thing in trying to blindly allocate more > than 2^50 bytes of RAM. I've made it allocate no more than 1024 records for > sub regexes as I find it difficult to imagine anyone needing more than that. Indeed, both seems wrong to me, but the most important thing is to get a working dansguardian into wheezy. Alex -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org