winbindd/idmap_rfc2307: fix a crash
commit01632a8ffcfb475131b63ee43a40001b006bb0d3
authorRalph Boehme <slow@samba.org>
Fri, 24 Jun 2016 16:31:45 +0000 (24 18:31 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 4 Aug 2016 09:10:19 +0000 (4 11:10 +0200)
tree0306038320f793cf7b5e707e3660fec36ca7ff3e
parent5437525a1b0b5839ea0e45550905aca016b88713
winbindd/idmap_rfc2307: fix a crash

map->map is NULL if lookupsid failed.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=11961

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 5e346af078847512e86755a4634583a8a5178c0e)
source3/winbindd/idmap_rfc2307.c