View Issue Details

IDProjectCategoryView StatusLast Update
0002039GNUnetfile-sharing servicepublic2012-02-28 11:05
ReporterChristian Grothoff Assigned ToChristian Grothoff  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version0.9.0 
Target Version0.9.2Fixed in Version0.9.2 
Summary0002039: advertising pseudoynm sends uniniitalized memory over the network (valgrind)
DescriptionHere from gnunet-fs-gtk:

=24385== Syscall param socketcall.sendto(msg) points to uninitialised byte(s)
==24385== at 0x880057C: send (send.c:33)
==24385== by 0x585D1E6: GNUNET_NETWORK_socket_send (network.c:599)
==24385== by 0x58457F3: transmit_ready (connection.c:1554)
==24385== by 0x5869739: run_ready (scheduler.c:684)
==24385== by 0x5869F19: GNUNET_SCHEDULER_run (scheduler.c:874)
==24385== by 0x5863898: GNUNET_PROGRAM_run (program.c:250)
==24385== by 0x4E2D1FD: GNUNET_GTK_main_loop_start (eventloop.c:910)
==24385== by 0x4151DC: main (gnunet-fs-gtk.c:768)
==24385== Address 0x14b617c0 is 16 bytes inside a block of size 1,185 alloc'd
==24385== at 0x4C245E2: realloc (vg_replace_malloc.c:525)
==24385== by 0x583AB15: GNUNET_xrealloc_ (common_allocation.c:172)
==24385== by 0x584554B: transmit_ready (connection.c:1539)
==24385== by 0x5869739: run_ready (scheduler.c:684)
==24385== by 0x5869F19: GNUNET_SCHEDULER_run (scheduler.c:874)
==24385== by 0x5863898: GNUNET_PROGRAM_run (program.c:250)
==24385== by 0x4E2D1FD: GNUNET_GTK_main_loop_start (eventloop.c:910)
==24385== by 0x4151DC: main (gnunet-fs-gtk.c:768)
Additional InformationMost likely some 'reserved' field not being zero'ed out.
TagsNo tags attached.

Activities

Christian Grothoff

2012-01-01 21:37

manager   ~0005236

I think this was fixed when I added code to zero out 'bo' with the replication level. At least I don't get this right now anymore.

Issue History

Date Modified Username Field Change
2011-12-26 18:12 Christian Grothoff New Issue
2011-12-27 23:47 Christian Grothoff Target Version => 0.9.2
2011-12-27 23:47 Christian Grothoff Assigned To => Christian Grothoff
2011-12-27 23:47 Christian Grothoff Status new => assigned
2012-01-01 21:37 Christian Grothoff Note Added: 0005236
2012-01-01 21:37 Christian Grothoff Status assigned => resolved
2012-01-01 21:37 Christian Grothoff Fixed in Version => 0.9.2
2012-01-01 21:37 Christian Grothoff Resolution open => fixed
2012-02-28 11:05 Christian Grothoff Status resolved => closed