Ignore:
Timestamp:
May 24, 2009, 7:51:24 AM (16 years ago)
Author:
Herwig Bauernfeind
Message:

Update Samba 3.3 branch to 3.3.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.3.x/source/libsmb/smb_seal.c

    r206 r223  
    137137        smb_set_enclen(buf_out, smb_len(buf) + NTLMSSP_SIG_SIZE, enc_ctx_num);
    138138
    139         sig = data_blob(NULL, NTLMSSP_SIG_SIZE);
     139        ZERO_STRUCT(sig);
    140140
    141141        status = ntlmssp_seal_packet(ntlmssp_state,
     
    154154        /* First 16 data bytes are signature for SSPI compatibility. */
    155155        memcpy(buf_out + 8, sig.data, NTLMSSP_SIG_SIZE);
     156        data_blob_free(&sig);
    156157        *ppbuf_out = buf_out;
    157158        return NT_STATUS_OK;
Note: See TracChangeset for help on using the changeset viewer.