s3-auth: in make_user_info_for_reply_enc make sure to check length and data pointer...
commita95df865d474b0ba59ad95dcb8c20c923c66f4ba
authorGünther Deschner <gd@samba.org>
Wed, 16 Jun 2010 12:18:45 +0000 (16 14:18 +0200)
committerKarolin Seeger <kseeger@samba.org>
Wed, 16 Jun 2010 14:12:00 +0000 (16 16:12 +0200)
treed8a3a29a5c94a2bb93f8838239ca11597d03cde5
parent286f4b53993fab0ffc53e5619e2987dfb13b0ec2
s3-auth: in make_user_info_for_reply_enc make sure to check length and data pointer of nt and lm hash.

This fixes kernel cifs client with sec=ntlmv2.

Guenther
(cherry picked from commit b4364add896d1657263a66c55d867d28bf5ceb1b)

Fix bug #7517 (session setup from linux kernel cifs client fails with
sec=ntlmv2).
source3/auth/auth_util.c