fuzz: don't buffer stdout in afl stubs

... to avoid obscuring output.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
This commit is contained in:
Wei Liu committed 2017-02-01 11:25:26 +00:00
1 parent 5a44ff111d
commit 9d3226aa06
2 files changed
+4

No files matched your search

+2
View File
@@ -13,6 +13,8 @@ int main(int argc, char **argv)
size_t size;
FILE *fp;
setbuf(stdout, NULL);
if ( argc != 2 )
{
printf("Expecting only one argument\n");
@@ -13,6 +13,8 @@ int main(int argc, char **argv)
size_t size;
FILE *fp;
setbuf(stdout, NULL);
if ( argc != 2 )
{
printf("Expecting only one argument\n");
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.