View | Details | Raw Unified | Return to bug 13028
Collapse All | Expand All

(-)a/resolv/res_send.c (-1 / +1 lines)
Lines 441-447 __libc_res_nsend(res_state statp, const u_char *buf, int buflen, Link Here
441
				    malloc(sizeof (struct sockaddr_in6));
441
				    malloc(sizeof (struct sockaddr_in6));
442
			if (EXT(statp).nsaddrs[n] != NULL) {
442
			if (EXT(statp).nsaddrs[n] != NULL) {
443
				memset (mempcpy(EXT(statp).nsaddrs[n],
443
				memset (mempcpy(EXT(statp).nsaddrs[n],
444
						&statp->nsaddr_list[n],
444
						&statp->nsaddr_list[ns],
445
						sizeof (struct sockaddr_in)),
445
						sizeof (struct sockaddr_in)),
446
					'\0',
446
					'\0',
447
					sizeof (struct sockaddr_in6)
447
					sizeof (struct sockaddr_in6)

Return to bug 13028