/[base]
ViewVC logotype

Revision 337249


Jump to revision: Previous Next
Author: asomers
Date: Fri Aug 3 14:19:09 2018 UTC (5 years, 11 months ago)
Changed paths: 3
Log Message:
MFC r330719:

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


Changed paths

Path Details
Directorystable/10/ modified , props changed
Directorystable/10/libexec/tftpd/tests/functional.c modified , text changed
Directorystable/10/libexec/tftpd/tftpd.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27