Use correct size for test string, sizeof() was of the pointer
authorAndrew Bartlett <abartlet@samba.org>
Mon, 1 Sep 2014 22:48:34 +0000 (10:48 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 7 Sep 2014 23:14:38 +0000 (11:14 +1200)
commit6c9de912fb7422dde53125e7bf035217e6ac6d63
tree39452797fb281af95e160a835680492c3876a2ff
parent98cedfa1a92f3a159ca02609e03baabea9dc6a6e
Use correct size for test string, sizeof() was of the pointer

Found by AddressSanitizer

Change-Id: Ifc9883d958f253df903775544010c0228a102f0f
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
source4/lib/registry/tests/registry.c