On Aug 12 03:10, Jan Kolar wrote:
Dear Corinna,
Please note that in net.cc, some kind of
string_size += addrsize_out;
is missing somewhere, which affects a buffer allocation.
See the two locations in diff.
[...]
DIFF
$ cd /usr/src/cygwin-1.7.6-1/winsup/ diff -up
suggested below tell me
what dns query you are making and I will try to duplicate it next week.
Pierre
-Original Message-
From: Pierre A. Humblet [mailto:Pierre dot Humblet at ieee dot org]
Sent: Friday, August 12, 2011 10:41 AM
To: cygwin at cygwin dot com
Subject: RE: buffer size
My final understanding is this:
for each of address_count we use (and have to allocate)
1. addrsize_out of bytes in the string area of buffer
2. sizeof (char *) of bytes in the h_addr_list area of buffer
Logically,
For 1., both string_ptr and string_size should be untouched
My final understanding is this:
for each of address_count we use (and have to allocate)
1. addrsize_out of bytes in the string area of buffer
2. sizeof (char *) of bytes in the h_addr_list area of buffer
Logically,
For 2., both string_ptr and string_size should be untouched
Dear Corinna,
Please note that in net.cc, some kind of
string_size += addrsize_out;
is missing somewhere, which affects a buffer allocation.
See the two locations in diff.
(I do not see well how the two loops (passes) communicate, which might
well be the origin of the problem.)
5 matches
Mail list logo