mirror of
https://github.com/samba-team/samba.git
synced 2025-03-05 20:58:40 +03:00
If we allow overly long UTF-8 sequences (in the tests, encoding '\0' as 2, 3, or 4 bytes), it might be possible for bad strings to slip through. We fail. But wait for the next commit. BUG: https://bugzilla.samba.org/show_bug.cgi?id=14684 Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Jeremy Allison <jra@samba.org>
tfork tests =========== To run the tfork torture testsuite under valgrind with the helgrind or drd thread checkers, run valgrind with the --suppress option passing a suppressions file. For helgrind: $ valgrind \ --trace-children=yes \ --tool=helgrind \ --suppressions=lib/util/tests/tfork-helgrind.supp \ ./bin/smbtorture ncalrpc:localhost local.tfork.tfork_threads For drd: $ valgrind \ --trace-children=yes \ --tool=drd \ --suppressions=lib/util/tests/tfork-drd.supp \ ./bin/smbtorture ncalrpc:localhost local.tfork.tfork_threads