Use correct size for test string, sizeof() was of the pointer
commitb8fc4d4ab503b0e95738734c1019b9d3430908ba
authorAndrew Bartlett <abartlet@samba.org>
Mon, 1 Sep 2014 22:48:34 +0000 (2 10:48 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 8 Sep 2014 05:26:34 +0000 (8 07:26 +0200)
tree163c904b0a6cfa7aaf8ce76a358be672c875a3a0
parentc0dfda35f7d94091150b109e8308f2f1f9c0efa7
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>
Reviewed-by: Kamen Mazdrashki <kamenim@samba.org>
source4/lib/registry/tests/registry.c