CVE-2020-10745: librpc/tests: cmocka tests of dns and ndr strings
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Fri, 12 Jun 2020 02:26:38 +0000 (14:26 +1200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 2 Jul 2020 09:01:41 +0000 (09:01 +0000)
commitbc896d75295870c410709dc590364bd9916240cf
tree58d24dc3c9e5d60cb90f60aed309d64a981f836c
parentf4b2fd00fe34e3e8d934da3a11329f3d79b437d9
CVE-2020-10745: librpc/tests: cmocka tests of dns and ndr strings

These time the push and pull function in isolation.

Timing should be under 0.0001 seconds on even quite old hardware; we
assert it must be under 0.2 seconds.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14378

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
librpc/tests/test_ndr_dns_nbt.c [new file with mode: 0644]
librpc/wscript_build
selftest/knownfail.d/ndr_dns_nbt [new file with mode: 0644]
source4/selftest/tests.py