Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Knot DNS
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
23
Issues
23
List
Boards
Labels
Milestones
Merge Requests
5
Merge Requests
5
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Knot projects
Knot DNS
Commits
e256c369
Commit
e256c369
authored
Aug 18, 2015
by
Vitezslav Kriz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
afl: fix read length
parent
e4a6d61b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests-fuzz/wrap/udp-handler.c
tests-fuzz/wrap/udp-handler.c
+1
-1
No files found.
tests-fuzz/wrap/udp-handler.c
View file @
e256c369
...
...
@@ -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
);
1
,
KNOT_WIRE_MAX_PKTSIZE
,
stdin
);
return
rq
->
iov
[
RX
].
iov_len
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment