[prev in list] [next in list] [prev in thread] [next in thread] 

List:       git
Subject:    Re: [PATCH] Speedup scanning for excluded files.
From:       "Morten Welinder" <mwelinder () gmail ! com>
Date:       2007-10-29 22:59:00
Message-ID: 118833cc0710291559kbd874a8o8111b9495090ef27 () mail ! gmail ! com
[Download RAW message or body]

> +                               } 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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic