tree checksum vpatch file split hunks
all signers: asciilifeform diana_coman
antecedents: udp_errata_asciilifeform
press order:
udp_genesis | asciilifeform diana_coman |
udp_errata_asciilifeform | asciilifeform diana_coman |
udp_fix_ip_nullchars | diana_coman |
patch:
(39 . 7)(39 . 12)
5 struct in_addr addr;
6 addr.s_addr = htonl(ip);
7 char *txt = inet_ntoa(addr);
8 strncpy(buf, txt, buf_size);
9 /* Given IP might be shorter than buf_size so don't copy blindly. */
10 int len = strlen(txt);
11 /* ONTH don't ever copy more than buf_size either */
12 if (len > buf_size)
13 len = buf_size;
14 strncpy(buf, txt, len);
15 }
16 /* Should be replaced with native routine */
17
- C2719877AD84BD2CF788458DF5EB16341E0151E867AFA8B8B20FAF9F10A8B1723123F19B581DAB0627458350E6AB26BE87EC84AC94F80F29D61778DF5705A969(1 . 2)(1 . 3)
22 543080 udp_genesis diana_coman Regrind of asciilifeform's UDP lib genesis, to bring it to current format (Keccak hashes, manifest file and standard compliant names for vpatches). A minimal library for UDP communications with fixed-size payloads sent/received over the wire. Uses Ada and C code.
23 543081 udp_errata_asciilifeform diana_coman Regrind of asciilifeform's errata on his UDP lib: adds closing socket calls, corrects and adds to comments.
24 543082 udp_fix_nullchars diana_coman Fix for issue in unix_udp.c that returns null characters at end of IPs shorter than 16 characters in length.