Update of /export/home/ntop/ntop
In directory jabber:/tmp/cvs-serv20695
Modified Files:
globals-structtypes.h address.c protocols.c
Log Message:
This one is actually funny. We know that gdbm doesn't care a bit about
returning unterminated strings, but it appears not to like storing them :-)
Deep in the gdbm code, valgrind finds this:
==16286== Syscall param write(buf) contains uninitialised or unaddressable
byte(s)
==16286== at 0x1CD0011B: (within /lib/tls/libc-2.3.3.so)
==16286== by 0x1CEBF7AF: gdbm_store (in /usr/lib/libgdbm.so.2.0.0)
==16286== by 0x1B9DB2E6: ntop_gdbm_store (util.c:4182)
...
To quiet valgrind (and to eliminate even the remote possibility of a problem),
add a pad byte to the stored address records in the dnsCache.
-----Burton (ref 515, valgrind)
_______________________________________________
Ntop-dev mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev