1. 01 May, 2009 1 commit
    • Jeff Layton's avatar
      cifs: fix length handling in cifs_get_name_from_search_buf · 18295796
      Jeff Layton authored
      The earlier patch to move this code to use the new unicode helpers
      assumed that the filename strings would be null terminated. That's not
      always the case.
      
      Instead of passing "max_len" to the string converter, pass "min(len,
      max_len)", which makes it do the right thing while still keeping the
      parser confined to the response. Also fix up the prototypes of this
      function and the callers so that max_len is unsigned (like len is).
      Signed-off-by: default avatarJeff Layton <jlayton@redhat.com>
      Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
      18295796
  2. 30 Apr, 2009 18 commits
  3. 29 Apr, 2009 16 commits
  4. 28 Apr, 2009 5 commits