1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/lib/crypto
Gary Lockyer 412afb2aef Fix ubsan null pointer passed as argument 2
Fix ubsan warning null pointer passed as argument 2 when the source
pointer is NULL.  The calls to memcpy are now guarded by an
if (len > 0)

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Gary Lockyer <gary@samba.org>
Autobuild-Date(master): Mon May 27 01:29:48 UTC 2019 on sn-devel-184
2019-05-27 01:29:48 +00:00
..
aes_ccm_128_test.c lib:crypto: Include only the required header files 2019-02-27 07:59:26 +00:00
aes_ccm_128.c lib:crypto: Include only the required header files 2019-02-27 07:59:26 +00:00
aes_ccm_128.h lib/crypto: optimize aes_ccm_128 2015-08-27 20:23:20 +02:00
aes_cmac_128_test.c lib:crypto: Include only the required header files 2019-02-27 07:59:26 +00:00
aes_cmac_128.c Fix ubsan null pointer passed as argument 2 2019-05-27 01:29:48 +00:00
aes_cmac_128.h lib/crypto: optimize aes_cmac_128 2015-08-27 20:23:20 +02:00
aes_gcm_128_test.c lib:crypto: Include only the required header files 2019-02-27 07:59:26 +00:00
aes_gcm_128.c lib:crypto: Include only the required header files 2019-02-27 07:59:26 +00:00
aes_gcm_128.h lib/crypto: optimize aes_gcm_128 2015-08-27 20:23:20 +02:00
aes_test.h lib/crypto: add aes_ccm_128 tests 2015-08-27 20:23:20 +02:00
aes.c lib/crypto: avoid 'return void_function();' which isn't portable 2018-04-03 16:41:09 +02:00
aes.h lib: crypto: Plumb in the Intel AES instructions. 2017-09-07 02:01:08 +02:00
aesni.h lib: crypto: Plumb in the Intel AES instructions. 2017-09-07 02:01:08 +02:00
arcfour.c lib: Fix some whitespace 2016-05-16 19:52:22 +02:00
arcfour.h lib/crypto: only include what is needed. 2010-06-16 18:58:04 +02:00
crypto.h lib:crypto: Remove obsolete MD5 and HMAC MD5 2019-05-21 01:18:08 +00:00
md4.c lib:crypto: Fix undefined behavior in md4 2018-11-22 22:13:27 +01:00
md4.h
md4test.c lib:crypto: Include only the required header files 2019-02-27 07:59:26 +00:00
py_crypto.c lib/crypto: squash 'cast between incompatible function types' warning 2019-05-16 17:55:17 +00:00
REQUIREMENTS lib/crypto/REQUIREMENTS: DRSUAPI replication replicated secrets was missing from the RC4 section 2018-02-09 07:59:20 +01:00
rijndael-alg-fst.c
rijndael-alg-fst.h
wscript lib/crypto/wscript: update to handle waf 2.0.4 2018-09-05 06:37:22 +02:00
wscript_build lib:crypto: Remove obsolete MD5 and HMAC MD5 2019-05-21 01:18:08 +00:00
wscript_configure lib:crypto: Remove obsolete MD5 and HMAC MD5 2019-05-21 01:18:08 +00:00