Ignore:
Timestamp:
Jun 17, 2009, 2:19:52 PM (16 years ago)
Author:
Herwig Bauernfeind
Message:

Update 3.3 branch to 3.3.5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.3.x/source/utils/net_groupmap.c

    r206 r274  
    620620        /* The case (opt_domaingroup && opt_localgroup) was tested for above */
    621621
    622         if (strlen(c->opt_comment) > 0)
     622        if ((c->opt_comment != NULL) && (strlen(c->opt_comment) > 0)) {
    623623                fstrcpy(map.comment, c->opt_comment);
    624 
    625         if (strlen(c->opt_newntname) > 0)
     624        }
     625
     626        if ((c->opt_newntname != NULL) && (strlen(c->opt_newntname) > 0)) {
    626627                fstrcpy(map.nt_name, c->opt_newntname);
     628        }
    627629
    628630        if (grp != NULL)
Note: See TracChangeset for help on using the changeset viewer.