The branch, master has been updated via a85f6634853a4cf825d70e07a789e96e1882f376 (commit) from 033bc4682b7c7541966da4b2b43b65a4ba722b43 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit a85f6634853a4cf825d70e07a789e96e1882f376 Author: Jelmer Vernooij <[EMAIL PROTECTED]> Date: Sat Oct 11 20:26:40 2008 +0200 Make sure to allocate copy for arc4 data, to avoid problems freeing later. ----------------------------------------------------------------------- Summary of changes: lib/crypto/arcfour.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Changeset truncated at 500 lines: diff --git a/lib/crypto/arcfour.c b/lib/crypto/arcfour.c index b4773f4..e70713b 100644 --- a/lib/crypto/arcfour.c +++ b/lib/crypto/arcfour.c @@ -81,7 +81,7 @@ _PUBLIC_ void arcfour_crypt_blob(uint8_t *data, int len, const DATA_BLOB *key) */ _PUBLIC_ void arcfour_crypt(uint8_t *data, const uint8_t keystr[16], int len) { - DATA_BLOB key = { discard_const_p(uint8_t, keystr), 16 }; + DATA_BLOB key = data_blob_named(keystr, 16, "DATA_BLOB: "__location__); arcfour_crypt_blob(data, len, &key); -- Samba Shared Repository