[realview] add more missing config symbols
[openwrt.git] / toolchain / uClibc / patches-0.9.33 / 131-inet-fix-__read_etc_hosts_r-segfault.patch
1 --- a/libc/inet/resolv.c
2 +++ b/libc/inet/resolv.c
3 @@ -1634,6 +1634,7 @@ int attribute_hidden __read_etc_hosts_r(
4 * struct in[6]_addr
5 * char line_buffer[BUFSZ+];
6 */
7 + memset(buf, 0, buflen);
8 parser->data = buf;
9 parser->data_len = aliaslen;
10 parser->line_len = buflen - aliaslen;
This page took 0.055812 seconds and 5 git commands to generate.