Subject: Re: tftpd: writing files with relative pathnames?
To: Jan B. Koum <jkb@best.com>
From: Michael K. Sanders <msanders@confusion.net>
List: current-users
Date: 10/27/1998 13:54:41
In message <19981027124451.A2026@best.com>, "Jan B. Koum " writes:
>> >>>         if (mode != RRQ || !strncmp(filename, "../", 3))
>> >>>             return (EACCESS);
>
>	Are you sure it is not in FreBSD? I see:
>
>                if (!strncmp(filename, "../", 3))
>                        return (EACCESS);

Yes, I'm quite positive.  The important bit is 'mode != RRQ'.