[Verse-dev] uninitialised data in v_n_send_data

Samium Gromoff _deepfire at mail.ru
Mon Apr 3 11:11:35 CEST 2006


On Mon, 2006-04-03 at 11:01 +0200, peter Lunden wrote:
> I get the following printout when running my code in valgrind (memory
> debugger)
> 
> ==9993== Syscall param socketcall.sendto(args) points to uninitialised
> byte(s)
> ==9993==    at 0x1B8E4772: (within /lib/ld-2.3.5.so)
> ==9993==    by 0x1B976B17: sendto
> (in /lib/tls/i686/cmov/libpthread-2.3.5.so)
> ==9993==    by 0x8198426: v_n_send_data (v_network.c:155)
> ==9993==    by 0x8199130: v_noq_send_queue (v_network_out_que.c:240)
> =

I`m not exactly sure, but one legitimate reason for this probably is
packet padding bytes -- after all we probably do not want to waste cpu
cycles initialising them.

respectfully, Samium Gromoff



More information about the Verse-dev mailing list