s3-auth: in make_user_info_for_reply_enc make sure to check length and data pointer...
commit864a2bd71f17c869356770a0d34fbf828b9aa27f
authorGünther Deschner <gd@samba.org>
Wed, 16 Jun 2010 12:18:45 +0000 (16 14:18 +0200)
committerKarolin Seeger <kseeger@samba.org>
Fri, 18 Jun 2010 06:33:33 +0000 (18 08:33 +0200)
treeb2da9aea72a0c8146632ae770d0fff777f35cad0
parent4ee20c7d5ff2f3f127b7a198e968d6539bcb5602
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).
(cherry picked from commit a95df865d474b0ba59ad95dcb8c20c923c66f4ba)
source3/auth/auth_util.c