Ethereal-dev: [Ethereal-dev] valgrind results

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

From: "Dr. Uwe Girlich" <Uwe.Girlich@xxxxxxxxxxx>
Date: Tue, 19 Nov 2002 11:48:47 +0100
Hello!

> Anyone who wants to test: build and install valgrind (trivial!).
> Run it (I think I posted the command line parameters I used back then)
> against any traces you happen to have.
> Report back in case you find something.
I got with valgrind ./tethereal -r crash.trace file some problems in DCE.
10 times I get blocks like:

==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?

Bye, Uwe