mirror of
https://github.com/samba-team/samba.git
synced 2025-12-06 16:23:49 +03:00
r16825: Make ldb_sainity_check() set an error string. This makes it much
easier to chase down what modules or application code gets wrong. Ensure not to leave memory allocated on failure in ldb_search() Andrew Bartlett
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
a789aa468b
commit
0828739951
@@ -1207,7 +1207,8 @@ int ldb_msg_check_string_attribute(const struct ldb_message *msg,
|
||||
LDB_ERR_INVALID_ATTRIBUTE_SYNTAX) if there is a problem with a
|
||||
message.
|
||||
*/
|
||||
int ldb_msg_sanity_check(const struct ldb_message *msg);
|
||||
int ldb_msg_sanity_check(struct ldb_context *ldb,
|
||||
const struct ldb_message *msg);
|
||||
|
||||
/**
|
||||
Duplicate an ldb_val structure
|
||||
|
||||
Reference in New Issue
Block a user