View Issue Details

IDProjectCategoryView StatusLast Update
0001751GNUnetdatacache librarypublic2024-05-03 13:55
ReporterChristian Grothoff Assigned ToChristian Grothoff  
PrioritylowSeverityminorReproducibilityalways
Status closedResolutionnot fixable 
Product VersionGit master 
Summary0001751: mysql_real_connect likes to use uninitialized memory (?)
Description=31112== Conditional jump or move depends on uninitialised value(s)
==31112== at 0x75C056F: my_connect (in /usr/lib/libmysqlclient.so.15.0.0)
==31112== by 0x75C0F71: mysql_real_connect (in /usr/lib/libmysqlclient.so.15.0.0)
==31112== by 0x7336DAC: iopen (plugin_datacache_mysql.c:353)
==31112== by 0x73388B0: libgnunet_plugin_datacache_mysql_init (plugin_datacache_mysql.c:1041)
==31112== by 0x5A73B10: GNUNET_PLUGIN_load (plugin.c:231)
==31112== by 0x58462B3: GNUNET_DATACACHE_create (datacache.c:182)
==31112== by 0x40AFDF: run (gnunet-service-dht.c:5280)
==31112== by 0x5A7FAD0: service_task (service.c:1408)
==31112== by 0x5A7849A: run_ready (scheduler.c:659)
==31112== by 0x5A78957: GNUNET_SCHEDULER_run (scheduler.c:836)
==31112== by 0x5A806BB: GNUNET_SERVICE_run (service.c:1639)
==31112== by 0x40BAA7: main (gnunet-service-dht.c:5549)
TagsNo tags attached.

Activities

root

2011-08-10 10:20

administrator   ~0004550

==31110== Syscall param write(buf) points to uninitialised byte(s)
==31110== at 0x57C73E0: __write_nocancel (syscall-template.S:82)
==31110== by 0x6DAF02D: vio_write (in /usr/lib/libmysqlclient.so.15.0.0)
==31110== by 0x6DAFA46: net_real_write (in /usr/lib/libmysqlclient.so.15.0.0)
==31110== by 0x6DAFEEA: net_flush (in /usr/lib/libmysqlclient.so.15.0.0)
==31110== by 0x6DB004E: net_write_command (in /usr/lib/libmysqlclient.so.15.0.0)
==31110== by 0x6DACC50: cli_advanced_command (in /usr/lib/libmysqlclient.so.15.0.0)
==31110== by 0x6D7F555: ??? (in /usr/lib/libmysqlclient.so.15.0.0)
==31110== by 0x6D82219: cli_stmt_execute (in /usr/lib/libmysqlclient.so.15.0.0)
==31110== by 0x6D81C8C: mysql_stmt_execute (in /usr/lib/libmysqlclient.so.15.0.0)
==31110== by 0x6B2189A: init_params (plugin_datastore_mysql.c:619)
==31110== by 0x6B219AC: prepared_statement_run_select_va (plugin_datastore_mysql.c:661)
==31110== by 0x6B223B4: execute_select (plugin_datastore_mysql.c:1023)
==31110== Address 0x63e0fd8 is 24 bytes inside a block of size 8,199 alloc'd
==31110== at 0x4C2779D: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==31110== by 0x6D84EB2: my_malloc (in /usr/lib/libmysqlclient.so.15.0.0)
==31110== by 0x6DB0724: my_net_init (in /usr/lib/libmysqlclient.so.15.0.0)
==31110== by 0x6DAB7BD: mysql_real_connect (in /usr/lib/libmysqlclient.so.15.0.0)
==31110== by 0x6B20CC9: iopen (plugin_datastore_mysql.c:434)
==31110== by 0x6B21027: prepare_statement (plugin_datastore_mysql.c:515)
==31110== by 0x6B21955: prepared_statement_run_select_va (plugin_datastore_mysql.c:656)
==31110== by 0x6B21C18: prepared_statement_run_select (plugin_datastore_mysql.c:723)
==31110== by 0x6B22E8C: mysql_plugin_get_replication (plugin_datastore_mysql.c:1372)
==31110== by 0x403269: handle_get_replication (gnunet-service-datastore.c:1193)
==31110== by 0x5064517: GNUNET_SERVER_inject (server.c:721)
==31110== by 0x5064973: client_message_tokenizer_callback (server.c:961)

Issue History

Date Modified Username Field Change
2011-08-10 10:18 root New Issue
2011-08-10 10:20 root Note Added: 0004550
2011-09-16 10:15 Christian Grothoff Priority normal => low
2011-09-16 10:15 Christian Grothoff Status new => acknowledged
2011-09-16 10:15 Christian Grothoff Reporter root => Christian Grothoff
2011-11-04 11:07 Christian Grothoff Assigned To => Christian Grothoff
2011-11-04 11:07 Christian Grothoff Reproducibility have not tried => always
2011-11-04 11:07 Christian Grothoff Status acknowledged => closed
2011-11-04 11:07 Christian Grothoff Resolution open => not fixable
2024-05-03 13:55 Christian Grothoff Category mysql datacache => datacache library