[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Is HURD's lack of HOST_NAME_MAX and PATH_MAX a good architectural approach



Sam Hartman, le lun. 20 janv. 2025 15:48:00 -0700, a ecrit:
> My restatement is that it's possible to create paths where the full path
> name is longer than PATH_MAX.
> 
> I guess a better way to look at this would be that paths beyond PATH_MAX
> may break.

And unfortunately, code that just uses PATH_MAX as allocation size most
often do not really take care about this case, and then get possibly
vulnerable.

Samuel


Reply to: