"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "libcli/ldap/tests/ldap_message_test.c" between
samba-4.12.3.tar.gz and samba-4.12.5.tar.gz

About: Samba is the standard Windows interoperability suite of programs for Linux and Unix providing secure, stable and fast file and print services for all clients using the SMB/CIFS protocol. 4.12 series.

ldap_message_test.c  (samba-4.12.3):ldap_message_test.c  (samba-4.12.5)
skipping to change at line 118 skipping to change at line 118
* Test that an empty request is handled correctly * Test that an empty request is handled correctly
*/ */
static void test_empty_input(void **state) static void test_empty_input(void **state)
{ {
struct test_ctx *test_ctx = talloc_get_type_abort( struct test_ctx *test_ctx = talloc_get_type_abort(
*state, *state,
struct test_ctx); struct test_ctx);
struct asn1_data *asn1; struct asn1_data *asn1;
struct ldap_message *ldap_msg; struct ldap_message *ldap_msg;
NTSTATUS status; NTSTATUS status;
uint8_t buf[0]; uint8_t *buf = NULL;
size_t len = 0; size_t len = 0;
struct ldap_request_limits limits = { struct ldap_request_limits limits = {
.max_search_size = 256000, .max_search_size = 256000,
}; };
asn1 = asn1_init(test_ctx, ASN1_MAX_TREE_DEPTH); asn1 = asn1_init(test_ctx, ASN1_MAX_TREE_DEPTH);
assert_non_null(asn1); assert_non_null(asn1);
asn1_load_nocopy(asn1, buf, len); asn1_load_nocopy(asn1, buf, len);
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)