]> err.no Git - linux-2.6/commit
[CIFS] allow cifs_calc_signature2 to deal with a zero length iovec
authorJeff Layton <jlayton@redhat.com>
Sat, 3 Nov 2007 04:34:04 +0000 (04:34 +0000)
committerSteve French <sfrench@us.ibm.com>
Sat, 3 Nov 2007 04:34:04 +0000 (04:34 +0000)
commit745542e210b3b15751ea9d511321924ac36b85db
treed1d696a239239e61f2edc2ca903dc88c32d2065d
parent7505e0525c914cdfdb54f43a7e70f038a16a5486
[CIFS] allow cifs_calc_signature2 to deal with a zero length iovec

Currently, cifs_calc_signature2 errors out if it gets a zero-length
iovec. Fix it to silently continue in that case.

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