Searched hist:130834 (Results 1 - 1 of 1) sorted by relevance
/freebsd-11-stable/libexec/tftpd/ | ||
H A D | tftpd.c | diff 130834 Mon Jun 21 06:01:16 MDT 2004 brian o Reduce path names in RRQ and WRQ packets by: Reducing "/+./" strings to "/" Reducing "/[^/]+/../" to "/" o Don't send an OACK when the result of the [RW]RQ is an error. These changes allow tftpd to interact with pxelinux.bin from the syslinux package. Whilst the path reducing code doesn't properly handle situations where the path component before the "/../" is a symlink to (say) ".", I would suggest that it does the right thing in terms of the clients perception of what their path string actually represents. This seems better than using realpath() and breaking environments where symlinks point outside of the directory hierarchy that tftpd is configured to allow. |
Completed in 226 milliseconds