This patchset fixes a number of problems that David pointed out while reviewing some backports for RHEL. I think they're appropriate for 2.6.39 and probably the stable series as well. Jeff Layton (5): cifs: change bleft in decode_unicode_ssetup back to signed type cifs: check for bytes_remaining going to zero in CIFS_SessSetup cifs: sanitize length checking in coalesce_t2 cifs: refactor mid finding loop in cifs_demultiplex_thread cifs: handle errors from coalesce_t2 fs/cifs/connect.c | 117 +++++++++++++++++++++++++++++----------------------- fs/cifs/sess.c | 19 ++------- 2 files changed, 69 insertions(+), 67 deletions(-) -- 1.7.4.4 -- To unsubscribe from this list: send the line "unsubscribe linux-cifs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html