diff options
author | Andreas Schneider <asn@samba.org> | 2012-12-17 14:17:59 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2012-12-21 13:56:00 +0100 |
commit | f8a5abf960f40673a5113cc6820a68eb01662d3e (patch) | |
tree | 742536b384bbd6d851b68d3540605750fbb9d41d /nsswitch/libwbclient/wbc_util.c | |
parent | b26a9eae1648ecfa9912aa8ce81e0f0ea674ca53 (diff) | |
download | samba-f8a5abf960f40673a5113cc6820a68eb01662d3e.tar.gz samba-f8a5abf960f40673a5113cc6820a68eb01662d3e.tar.bz2 samba-f8a5abf960f40673a5113cc6820a68eb01662d3e.zip |
libwbclient: Fix null check in process_domain_info_string().
Found by Coverity.
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'nsswitch/libwbclient/wbc_util.c')
-rw-r--r-- | nsswitch/libwbclient/wbc_util.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/nsswitch/libwbclient/wbc_util.c b/nsswitch/libwbclient/wbc_util.c index af134ba7e5..4060e2521c 100644 --- a/nsswitch/libwbclient/wbc_util.c +++ b/nsswitch/libwbclient/wbc_util.c @@ -466,12 +466,7 @@ static wbcErr process_domain_info_string(struct wbcDomainInfo *info, } /* Online/Offline status */ - r = s; - if (r == NULL) { - wbc_status = WBC_ERR_INVALID_RESPONSE; - BAIL_ON_WBC_ERROR(wbc_status); - } if ( strcmp(r, "Offline") == 0) { info->domain_flags |= WBC_DOMINFO_DOMAIN_OFFLINE; } |