[Bug 697] ending slash is not used

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Wed Oct 1 07:28:38 EST 2003


http://bugzilla.mindrot.org/show_bug.cgi?id=697





------- Additional Comments From markus at openbsd.org  2003-10-01 07:28 -------
i don't see changes in cvs annotate.

1.28         (itojun   23-Jun-01): static void
1.1          (markus   31-Aug-00): process_realpath(void)
1.1          (markus   31-Aug-00): {
1.1          (markus   31-Aug-00):      char resolvedname[MAXPATHLEN];
1.1          (markus   31-Aug-00):      u_int32_t id;
1.1          (markus   31-Aug-00):      char *path;
1.1          (markus   31-Aug-00): 
1.1          (markus   31-Aug-00):      id = get_int();
1.1          (markus   31-Aug-00):      path = get_string(NULL);
1.7          (markus   09-Dec-00):      if (path[0] == '\0') {
1.7          (markus   09-Dec-00):              xfree(path);
1.7          (markus   09-Dec-00):              path = xstrdup(".");
1.7          (markus   09-Dec-00):      }
1.36         (deraadt  23-Jun-02):      TRACE("realpath id %u path %s", id, 
path);
1.1          (markus   31-Aug-00):      if (realpath(path, resolvedname) == 
NULL) {
1.1          (markus   31-Aug-00):              send_status(id, 
errno_to_portable(errno));
1.1          (markus   31-Aug-00):      } else {
1.1          (markus   31-Aug-00):              Stat s;
1.1          (markus   31-Aug-00):              attrib_clear(&s.attrib);
1.1          (markus   31-Aug-00):              s.name = s.long_name = 
resolvedname;
1.1          (markus   31-Aug-00):              send_names(id, 1, &s);
1.1          (markus   31-Aug-00):      }
1.1          (markus   31-Aug-00):      xfree(path);
1.1          (markus   31-Aug-00): }
1.1          (markus   31-Aug-00): 




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the openssh-bugs mailing list