torture: Fix comparsion of uninitalized bytes.
authorAndreas Schneider <asn@samba.org>
Tue, 2 Jul 2013 13:24:40 +0000 (15:24 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 4 Jul 2013 07:33:28 +0000 (09:33 +0200)
commit67c8f87c777d850cf9ec0080b4daa09adf40ec55
tree7583490f058762ab81e150c1412201bac9430d25
parentbef3fc8527114adbaecaf6a7bbf17d49e598bf60
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>
(cherry picked from commit 474eee0df7893a3a4546e1c6ea47220700c5b99f)
source4/torture/raw/session.c