s3:locking: fix uninitialiazed variable in brl_get_locks_readonly_parser()
authorStefan Metzmacher <metze@samba.org>
Wed, 17 Dec 2014 09:43:33 +0000 (10:43 +0100)
committerStefan Metzmacher <metze@samba.org>
Thu, 18 Dec 2014 03:22:05 +0000 (04:22 +0100)
commit6bc41c459f6da7de62d2113590bc7d0c2d04e136
tree5cb227ebc87818625d7649a90315f8986e8691ca
parent53fb00e5d59c0e69a44ba54eeedc3a48a5322e9f
s3:locking: fix uninitialiazed variable in brl_get_locks_readonly_parser()

In a cluster this can be called with an empty record, while
brl_parse_data() relies on an initialized structure.

This is a regression in commit 837e29035c911f3509135252c3f423d0f56b606d.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=10911

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/locking/brlock.c