diff options
author | brian <brian@FreeBSD.org> | 2004-06-21 08:01:16 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2004-06-21 08:01:16 +0000 |
commit | 86ff38aa6a16b0d64c479830cee246b451837992 (patch) | |
tree | b23d0d3ee239998bb689eb262cc2b53c953a4434 /share/mk/bsd.kmod.mk | |
parent | 05c25483b4784c8f5df796f4494e20e8c408d1d6 (diff) | |
download | FreeBSD-src-86ff38aa6a16b0d64c479830cee246b451837992.zip FreeBSD-src-86ff38aa6a16b0d64c479830cee246b451837992.tar.gz |
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.
Diffstat (limited to 'share/mk/bsd.kmod.mk')
0 files changed, 0 insertions, 0 deletions