mirror of
https://github.com/samba-team/samba.git
synced 2025-11-27 08:23:49 +03:00
r10304: check for basic ldb_message sanity and return appropriate
LDB_ERR_ value
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
f0ad9495e4
commit
610f5646f0
@@ -3,6 +3,7 @@
|
||||
|
||||
Copyright (C) Andrew Tridgell 2004
|
||||
Copyright (C) Stefan Metzmacher 2004
|
||||
Copyright (C) Simo Sorce 2005
|
||||
|
||||
** NOTE! The following LGPL license applies to the ldb
|
||||
** library. This does NOT imply that all of Samba is released
|
||||
@@ -451,6 +452,8 @@ struct ldb_message *ldb_msg_diff(struct ldb_context *ldb,
|
||||
struct ldb_message *msg1,
|
||||
struct ldb_message *msg2);
|
||||
|
||||
int ldb_msg_sanity_check(const struct ldb_message *msg);
|
||||
|
||||
struct ldb_val ldb_val_dup(void *mem_ctx, const struct ldb_val *v);
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user