torture: Fix comparsion of uninitalized bytes.
commit474eee0df7893a3a4546e1c6ea47220700c5b99f
authorAndreas Schneider <asn@samba.org>
Tue, 2 Jul 2013 13:24:40 +0000 (2 15:24 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 2 Jul 2013 19:22:08 +0000 (2 12:22 -0700)
tree7583490f058762ab81e150c1412201bac9430d25
parent0b58eed3351e207b0a0f0d32fe37ea5bee9dbc33
torture: Fix comparsion of uninitalized bytes.

As we compare string make sure we have the null terminator.

Found by valgrind.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source4/torture/raw/session.c