1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-27 22:50:26 +03:00

s3-winbind: Make sure we crash if domain is really not found.

Found by clang-analyzer.
This commit is contained in:
Andreas Schneider 2010-06-29 10:34:17 +02:00
parent eb7bf9d730
commit f324036e76

View File

@ -2422,7 +2422,7 @@ static char* winbind_upn_to_username(struct pwb_context *ctx,
wbcErr wbc_status = WBC_ERR_UNKNOWN_FAILURE;
struct wbcDomainSid sid;
enum wbcSidType type;
char *domain;
char *domain = NULL;
char *name;
char *p;