/* > > HEAD commit: 8084842f Use a date that is actually a real date. > git tree: netbsd > console output: https://syzkaller.appspot.com/x/log.txt?x=12630145100000 > kernel config: https://syzkaller.appspot.com/x/.config?x=1420f906d33d9f1f > dashboard link: https://syzkaller.appspot.com/bug?extid=c41bbfe5a7ff07bf0f99 > compiler: g++ (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609 > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=171f7f53100000 > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1691b3e9100000 > > IMPORTANT: if you fix the bug, please add the following tag to the commit: > Reported-by: syzbot+c41bbfe5a7ff07bf0f99@syzkaller.appspotmail.com */ #include #include #include #include #include #include #include int main(int argc, char **argv) { int filedes[2]; pipe2(filedes, 0); dup2(filedes[1], filedes[0]); ioctl(filedes[1], FIONWRITE); return 0; }