]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix the TFTP client when performing a RRQ for files smaller than 512 bytes
authorMichael Tuexen <tuexen@FreeBSD.org>
Thu, 10 Dec 2020 19:36:33 +0000 (19:36 +0000)
committerMichael Tuexen <tuexen@FreeBSD.org>
Thu, 10 Dec 2020 19:36:33 +0000 (19:36 +0000)
commit1f67c37c1f9353e3a211795ff5e154884319a0cd
tree0bd0e356d04a3fcb038907f50a851cddf9b12c36
parent97c8162543659f3de5fa13ef78476518ecbd1b2c
Fix the TFTP client when performing a RRQ for files smaller than 512 bytes
and the server not sending an OACK:
* Close the file.
* Report the correct the number of received blocks.

MFC after: 1 week
libexec/tftpd/tftp-transfer.c