summaryrefslogtreecommitdiffstats
path: root/source3/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2015-03-04 10:00:29 +0100
committerDavid Disseldorp <ddiss@samba.org>2015-03-04 14:46:07 +0100
commit11a71d562129e3b99482d329cf640fdb4a4cf9bf (patch)
treede4fa67afe940991fa654c463fcab68a6af5fcbb /source3/lib
parentf5c8e489ad5b71f000be61384be93e2e348b373d (diff)
downloadsamba-11a71d562129e3b99482d329cf640fdb4a4cf9bf.tar.gz
samba-11a71d562129e3b99482d329cf640fdb4a4cf9bf.tar.xz
samba-11a71d562129e3b99482d329cf640fdb4a4cf9bf.zip
lib: Fix CID 1273292 Uninitialized pointer read
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/ctdbd_conn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/ctdbd_conn.c b/source3/lib/ctdbd_conn.c
index 204aba5665..18b877c235 100644
--- a/source3/lib/ctdbd_conn.c
+++ b/source3/lib/ctdbd_conn.c
@@ -1222,7 +1222,7 @@ bool ctdb_serverids_exist(struct ctdbd_connection *conn,
if (hdr->operation != CTDB_REPLY_CONTROL) {
DEBUG(1, ("Received invalid reply %u\n",
- (unsigned)reply->hdr.operation));
+ (unsigned)hdr->operation));
goto fail;
}
reply = (struct ctdb_reply_control *)hdr;