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

Samba Server: update vendor to 3.6.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/libcli/auth/smbencrypt.c

    r414 r740  
    364364        DATA_BLOB names_blob = data_blob_talloc(mem_ctx, NULL, 0);
    365365
    366         msrpc_gen(mem_ctx, &names_blob,
     366        /* Deliberately ignore return here.. */
     367        (void)msrpc_gen(mem_ctx, &names_blob,
    367368                  "aaa",
    368369                  MsvAvNbDomainName, domain,
     
    387388        /* See http://www.ubiqx.org/cifs/SMB.html#SMB.8.5 */
    388389
    389         msrpc_gen(mem_ctx, &response, "ddbbdb",
     390        /* Deliberately ignore return here.. */
     391        (void)msrpc_gen(mem_ctx, &response, "ddbbdb",
    390392                  0x00000101,     /* Header  */
    391393                  0,              /* 'Reserved'  */
     
    530532{
    531533        uint8_t new_pw[512];
    532         size_t new_pw_len;
     534        ssize_t new_pw_len;
    533535
    534536        /* the incoming buffer can be any alignment. */
     
    538540                                 password,
    539541                                 sizeof(new_pw), string_flags);
     542        if (new_pw_len == -1) {
     543                return false;
     544        }
    540545
    541546        memcpy(&buffer[512 - new_pw_len], new_pw, new_pw_len);
Note: See TracChangeset for help on using the changeset viewer.