Quantcast
Channel: CentOS Bug Tracker - Issues
Viewing all articles
Browse latest Browse all 19115

0007111: stat return ENAMETOOLONG on path shorter than MAX_PATH

$
0
0
lstat() errors out with ENAMETOOLONG on paths that are 4064 characters or longer, not 4096 as PATH_MAX is defined to in limits.h. So it seems there's 32 characters "missing" from the limit.<br /> <br /> This does not happen on CentOS 6.4, so it seems to be a recent-ish regression.<br /> <br /> The length of each path-component does not seem to matter.

Viewing all articles
Browse latest Browse all 19115

Trending Articles