﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
381	fsResolveUnix path lengh limit check limits paths to 258 characters	Steven Levine		"fsResolveUnix checks for path overflow with:

fs.c:1058
            if (cchNativePath + 2 > PATH_MAX)
            {
                rcRet = -ENAMETOOLONG;
                break;
            }
            memcpy(pszNativePath, pszUserPath, cchNativePath + 1);

This limits the maximum path length to 259 characters.  The check should be

  cchNativePath >= PATH_MAX

fsResolveUnix contains another occurrence of this issue:

fs.c:1404
                        if (cchSymlink + cchLeft + 2 >= PATH_MAX)
                        {
                            rcRet = -ENAMETOOLONG;
                            break;
                        }


"	defect	new	normal	new	libc	0.6.6	normal			
