// https://syzkaller.appspot.com/bug?id=e7cb1c0fc7b386dbfedec70619f46fea3ae76480
// autogenerated by syzkaller (https://github.com/google/syzkaller)

#define _GNU_SOURCE

#include <endian.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/syscall.h>
#include <sys/types.h>
#include <unistd.h>

int main()
{
  syscall(__NR_mmap, 0x20000000, 0x1000000, 3, 0x32, -1, 0);

  *(uint16_t*)0x20000040 = 0;
  memcpy((void*)0x20000042,
         "\x0c\x93\x1b\x02\xcc\x8f\x36\xc9\x92\xb9\x0d\x60\x96\xde\xdb\x97\x99"
         "\x40\xaa\xb4\xe9\xf8\xbc\xdf\x4b\x47\xad\x5c\xa9\xd7\xd8\x09\x0a\x2d"
         "\xc3\x47\x37\xad\xb3\xc6\x66\xd3\xe5\xb6\x0f\xcc\xc8\x8f\x2c\x7f\x2c"
         "\xc6\x7f\x01\x37\x70\x77\x25\x43\x73\x72\x6a\xec\x1a\x2a\x9f\xf7\xb6"
         "\x79\xe1\x7e\xc8\x77\x95\x09\x57\xa7\xbe\xee\xe1\x76\x08\xd1\xb8\x09"
         "\x39\x2a\xa5\xd9\x08\x73\xeb\xea\x6d\xaf\x4c\x0b\x76\xfd\xa1\x19\xa7"
         "\x2a\x16\xb8\x8c\x44\xe0\x5a\x12\x36\xcd\x8a\x21\xfb\x8e\x23\xe4\x8d"
         "\xc5\x18\xde\x36\x6d\x6c\xd3",
         126);
  syscall(__NR_sendto, -1, 0x20000100, 0, 0, 0x20000040, 0x80);
  syscall(__NR_mprotect, 0x20000000, 0x800000, 0);
  return 0;
}