1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/ctdb/server
Amitay Isaacs 9aa90482f8 ctdb-daemon: Fix valgrind invalid read error in db_statistics control
==20761== Invalid read of size 8
  ==20761==    at 0x11BE30: ctdb_ctrl_dbstatistics (ctdb_client.c:1286)
  ==20761==    by 0x12BA89: control_dbstatistics (ctdb.c:713)
  ==20761==    by 0x1312E0: main (ctdb.c:6543)
  ==20761==  Address 0x713b0d0 is 0 bytes after a block of size 560 alloc'd
  ==20761==    at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
  ==20761==    by 0x5CB0954: _talloc_memdup (talloc.c:615)
  ==20761==    by 0x11395C: ctdb_control_recv (ctdb_client.c:1146)
  ==20761==    by 0x11BDD7: ctdb_ctrl_dbstatistics (ctdb_client.c:1265)
  ==20761==    by 0x12BA89: control_dbstatistics (ctdb.c:713)
  ==20761==    by 0x1312E0: main (ctdb.c:6543)

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2015-07-10 20:36:24 +02:00
..
ctdb_banning.c ctdb-recoverd: Set recovery mode before freezing databases 2014-07-07 13:29:49 +02:00
ctdb_call.c ctdb-call: Drop all deferred requests from older generation 2014-09-05 09:30:50 +02:00
ctdb_control.c ctdb-daemon: Remove obsolete IPv4 only controls 2015-05-12 01:32:11 +02:00
ctdb_daemon.c ctdb-daemon: Promote debug messages about --start-as-* to NOTICE level 2015-07-01 04:18:29 +02:00
ctdb_event_helper.c ctdb-daemon: Improve error handling for running event scripts 2014-11-14 03:06:12 +01:00
ctdb_freeze.c ctdb-util: Rename db_wrap to tdb_wrap and make it a build subsystem 2014-09-10 01:36:15 +02:00
ctdb_keepalive.c Remove explicit include of lib/tevent/tevent.h. 2012-04-13 17:28:14 +10:00
ctdb_lock_helper.c ctdb-daemon: Use correct tdb flags when enabling robust mutex support 2014-12-19 13:15:12 +01:00
ctdb_lock.c ctdb-locking: move all auto_mark logic into process_callbacks() 2015-06-12 15:28:57 +02:00
ctdb_logging_file.c ctdb-logging: New option CTDB_LOGGING, remove CTDB_LOGFILE, CTDB_SYSLOG 2014-10-28 05:42:04 +01:00
ctdb_logging_syslog.c ctdb-logging: Add logging via UDP logging using RFC5424 2014-10-28 05:42:04 +01:00
ctdb_logging.c ctdb/server: add format string checking to ctdb_tevent_logging() 2014-12-17 09:26:07 +01:00
ctdb_ltdb_server.c ctdb-daemon: Fix valgrind invalid read error in db_statistics control 2015-07-10 20:36:24 +02:00
ctdb_monitor.c ctdb-daemon: Move release of all IPs to startup 2015-05-13 06:42:13 +02:00
ctdb_persistent.c ctdb-util: Rename db_wrap to tdb_wrap and make it a build subsystem 2014-09-10 01:36:15 +02:00
ctdb_recover.c ctdb-daemon: Remove obsolete IPv4 only controls 2015-05-12 01:32:11 +02:00
ctdb_recoverd.c ctdb-recoverd: Clear IP assignment tree on election loss 2015-07-01 04:18:28 +02:00
ctdb_server.c ctdb-daemon: Move ctdb_read_nodes_file() to utilities 2015-03-23 12:23:12 +01:00
ctdb_serverids.c RB_TREE: Add mechanism to abort a traverse 2011-11-08 13:40:28 +11:00
ctdb_statistics.c Remove explicit include of lib/tevent/tevent.h. 2012-04-13 17:28:14 +10:00
ctdb_takeover.c ctdb-recoverd: Add new function clear_ip_assignment_tree() 2015-07-01 04:18:28 +02:00
ctdb_traverse.c ctdb-util: Rename db_wrap to tdb_wrap and make it a build subsystem 2014-09-10 01:36:15 +02:00
ctdb_tunables.c ctdb-daemon: Drop tunable that is no longer in use 2015-03-27 06:40:08 +01:00
ctdb_update_record.c ctdb-util: Rename db_wrap to tdb_wrap and make it a build subsystem 2014-09-10 01:36:15 +02:00
ctdb_uptime.c Remove explicit include of lib/tevent/tevent.h. 2012-04-13 17:28:14 +10:00
ctdb_vacuum.c ctdb-vacuum: Use non-blocking lock when traversing delete tree 2014-12-05 14:43:07 +01:00
ctdbd.c ctdb-logging: New option CTDB_LOGGING, remove CTDB_LOGFILE, CTDB_SYSLOG 2014-10-28 05:42:04 +01:00
eventscript.c ctdb-daemon: Initialise eventscript status earlier 2015-05-10 03:22:14 +02:00