ctdb-client: Do not try to allocate 0 sized record
commitaeed66ece0220d40fe33e66f726c4638e7c02393
authorAmitay Isaacs <amitay@gmail.com>
Mon, 19 Mar 2018 02:38:28 +0000 (19 13:38 +1100)
committerKarolin Seeger <kseeger@samba.org>
Fri, 6 Apr 2018 06:21:13 +0000 (6 08:21 +0200)
tree4e5a6e4b997fdc751faf44f786cf43665258fe04
parent25edad412a3d503114a805b434a729d5d2786b3f
ctdb-client: Do not try to allocate 0 sized record

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13356

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
(cherry picked from commit 92a68af1a8473dc2a5d9d6036830f944e968606d)
ctdb/client/client_db.c