about summary refs log tree commit diff
path: root/src/network/dn_skipname.c
Commit message (Collapse)AuthorAgeFilesLines
* handle labels with 8-bit byte values in dn_skipnameRyan Fairfax2019-03-131-2/+5
| | | | | | | | | | | The original logic considered each byte until it either found a 0 value or a value >= 192. This means if a string segment contained any byte >= 192 it was interepretted as a compressed segment marker even if it wasn't in a position where it should be interpretted as such. The fix is to adjust dn_skipname to increment by each segments size rather than look at each character. This avoids misinterpretting string segment characters by not considering those bytes.
* implement dn_skipname (legacy resolver function)Rich Felker2013-04-041-0/+12