Ignore:
Timestamp:
Oct 8, 2009, 7:51:22 AM (16 years ago)
Author:
Herwig Bauernfeind
Message:

Update 3.0 to 3.0.37 (unsupported security update)

File:
1 edited

Legend:

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

    r108 r336  
    228228        int iHomeService;
    229229
    230         if (!service || !homedir)
     230        if (!service || !homedir || homedir[0] == '\0')
    231231                return -1;
    232232
     
    805805                                      current_user_info.domain,
    806806                                      s, sizeof(s));
     807
     808                if (s[0] == '\0') {
     809                        DEBUG(6, ("service [%s] did not resolve to a path\n",
     810                                lp_servicename(snum)));
     811                        conn_free(conn);
     812                        *status = NT_STATUS_BAD_NETWORK_NAME;
     813                        return NULL;
     814                }
     815
    807816                set_conn_connectpath(conn,s);
    808817                DEBUG(3,("Connect path is '%s' for service [%s]\n",s,
Note: See TracChangeset for help on using the changeset viewer.