summaryrefslogtreecommitdiff
path: root/source3/libsmb/smb_share_modes.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2013-07-30 10:40:39 +1200
committerStefan Metzmacher <metze@samba.org>2013-08-02 13:11:20 +0200
commit859182da6d06be0e9d37d7ed3448efc3dc78bdb2 (patch)
tree103bb2022932b09af7c8397adaaa3b5113e58940 /source3/libsmb/smb_share_modes.c
parentba40d0d9d320e500621a6a8107a2ef0a34aeb6ba (diff)
downloadsamba-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/libsmb/smb_share_modes.c')
0 files changed, 0 insertions, 0 deletions