cifs: verify lengths of QueryAllEAs reply
authorJeff Layton <jlayton@redhat.com>
Wed, 10 Feb 2010 21:18:26 +0000 (16:18 -0500)
committerSteve French <sfrench@us.ibm.com>
Tue, 23 Feb 2010 20:47:11 +0000 (20:47 +0000)
commit0cd126b504cede8a74acf7583a44eba32f9a1da1
treec62a5835dbc50a2d5958a29ef511b349dff2842d
parente529614ad0c2bf1f3a6fcf1402aa77430ecfaa2c
cifs: verify lengths of QueryAllEAs reply

Make sure the lengths in a QUERY_ALL_EAS reply don't make the parser walk
off the end of the SMB.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifssmb.c