Ignore:
Timestamp:
May 20, 2009, 6:46:53 PM (16 years ago)
Author:
Herwig Bauernfeind
Message:

Update 3.2 branch to 3.2.4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.2.x/source/smbd/posix_acls.c

    r141 r204  
    34013401        }
    34023402
    3403         parent_sd->dacl->aces = new_ace;
    3404         parent_sd->dacl->num_aces = i;
    3405 
    3406         *pp_new_sd = parent_sd;
     3403        /* This sucks. psd should be const and we should
     3404         * be doing a deep-copy here. We're getting away
     3405         * with is as we know parent_sd is talloced off
     3406         * talloc_tos() as well as psd. JRA. */
     3407
     3408        psd->dacl->aces = new_ace;
     3409        psd->dacl->num_aces = i;
     3410        psd->type &= ~(SE_DESC_DACL_AUTO_INHERITED|
     3411                         SE_DESC_DACL_AUTO_INHERIT_REQ);
     3412
     3413        *pp_new_sd = psd;
    34073414        return status;
    34083415}
Note: See TracChangeset for help on using the changeset viewer.