Home
last modified time | relevance | path

Searched refs:srcp (Results 1 – 1 of 1) sorted by relevance

/bionic/libc/dns/nameser/
Dns_name.c426 const u_char *srcp, *dstlim; in ns_name_unpack2() local
433 srcp = src; in ns_name_unpack2()
435 if (srcp < msg || srcp >= eom) { in ns_name_unpack2()
440 while ((n = *srcp++) != 0) { in ns_name_unpack2()
446 if ((l = labellen(srcp - 1)) < 0) { in ns_name_unpack2()
450 if (dstp + l + 1 >= dstlim || srcp + l >= eom) { in ns_name_unpack2()
456 memcpy(dstp, srcp, (size_t)l); in ns_name_unpack2()
458 srcp += l; in ns_name_unpack2()
462 if (srcp >= eom) { in ns_name_unpack2()
467 _DIAGASSERT(__type_fit(int, srcp - src + 1)); in ns_name_unpack2()
[all …]