]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix the TFTP client when performing a RRQ for files smaller than 512 bytes
authortuexen <tuexen@FreeBSD.org>
Thu, 10 Dec 2020 19:36:33 +0000 (19:36 +0000)
committertuexen <tuexen@FreeBSD.org>
Thu, 10 Dec 2020 19:36:33 +0000 (19:36 +0000)
commitea2c2ca4d5d67abea69cf357513303498003c46a
tree0bd0e356d04a3fcb038907f50a851cddf9b12c36
parent276b04a74cc09d00c8623aaebaad6a412892aa2a
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