diff options
author | Andrew Bartlett <abartlet@samba.org> | 2013-07-30 10:40:39 +1200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2013-08-02 13:11:20 +0200 |
commit | 859182da6d06be0e9d37d7ed3448efc3dc78bdb2 (patch) | |
tree | 103bb2022932b09af7c8397adaaa3b5113e58940 /source3/rpc_client/cli_lsarpc.c | |
parent | ba40d0d9d320e500621a6a8107a2ef0a34aeb6ba (diff) | |
download | samba-859182da6d06be0e9d37d7ed3448efc3dc78bdb2.tar.gz samba-859182da6d06be0e9d37d7ed3448efc3dc78bdb2.tar.bz2 samba-859182da6d06be0e9d37d7ed3448efc3dc78bdb2.zip |
dfs_server: Use dsdb_search_one to catch 0 results as well as NO_SUCH_OBJECT errors
This ensures we do not de-reference an invalid rs->msgs pointer if the
pointed-to object was not objectclass=computer
Andrew Bartlett
Bug: https://bugzilla.samba.org/show_bug.cgi?id=10052
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Fri Aug 2 13:11:20 CEST 2013 on sn-devel-104
Diffstat (limited to 'source3/rpc_client/cli_lsarpc.c')
0 files changed, 0 insertions, 0 deletions