Searched refs:buf2 (Results 1 – 2 of 2) sorted by relevance
51 char buf1[10], buf2[10], buf3[10]; in udp_recv() local61 memset(buf2, 0, sizeof(buf2)); in udp_recv()69 iov[1].iov_base = buf2; in udp_recv()70 iov[1].iov_len = sizeof(buf2); in udp_recv()74 memset(buf2, 0, sizeof(buf2)); // buf2 is zeroed here. in udp_recv()84 printf("%s\n", buf2); // If buf2 has contents OVERWRITE, a vuln has occured. in udp_recv()
85 byte[] buf2 = new byte[64]; in assertSameResource()88 int n2 = is2.read(buf2); in assertSameResource()91 assertThat(buf1).isEqualTo(buf2); in assertSameResource()