Commit e256c369 authored by Vitezslav Kriz's avatar Vitezslav Kriz

afl: fix read length

parent e4a6d61b
......@@ -55,7 +55,7 @@ static int udp_stdin_recv(int fd, void *d)
struct udp_stdin *rq = (struct udp_stdin *) d;
rq->iov[RX].iov_len = fread(rq->iov[RX].iov_base,
1, rq->iov[RX].iov_len, stdin);
return rq->iov[RX].iov_len;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment