Ethereal-dev: Re: [Ethereal-dev] valgrind results

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Ronnie Sahlberg" <ronnie_sahlberg@xxxxxxxxxxxxxx>
Date: Tue, 19 Nov 2002 23:04:19 +1100
From: "Dr. Uwe Girlich"
Sent: Tuesday, November 19, 2002 9:48 PM
Subject: [Ethereal-dev] valgrind results


>
> ==23444== Conditional jump or move depends on uninitialised value(s)
> ==23444==    at 0x80B0741: srvsvc_dissect_SERVER_INFO_UNION
(packet-dcerpc-srvsvc.c:5165)
> ==23444==    by 0x8089F8A: dissect_deferred_pointers (packet-dcerpc.c:976)
> ==23444==    by 0x808A4D7: dissect_ndr_pointer (packet-dcerpc.c:1304)
> ==23444==    by 0x80B100E: srvsvc_dissect_netrservergetinfo_reply
(packet-dcerpc-srvsvc.c:5616)
> I suspect, there are cases, where dissect_ndr_uint32() does not put
anything in
> the &level address.

>
> One of the summary line at the end reads:
> ==23444== malloc/free: in use at exit: 1429768 bytes in 7116 blocks.
>
> Should we try to reduce this number or is it not so important?

Can you get a list of where in the code these blocks were allocated?