https://bugs.exim.org/show_bug.cgi?id=2794

--- Comment #2 from Thomas Tempelmann <tempelm...@gmail.com> ---
I investigated this.

Turns out it's rather simple, and probably easy to reproduce:

It has nothing to do with the "z:" name.

Instead, it's about a symlink pointing back to its own parent dir, causing an
endless recursion that way.

Now, what's the verdict of dealing with these?

I mean, there are a lot of cmdline tools on Unix and Linux that perform
recursive directory traversion. They all should be able to deal with this,
shouldn't they? And some apparently do. I wonder if that's those that use a
special traversal function which would handle this case (for macOS/BSD, there's
`fts_open`, for example?

If you traverse "by hand", you'll have to look at the symlink and determine
whether it leads to a recursion, right?

What's your take on this?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-- 
## List details at https://lists.exim.org/mailman/listinfo/pcre-dev 

Reply via email to