Gnus development mailing list
 help / color / mirror / Atom feed
* Regexp fix for nnimap-parse-flags
@ 2011-09-12  7:50 John Wiegley
  2011-09-21 18:24 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: John Wiegley @ 2011-09-12  7:50 UTC (permalink / raw)
  To: ding

I recently had a case where my IMAP server returned a huge VANISHED response.
This cause Gnus to fail on startup with "Stack overflow in regexp matcher".

The fix was to change this line:

     (re-search-forward "^\\* VANISHED .* \\([0-9:,]+\\)"

to this:

     (re-search-forward "^\\* VANISHED .*? \\([0-9:,]+\\)"

John




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Regexp fix for nnimap-parse-flags
  2011-09-12  7:50 Regexp fix for nnimap-parse-flags John Wiegley
@ 2011-09-21 18:24 ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-09-21 18:24 UTC (permalink / raw)
  To: John Wiegley; +Cc: ding

John Wiegley <jwiegley@gmail.com> writes:

> I recently had a case where my IMAP server returned a huge VANISHED response.
> This cause Gnus to fail on startup with "Stack overflow in regexp matcher".
>
> The fix was to change this line:
>
>      (re-search-forward "^\\* VANISHED .* \\([0-9:,]+\\)"
>
> to this:
>
>      (re-search-forward "^\\* VANISHED .*? \\([0-9:,]+\\)"

Thanks; applied.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-09-21 18:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-12  7:50 Regexp fix for nnimap-parse-flags John Wiegley
2011-09-21 18:24 ` Lars Magne Ingebrigtsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).