Ignore:
Timestamp:
Sep 16, 2010, 10:06:10 AM (15 years ago)
Author:
Herwig Bauernfeind
Message:

Update Samba 3.3 to 3.3.14 (security update)

Location:
branches/samba-3.3.x/source
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.3.x/source/VERSION

    r467 r491  
    2626SAMBA_VERSION_MAJOR=3
    2727SAMBA_VERSION_MINOR=3
    28 SAMBA_VERSION_RELEASE=13
     28SAMBA_VERSION_RELEASE=14
    2929
    3030########################################################
  • branches/samba-3.3.x/source/lib/util_sid.c

    r206 r491  
    409409        sid->sid_rev_num = CVAL(inbuf, 0);
    410410        sid->num_auths = CVAL(inbuf, 1);
     411        if (sid->num_auths > MAXSUBAUTHS) {
     412                return false;
     413        }
    411414        memcpy(sid->id_auth, inbuf+2, 6);
    412415        if (len < 8 + sid->num_auths*4)
  • branches/samba-3.3.x/source/libads/ldap.c

    r224 r491  
    21402140                DOM_SID sid;
    21412141                fstring tmp;
    2142                 sid_parse(values[i]->bv_val, values[i]->bv_len, &sid);
     2142                if (!sid_parse(values[i]->bv_val, values[i]->bv_len, &sid)) {
     2143                        continue;
     2144                }
    21432145                printf("%s: %s\n", field, sid_to_fstring(tmp, &sid));
    21442146        }
  • branches/samba-3.3.x/source/libsmb/cliquota.c

    r206 r491  
    118118#endif /* LARGE_SMB_OFF_T */
    119119
    120         sid_parse(rdata+40,sid_len,&qt.sid);
     120        if (!sid_parse(rdata+40,sid_len,&qt.sid)) {
     121                return false;
     122        }
    121123
    122124        qt.qtype = SMB_USER_QUOTA_TYPE;
  • branches/samba-3.3.x/source/smbd/nttrans.c

    r370 r491  
    19511951                /*unknown = IVAL(pdata,0);*/
    19521952
    1953                 sid_parse(pdata+4,sid_len,&sid);
     1953                if (!sid_parse(pdata+4,sid_len,&sid)) {
     1954                        reply_nterror(req, NT_STATUS_INVALID_PARAMETER);
     1955                        return;
     1956                }
     1957
    19541958                DEBUGADD(10, ("for SID: %s\n", sid_string_dbg(&sid)));
    19551959
     
    22072211                        }
    22082212
    2209                         sid_parse(pdata+8,sid_len,&sid);
     2213                        if (!sid_parse(pdata+8,sid_len,&sid)) {
     2214                                reply_nterror(req, NT_STATUS_INVALID_PARAMETER);
     2215                                return;
     2216                        }
    22102217
    22112218                        if (vfs_get_ntquota(fsp, SMB_USER_QUOTA_TYPE, &sid, &qt)!=0) {
     
    23882395#endif /* LARGE_SMB_OFF_T */
    23892396
    2390         sid_parse(pdata+40,sid_len,&sid);
     2397        if (!sid_parse(pdata+40,sid_len,&sid)) {
     2398                reply_nterror(req, NT_STATUS_INVALID_PARAMETER);
     2399                return;
     2400        }
     2401
    23912402        DEBUGADD(8,("SID: %s\n", sid_string_dbg(&sid)));
    23922403
Note: See TracChangeset for help on using the changeset viewer.