[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-inetutils] inetutils 1.5 ftpd problem
From: |
turkey |
Subject: |
[bug-inetutils] inetutils 1.5 ftpd problem |
Date: |
Mon, 11 Jun 2007 18:37:23 +0900 |
User-agent: |
Thunderbird 2.0.0.0 (Windows/20070326) |
Hi,
I found the problem in ftpd.c.
It makes ftpd killed by full path specified MKD on my embedded system.
Regards,
-------------------------------------------------------
*** ftpd.c 2007-06-08 09:07:22.000000000 +0900
--- patch/ftpd.c 2007-06-08 09:01:01.000000000 +0900
***************
*** 1599,1605 ****
if (mkdir (name, 0777) < 0)
perror_reply (550, name);
else if (name[0] == '/')
! reply (257, "\"%s\" new directory created.");
else
{
/* We have to figure out what our current directory is so that we can
--- 1599,1605 ----
if (mkdir (name, 0777) < 0)
perror_reply (550, name);
else if (name[0] == '/')
! reply (257, "\"%s\" new directory created.", name);
else
{
/* We have to figure out what our current directory is so that we can
- [bug-inetutils] inetutils 1.5 ftpd problem,
turkey <=