bionic/libc/dns/nameser
Calin Juravle 85c5202a64 Fix broken pointer overflow check ns_name_unpack()
Many compilers may optimize away the overflow check `msg + l < msg',
where `msg' is a pointer and `l' is an integer, because pointer
overflow is undefined behavior in C.

Use a safe precondition test `l >= eom - msg' instead.
Bug: 13219633

Change-Id: I3fca2125834073cc36d7e9c4e586e97842265a59
2014-03-06 18:39:29 +00:00
..
ns_name.c Fix broken pointer overflow check ns_name_unpack() 2014-03-06 18:39:29 +00:00
ns_netint.c Sync up nameser with upstream(2014.03.05) 2014-03-06 18:36:43 +00:00
ns_parse.c Sync up nameser with upstream(2014.03.05) 2014-03-06 18:36:43 +00:00
ns_print.c Sync up nameser with upstream(2014.03.05) 2014-03-06 18:36:43 +00:00
ns_samedomain.c Sync up nameser with upstream(2014.03.05) 2014-03-06 18:36:43 +00:00
ns_ttl.c Sync up nameser with upstream(2014.03.05) 2014-03-06 18:36:43 +00:00