On Jul 19, 2009, at 11:37 AM, Ruediger Pluem wrote:

But if idx for whatever reason is above AP_MAX_REG_MATCH we can segfault again in re->match[idx].rm_so == re->match[idx].rm_eo. So I still suggest to reverse the order of both if statements. This doesn't cost us anything
but make things more foolprove.


+1

Reply via email to