bionic/libc/inet
Nick Kralevich 85b06f9365 inet_ntop: pass the size of tmp to snprintf()
Fix runtime error when snprintf() FORTIFY_SOURCE protections are
applied. The size passed to snprintf() is larger than the tmp
buffer size, which results in a runtime assertion failure.

Even though the size passed to snprintf is larger than the buffer,
there's no danger of overwriting the buffer because of the format
string passed to snprintf.

Change-Id: I35f0217d25f3b9c6d04c5a76c3238759c235545a
2012-06-11 16:00:52 -07:00
..
bindresvport.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
ether_aton.c added missing ether_aton and ether_ntoa 2010-08-25 08:46:23 -07:00
ether_ntoa.c added missing ether_aton and ether_ntoa 2010-08-25 08:46:23 -07:00
inet_addr.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
inet_aton.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
inet_ntoa.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
inet_ntop.c inet_ntop: pass the size of tmp to snprintf() 2012-06-11 16:00:52 -07:00
inet_pton.c Fix build. 2011-06-09 13:03:17 -07:00