1. 09 Nov, 2007 1 commit
    • Jeff Layton's avatar
      [CIFS] fix oops on second mount to same server when null auth is used · 9b8f5f57
      Jeff Layton authored
      When a share is mounted using no username, cifs_mount sets
      volume_info.username as a NULL pointer, and the sesInfo userName as an
      empty string. The volume_info.username is passed to a couple of other
      functions to see if there is an existing unc or tcp connection that can
      be used. These functions assume that the username will be a valid
      string that can be passed to strncmp. If the pointer is NULL, then the
      kernel will oops if there's an existing session to which the string
      can be compared.
      
      This patch changes cifs_mount to set volume_info.username to an empty
      string in this situation, which prevents the oops and should make it
      so that the comparison to other null auth sessions match.
      Signed-off-by: default avatarJeff Layton <jlayton@redhat.com>
      Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
      9b8f5f57
  2. 08 Nov, 2007 4 commits
  3. 05 Nov, 2007 2 commits
  4. 03 Nov, 2007 4 commits
  5. 01 Nov, 2007 2 commits
  6. 31 Oct, 2007 1 commit
  7. 30 Oct, 2007 1 commit
  8. 26 Oct, 2007 2 commits
  9. 25 Oct, 2007 1 commit
  10. 23 Oct, 2007 2 commits
  11. 22 Oct, 2007 1 commit
  12. 21 Oct, 2007 19 commits