diff options
author | Stefan Metzmacher <metze@samba.org> | 2014-07-10 05:28:36 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2014-07-10 22:30:45 +0200 |
commit | 740d12d1e77d356ff22c3725dce8d5019c86a7a5 (patch) | |
tree | f1a9a59a016bfc417f18e763d08ba40450b59c1c /nsswitch/libwbclient | |
parent | 6704799decbbff2ebecf28c771dc77a0b75b8277 (diff) | |
download | samba-740d12d1e77d356ff22c3725dce8d5019c86a7a5.tar.gz |
libwbclient: reject unknown named blobs in wbcCredentialCache()
Bug: https://bugzilla.samba.org/show_bug.cgi?id=10692
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Jul 10 22:30:45 CEST 2014 on sn-devel-104
Diffstat (limited to 'nsswitch/libwbclient')
-rw-r--r-- | nsswitch/libwbclient/wbc_pam.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nsswitch/libwbclient/wbc_pam.c b/nsswitch/libwbclient/wbc_pam.c index 11b59f6f30c..a16de971f3d 100644 --- a/nsswitch/libwbclient/wbc_pam.c +++ b/nsswitch/libwbclient/wbc_pam.c @@ -1224,6 +1224,8 @@ wbcErr wbcCredentialCache(struct wbcCredentialCacheParams *params, challenge_blob = ¶ms->blobs[i]; continue; } + status = WBC_ERR_INVALID_PARAM; + goto fail; } if (params->domain_name != NULL) { |