From mboxrd@z Thu Jan 1 00:00:00 1970 From: wmorgan-sup@masanjin.net (William Morgan) Date: Sun, 16 Aug 2009 14:43:03 -0700 Subject: [sup-talk] Stack overflow in regexp matcher In-Reply-To: <92457f310908120145n453d6639mf22fe68b62054392@mail.gmail.com> References: <92457f310908030116k146a901aleee95a09db907d97@mail.gmail.com> <1250021966-sup-933@masanjin.net> <92457f310908120145n453d6639mf22fe68b62054392@mail.gmail.com> Message-ID: <1250458792-sup-9177@masanjin.net> Reformatted excerpts from Mark Drayton's message of 2009-08-12: > The line it's choking on is 284058 bytes long and contains ~6400 > addresses. (gotta love mail from "internal communications"). Wow! > If I halve the number of addresses it works, so perhaps this isn't > worth fixing at all. If you do want to tackle it I'm happy to help > off-list. Well... it's clearly a weird case, but it would be nice to do something besides barf. I suppose we could detect very long lines, emit a warning, and just parse the first few kb. What do you think? -- William