Ignore:
Timestamp:
Oct 8, 2009, 8:10:05 AM (16 years ago)
Author:
Herwig Bauernfeind
Message:

Update 3.3. to 3.3.8 (security update)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.3.x/source/smbd/service.c

    r281 r338  
    5555        const char *s = connectpath;
    5656        bool start_of_name_component = true;
     57
     58        if (connectpath == NULL || connectpath[0] == '\0') {
     59                return false;
     60        }
    5761
    5862        destname = SMB_STRDUP(connectpath);
     
    336340        int iHomeService;
    337341
    338         if (!service || !homedir)
     342        if (!service || !homedir || homedir[0] == '\0')
    339343                return -1;
    340344
Note: See TracChangeset for help on using the changeset viewer.