/[base]
ViewVC logotype

Revision 330719


Jump to revision: Previous Next
Author: asomers
Date: Sat Mar 10 01:43:55 2018 UTC (6 years, 3 months ago)
Changed paths: 2
Log Message:
tftpd: Abort on an WRQ access violation

On a WRQ (write request) tftpd checks whether the client has access
permission for the file in question.  If not, then the write is prevented.
However, tftpd doesn't reply with an ERROR packet, nor does it abort.
Instead, it tries to receive the packet anyway.

The symptom is slightly different depending on the nature of the error.  If
the target file is nonexistent and tftpd lacks permission to create it, then
tftpd will willingly receive the file, but not write it anywhere.  If the
file exists but is not writable, then tftpd will fail to ACK to WRQ.

PR:		225996
MFC after:	3 weeks


Changed paths

Path Details
Directoryhead/libexec/tftpd/tests/functional.c modified , text changed
Directoryhead/libexec/tftpd/tftpd.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27