Overview
Comment: | Fix parsing of URI resource records |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | uri-resource-record |
Files: | files | file ages | folders |
SHA3-256: |
2b7bc4c1062d3683c4da91297079d3e4 |
User & Date: | js on 2024-01-15 02:24:49 |
Other Links: | branch diff | manifest | tags |
Context
2024-01-15
| ||
02:26 | Merge support for URI DNS resource records check-in: e051d7d487 user: js tags: trunk | |
02:24 | Fix parsing of URI resource records Closed-Leaf check-in: 2b7bc4c106 user: js tags: uri-resource-record | |
2024-01-14
| ||
22:47 | Add support for URI DNS resource records check-in: 16d99685ae user: js tags: uri-resource-record | |
Changes
Modified src/OFDNSResolver.m from [7df5d5c8bd] to [a8a046f98e].
︙ | ︙ | |||
411 412 413 414 415 416 417 | if (dataLength < 4) @throw [OFInvalidServerResponseException exception]; priority = (buffer[i] << 8) | buffer[i + 1]; weight = (buffer[i + 2] << 8) | buffer[i + 3]; | | | 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 | if (dataLength < 4) @throw [OFInvalidServerResponseException exception]; priority = (buffer[i] << 8) | buffer[i + 1]; weight = (buffer[i + 2] << 8) | buffer[i + 3]; target = [OFString stringWithUTF8String: (char *)buffer + i + 4 length: dataLength - 4]; return [[[OFURIDNSResourceRecord alloc] initWithName: name DNSClass: DNSClass priority: priority weight: weight |
︙ | ︙ |