Ignore:
Timestamp:
Nov 24, 2016, 1:14:11 PM (9 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: update vendor to version 4.4.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/lib/crypto/arcfour.c

    r740 r988  
    8282_PUBLIC_ void arcfour_crypt(uint8_t *data, const uint8_t keystr[16], int len)
    8383{
    84         DATA_BLOB key = data_blob(keystr, 16);
    85        
     84        uint8_t keycopy[16];
     85        DATA_BLOB key = { .data = keycopy, .length = sizeof(keycopy) };
     86
     87        memcpy(keycopy, keystr, sizeof(keycopy));
     88
    8689        arcfour_crypt_blob(data, len, &key);
    87 
    88         data_blob_free(&key);
    8990}
    9091
Note: See TracChangeset for help on using the changeset viewer.