diff options
| author | Mike Smith <msmith@FreeBSD.org> | 2001-05-28 22:25:44 +0000 |
|---|---|---|
| committer | Mike Smith <msmith@FreeBSD.org> | 2001-05-28 22:25:44 +0000 |
| commit | dc46262eaadbef980b30f9cf2076d920ef6d8745 (patch) | |
| tree | c5fd15a48a833ee8ac330d3e64f96c143de66d59 /lib/libstand | |
| parent | 861c52f1c446d05e3e83bd9c5ca5ffae9c2a1c75 (diff) | |
Notes
Diffstat (limited to 'lib/libstand')
| -rw-r--r-- | lib/libstand/tftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libstand/tftp.c b/lib/libstand/tftp.c index 3b481734716da..0f1602608f709 100644 --- a/lib/libstand/tftp.c +++ b/lib/libstand/tftp.c @@ -119,7 +119,7 @@ recvtftp(d, pkt, len, tleft) len = readudp(d, pkt, len, tleft); - if (len < 8) + if (len < 4) return (-1); t = (struct tftphdr *) pkt; |
