This is a raft of patches that are back-ported from master that bring the 3.6.1 SMB2 code closer to the master tree and include some minor bug fixes. I'd like to get them into 3.6.1 to minimize the differences between the trees for backporting fixes. Jeremy.
Created attachment 6986 [details] git-am patchset for 3.6.1 This is the following set of patches back-ported to 3.6.1 from metze and David Disseldorp. s3:smb2_server: add smbd_smb2_request_verify_sizes() s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_negprot.c s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_sesssetup.c s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_tcon.c s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_break.c s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_close.c s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_create.c s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_find.c s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_flush.c s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_getinfo.c s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_ioctl.c s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_keepalive.c s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_lock.c s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_notify.c s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_read.c s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_setinfo.c s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_write.c s3:smb2_server: return BAD_NETWORK_NAME if the path is terminated in SMB2_TCON s3:smb2_server: return OBJECT_NAME_INVALID if the path is terminated in SMB2_CREATE s3:smb2_server: return OBJECT_NAME_INVALID if the path is terminated in SMB2_FIND/QUERY_DIRECTORY s3:smb2_server: SMB2_OP_GETINFO doesn't require at least 1 dyn byte s3-smb2_server: SMB2_OP_IOCTL doesn't require at least 1 dyn byte s3-smb2_server: fix ioctl InputOffset checking
Comment on attachment 6986 [details] git-am patchset for 3.6.1 Looks good
Karolin, please pick for the release
Pushed to v3-6-test. Closing out bug report. Thanks!