1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/librpc/tests
Andrew Bartlett 4decb074d8 librpc/ndr: Add support for LIBNDR_FLAG_STR_NO_EMBEDDED_NUL
This requires that, other than termination, no NUL (\0) codepoints
exist in the input string, because bytes beyon that will be lost
in the output string.

This in turn causes trouble for round-trip testing, so it is easiest
to reject it upfront (on an opt-in basis).

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
2023-11-13 01:28:36 +00:00
..
test_ndr_dns_nbt.c CVE-2020-10745: librpc/tests: cmocka tests of dns and ndr strings 2020-07-02 09:01:41 +00:00
test_ndr_macros.c librpc/tests: make use of replace.h in test_ndr*.c 2020-03-27 09:02:37 +00:00
test_ndr_string.c librpc/ndr: Add support for LIBNDR_FLAG_STR_NO_EMBEDDED_NUL 2023-11-13 01:28:36 +00:00
test_ndr.c librpc/tests: make use of replace.h in test_ndr*.c 2020-03-27 09:02:37 +00:00