Ignore:
Timestamp:
May 27, 2009, 12:08:58 PM (16 years ago)
Author:
Herwig Bauernfeind
Message:

Update 3.2 branch to 3.2.11

Location:
branches/samba-3.2.x/source/smbd
Files:
3 edited

Legend:

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

    r205 r235  
    659659        }
    660660
     661        talloc_steal(talloc_tos(), state);
     662
    661663        handle_trans(conn, req, state);
    662664
     
    788790        SCVAL(req->inbuf,smb_com,SMBtrans);
    789791
     792        talloc_steal(talloc_tos(), state);
     793
    790794        handle_trans(conn, req, state);
    791795
  • branches/samba-3.2.x/source/smbd/notify.c

    r228 r235  
    232232                     fsp->fsp_name) == -1) {
    233233                DEBUG(0, ("asprintf failed\n"));
     234                TALLOC_FREE(fsp->notify);
    234235                return NT_STATUS_NO_MEMORY;
    235236        }
  • branches/samba-3.2.x/source/smbd/open.c

    r233 r235  
    30563056                  ea_list, sd, fname));
    30573057
     3058        /* MSDFS pathname processing must be done FIRST.
     3059           MSDFS pathnames containing IPv6 addresses can
     3060           be confused with NTFS stream names (they contain
     3061           ":" characters. JRA. */
     3062
     3063        if ((req != NULL) && (req->flags2 & FLAGS2_DFS_PATHNAMES)) {
     3064                char *resolved_fname;
     3065
     3066                status = resolve_dfspath(talloc_tos(), conn, true, fname,
     3067                                         &resolved_fname);
     3068
     3069                if (!NT_STATUS_IS_OK(status)) {
     3070                        /*
     3071                         * For PATH_NOT_COVERED we had
     3072                         * reply_botherror(req, NT_STATUS_PATH_NOT_COVERED,
     3073                         *                 ERRSRV, ERRbadpath);
     3074                         * Need to fix in callers
     3075                         */
     3076                        goto fail;
     3077                }
     3078                fname = resolved_fname;
     3079        }
     3080
    30583081        /*
    30593082         * Get the file name.
     
    31833206        }
    31843207
    3185         if ((req != NULL) && (req->flags2 & FLAGS2_DFS_PATHNAMES)) {
    3186                 char *resolved_fname;
    3187 
    3188                 status = resolve_dfspath(talloc_tos(), conn, true, fname,
    3189                                          &resolved_fname);
    3190 
    3191                 if (!NT_STATUS_IS_OK(status)) {
    3192                         /*
    3193                          * For PATH_NOT_COVERED we had
    3194                          * reply_botherror(req, NT_STATUS_PATH_NOT_COVERED,
    3195                          *                 ERRSRV, ERRbadpath);
    3196                          * Need to fix in callers
    3197                          */
    3198                         goto fail;
    3199                 }
    3200                 fname = resolved_fname;
    3201         }
    3202 
    32033208        /*
    32043209         * Check if POSIX semantics are wanted.
Note: See TracChangeset for help on using the changeset viewer.