View Issue Details

IDProjectCategoryView StatusLast Update
0002433GNUnettransport servicepublic2012-11-05 18:34
ReporterMatthias Wachs Assigned ToMatthias Wachs  
PrioritynormalSeverityminorReproducibilityrandom
Status closedResolutionfixed 
Product VersionGit master 
Target Version0.9.4Fixed in Version0.9.4 
Summary0002433: Memory corruption in transport service
Description==22792== Invalid read of size 1
==22792== at 0x4C2ABC4: bcmp (mc_replace_strmem.c:679)
==22792== by 0x5670D54: GNUNET_CONTAINER_multihashmap_get (container_multihashmap.c:173)
==22792== by 0x40B02C: lookup_neighbour (gnunet-service-transport_neighbours.c:626)
==22792== by 0x40BD98: send_disconnect_cont (gnunet-service-transport_neighbours.c:992)
==22792== by 0x76B00F8: tcp_plugin_send (plugin_transport_tcp.c:1112)
==22792== by 0x40BCBE: send_with_session (gnunet-service-transport_neighbours.c:953)
==22792== by 0x40C033: send_disconnect (gnunet-service-transport_neighbours.c:1035)
==22792== by 0x40C105: disconnect_neighbour (gnunet-service-transport_neighbours.c:1078)
==22792== by 0x41105B: master_task (gnunet-service-transport_neighbours.c:2426)
==22792== by 0x5690D04: run_ready (scheduler.c:602)
==22792== by 0x5691508: GNUNET_SCHEDULER_run (scheduler.c:790)
==22792== by 0x569FD56: GNUNET_SERVICE_run (service.c:1785)
==22792== Address 0x8802f99 is 313 bytes inside a block of size 432 free'd
==22792== at 0x4C282ED: free (vg_replace_malloc.c:366)
==22792== by 0x5660D53: GNUNET_xfree_ (common_allocation.c:201)
==22792== by 0x76AF817: disconnect_session (plugin_transport_tcp.c:1019)
==22792== by 0x76B1607: session_disconnect_it (plugin_transport_tcp.c:1401)
==22792== by 0x5671599: GNUNET_CONTAINER_multihashmap_get_multiple (container_multihashmap.c:485)
==22792== by 0x76B16DF: tcp_plugin_disconnect (plugin_transport_tcp.c:1429)
==22792== by 0x40BA60: free_neighbour (gnunet-service-transport_neighbours.c:901)
==22792== by 0x41151F: master_task (gnunet-service-transport_neighbours.c:2501)
==22792== by 0x5690D04: run_ready (scheduler.c:602)
==22792== by 0x5691508: GNUNET_SCHEDULER_run (scheduler.c:790)
==22792== by 0x569FD56: GNUNET_SERVICE_run (service.c:1785)
==22792== by 0x404C37: main (gnunet-service-transport.c:648)
==22792==
Steps To ReproduceRun a peer with valgrind for some time
TagsNo tags attached.

Activities

Matthias Wachs

2012-06-20 10:20

reporter   ~0006110

fixed with 22106

Issue History

Date Modified Username Field Change
2012-06-19 14:15 Matthias Wachs New Issue
2012-06-19 14:15 Matthias Wachs Status new => assigned
2012-06-19 14:15 Matthias Wachs Assigned To => Matthias Wachs
2012-06-20 10:20 Matthias Wachs Note Added: 0006110
2012-06-20 10:20 Matthias Wachs Status assigned => resolved
2012-06-20 10:20 Matthias Wachs Resolution open => fixed
2012-06-20 11:38 Christian Grothoff Product Version => Git master
2012-06-20 11:38 Christian Grothoff Fixed in Version => 0.9.4
2012-06-20 11:38 Christian Grothoff Target Version => 0.9.4
2012-11-05 18:34 Christian Grothoff Status resolved => closed