/resolv/ |
A D | ns_name_ntop.c | 61 char *dn, *eom; in ___ns_name_ntop() local 67 eom = dst + dstsiz; in ___ns_name_ntop() 79 if (dn >= eom) in ___ns_name_ntop() 91 if (eom - dn < 2) in ___ns_name_ntop() 101 if (eom - dn < 4) in ___ns_name_ntop() 113 if (eom - dn < 2) in ___ns_name_ntop() 124 if (dn >= eom) in ___ns_name_ntop() 131 if (dn >= eom) in ___ns_name_ntop()
|
A D | ns_name_pton.c | 29 unsigned char *label, *bp, *eom; in ___ns_name_pton() local 34 eom = dst + dstsiz; in ___ns_name_pton() 78 if (label >= eom) in ___ns_name_pton() 89 if (bp >= eom) in ___ns_name_pton() 111 if (bp >= eom) in ___ns_name_pton() 129 if (label >= eom) in ___ns_name_pton() 137 if (bp >= eom) in ___ns_name_pton()
|
A D | ns_name_unpack.c | 27 ___ns_name_unpack (const unsigned char *msg, const unsigned char *eom, in ___ns_name_unpack() argument 39 if (srcp < msg || srcp >= eom) in ___ns_name_unpack() 59 if (n + 1 >= dstlim - dstp || n >= eom - srcp) in ___ns_name_unpack() 72 if (srcp >= eom) in ___ns_name_unpack() 81 if (target >= eom - msg) in ___ns_name_unpack() 92 if (checked >= eom - msg) in ___ns_name_unpack()
|
A D | ns_name_skip.c | 25 ___ns_name_skip (const unsigned char **ptrptr, const unsigned char *eom) in ___ns_name_skip() argument 31 while (cp < eom) in ___ns_name_skip() 45 if (eom - cp < n) in ___ns_name_skip() 50 if (cp == eom) in ___ns_name_skip()
|
A D | ns_parse.c | 65 ns_skiprr(const u_char *ptr, const u_char *eom, ns_sect section, int count) { in ns_skiprr() argument 71 b = dn_skipname(ptr, eom); in ns_skiprr() 76 if (ptr + NS_INT32SZ + NS_INT16SZ > eom) in ns_skiprr() 83 if (ptr > eom) in ns_skiprr() 91 const u_char *eom = msg + msglen; in libresolv_hidden_def() local 96 handle->_eom = eom; in libresolv_hidden_def() 97 if (msg + NS_INT16SZ > eom) in libresolv_hidden_def() 100 if (msg + NS_INT16SZ > eom) in libresolv_hidden_def() 104 if (msg + NS_INT16SZ > eom) in libresolv_hidden_def() 112 int b = ns_skiprr(msg, eom, (ns_sect)i, in libresolv_hidden_def() [all …]
|
A D | ns_name.c | 52 u_char *dn, *eom; in ns_name_ntol() local 59 eom = dst + dstsiz; in ns_name_ntol() 61 if (dn >= eom) { in ns_name_ntol() 76 if (dn + l >= eom) { in ns_name_ntol()
|
A D | res_nameinquery.c | 91 const unsigned char *buf, const unsigned char *eom) in __libc_res_nameinquery() argument 101 n = __libc_dn_expand (buf, eom, cp, tname, sizeof tname); in __libc_res_nameinquery() 105 if (cp + 2 * INT16SZ > eom) in __libc_res_nameinquery()
|
A D | dn_skipname.c | 91 ___dn_skipname (const unsigned char *ptr, const unsigned char *eom) in ___dn_skipname() argument 94 if (__ns_name_skip (&ptr, eom) < 0) in ___dn_skipname()
|
A D | resolv-deprecated.c | 46 const unsigned char *buf, const unsigned char *eom) in res_nameinquery() argument 48 return __libc_res_nameinquery (name, type, class, buf, eom); in res_nameinquery()
|
A D | ns_name_uncompress.c | 25 ___ns_name_uncompress (const unsigned char *msg, const unsigned char *eom, in ___ns_name_uncompress() argument 29 int n = __ns_name_unpack (msg, eom, src, tmp, sizeof tmp); in ___ns_name_uncompress()
|
A D | dn_expand.c | 95 ___dn_expand (const unsigned char *msg, const unsigned char *eom, in ___dn_expand() argument 98 int n = __ns_name_uncompress (msg, eom, src, dst, (size_t) dstsiz); in ___dn_expand()
|
A D | compat-gethnamaddr.c | 125 if (cp > eom) { \ 133 if ((ptr) + (count) > eom) { \ 146 const u_char *eom, *erdata; in getanswer() local 156 eom = answer->buf + anslen; in getanswer() 182 n = __libc_dn_expand (answer->buf, eom, cp, bp, buflen); in getanswer() 212 while (ancount-- > 0 && cp < eom && !had_error) { in getanswer() 213 n = __libc_dn_expand (answer->buf, eom, cp, bp, buflen); in getanswer() 236 n = __libc_dn_expand (answer->buf, eom, cp, in getanswer() 269 n = __libc_dn_expand (answer->buf, eom, cp, in getanswer() 307 n = __libc_dn_expand (answer->buf, eom, cp, in getanswer()
|