mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
45b75db50f
Add cmocka tests for ldb_wildcard_match. Running test_wildcard_match under valgrind reproduces CVE-2019-3824 out of bounds read in wildcard compare (bug 13773) valgrind --suppressions=lib/ldb/tests/ldb_match_test.valgrind\ bin/ldb_match_test BUG: https://bugzilla.samba.org/show_bug.cgi?id=13773 Signed-off-by: Gary Lockyer <gary@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
17 lines
235 B
Plaintext
17 lines
235 B
Plaintext
{
|
|
Memory allocated in set-up
|
|
Memcheck:Leak
|
|
match-leak-kinds: possible
|
|
fun:malloc
|
|
...
|
|
fun:setup
|
|
}
|
|
{
|
|
Memory allocated by ldb_init
|
|
Memcheck:Leak
|
|
match-leak-kinds: possible
|
|
fun:malloc
|
|
...
|
|
fun:ldb_init
|
|
}
|