Gabriele Bartolini writes:
>
> Ciao talponi,
>
> trying the testnet program by specifying more than 1 time, I get a core
> dumping at the end of it. It's while it does the HtHTTP destructor.
>
> I don't know why, and trying with libtool gdb, I found that's due to a
> malloc call. I think the problem is outside the class, and it's probably
> belonging to the String class.
>
> I hope I am wrong ...
Yes you are :-)
The problem comes from the same _access_time object being deleted twice:
in Transport_Response::~Transport_Response and
in HtHTTP_Response::~HtHTTP_Response
I've fixed two other little things that only generate uninitialized
memory read with purify.
You see what can be done with test programs ;-?
Cheers,
--
Loic Dachary
ECILA
100 av. du Gal Leclerc
93500 Pantin - France
Tel: 33 1 56 96 09 80, Fax: 33 1 56 96 09 61
e-mail: [EMAIL PROTECTED] URL: http://www.senga.org/
------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the SUBJECT of the message.