]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
libsa: validate tftp_makereq() after we did reset the read
authorToomas Soome <tsoome@FreeBSD.org>
Sun, 9 Sep 2018 06:30:15 +0000 (06:30 +0000)
committerToomas Soome <tsoome@FreeBSD.org>
Sun, 9 Sep 2018 06:30:15 +0000 (06:30 +0000)
commit7e63e808d7eb8e945542965a90b0e891199ab598
tree029f19edafe714eb08e726f3efb3f199f7078cc1
parent9c78fa0a6169953e27a760c4cddc9cb0d1554936
libsa: validate tftp_makereq() after we did reset the read

The name check referred in the comment is not the only possible error source,
we need to validate the result.

Reviewed by: allanjude
Approved by: re (kib)
Differential Revision: https://reviews.freebsd.org/D17081
stand/libsa/tftp.c