> + } else if (x->flags & EXC_FLAG_ENDSWITH) { > + if (!strcmp(exclude + 1, pathname + pathlen -x->patternlen + 1)) Is there some guarantee that the result of that subtraction is still within the string? Morten - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html