]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
libsa: validate tftp_makereq() after we did reset the read
authortsoome <tsoome@FreeBSD.org>
Sun, 9 Sep 2018 06:30:15 +0000 (06:30 +0000)
committertsoome <tsoome@FreeBSD.org>
Sun, 9 Sep 2018 06:30:15 +0000 (06:30 +0000)
commitd4d38833eeab48b2f6a4c02f83b5586125e74705
tree029f19edafe714eb08e726f3efb3f199f7078cc1
parent46581896f396ff4c5e54eb7826bcea129a00e6c3
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