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 mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-inetutils

Reply via email to