[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sup-devel] [PATCH] Implement inline GPG



Excerpts from Michael Stapelberg's message of 2010-02-27 08:11:28 -0500:
> But I guess that no client would put any data before/after these lines,
> so adding ^ and $ to the regex in 530 seems right.

The problem is sign_start will be nil if the text isn't on a line by
itself, causing a crash a few lines later. This happened to me when I
was running with this patch on my edge branch. I'd remove the
duplication by making the condition of the if the sign_start assignment.
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel