The pathspec matching logic has been updated to avoid out-of-bounds memory accesses when a negative pathspec is shorter than the common prefix of positive pathspecs. * yt/pathspec-negative-prefix: dir: preserve pathspec prefix optimization with leading excludes dir: do not apply prefix to negative pathspecs