Ignore:
Timestamp:
Nov 14, 2012, 12:59:34 PM (12 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: update vendor to 3.6.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified vendor/current/source4/libcli/raw/rawnotify.c

    r414 r740  
    7272        parms->nttrans.out.changes = NULL;
    7373        parms->nttrans.out.num_changes = 0;
    74        
     74
    7575        /* count them */
    7676        for (ofs=0; nt.out.params.length - ofs > 12; ) {
    7777                uint32_t next = IVAL(nt.out.params.data, ofs);
     78                if (next % 4 != 0)
     79                        return NT_STATUS_INVALID_NETWORK_RESPONSE;
    7880                parms->nttrans.out.num_changes++;
    7981                if (next == 0 ||
     
    156158         * but we want to keep it under oldreq->ntcancel
    157159         */
    158         if (!talloc_reference(oldreq, req)) {
    159                 talloc_free(req);
    160                 return NT_STATUS_NO_MEMORY;
    161         }
     160        req->do_not_free = true;
     161        talloc_steal(oldreq, req);
    162162
    163163        smbcli_request_send(req);
Note: See TracChangeset for help on using the changeset viewer.