bionic/libc/dns
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
..
include Moved private dns header to their own dir. 2014-03-03 20:40:41 +00:00
inet Moved nameser.h and namser_compat.h to public include dir 2014-03-04 15:07:07 +00:00
nameser Fix broken pointer overflow check ns_name_unpack() 2014-03-06 18:39:29 +00:00
net Moved nameser.h and namser_compat.h to public include dir 2014-03-04 15:07:07 +00:00
resolv Moved nameser.h and namser_compat.h to public include dir 2014-03-04 15:07:07 +00:00
gethnamaddr.c Moved nameser.h and namser_compat.h to public include dir 2014-03-04 15:07:07 +00:00