Le 1 juin 2017 à 04:00, Rich Felker <dalias@libc.org> a écrit :

Indeed. How about the attached?

I did look at your patch, and although it's probably fine, it does
have additional side effects like moving the length check across the
slash-skipping. That's part of why I looked for a minimally invasive
approach.

Rich
<globroot.diff>

Yes, this should work too.