diff options
author | ps57422 <none@none> | 2007-06-28 06:06:55 -0700 |
---|---|---|
committer | ps57422 <none@none> | 2007-06-28 06:06:55 -0700 |
commit | 158643e096f452ce5f7de12c65568293c90ba58c (patch) | |
tree | 902b50ff4fd80ef262c1cb94e03d4acbafead844 /usr/src/lib/rpcsec_gss | |
parent | 31a604f9c88459467255237b24178a336d887fba (diff) | |
download | illumos-joyent-158643e096f452ce5f7de12c65568293c90ba58c.tar.gz |
6554841 rpcsec_gss library vulnerability [MITKRB5-SA-2007-004]
Diffstat (limited to 'usr/src/lib/rpcsec_gss')
-rw-r--r-- | usr/src/lib/rpcsec_gss/svc_rpcsec_gss.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/usr/src/lib/rpcsec_gss/svc_rpcsec_gss.c b/usr/src/lib/rpcsec_gss/svc_rpcsec_gss.c index 38fd1efd81..4091e7cfdf 100644 --- a/usr/src/lib/rpcsec_gss/svc_rpcsec_gss.c +++ b/usr/src/lib/rpcsec_gss/svc_rpcsec_gss.c @@ -2,9 +2,8 @@ * CDDL HEADER START * * The contents of this file are subject to the terms of the - * Common Development and Distribution License, Version 1.0 only - * (the "License"). You may not use this file except in compliance - * with the License. + * Common Development and Distribution License (the "License"). + * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolaris.org/os/licensing. @@ -19,9 +18,10 @@ * * CDDL HEADER END */ + /* - * Copyright 1995-2003 Sun Microsystems, Inc. - * All rights reserved. Use is subject to license terms. + * Copyright 2007 Sun Microsystems, Inc. All rights reserved. + * Use is subject to license terms. */ #pragma ident "%Z%%M% %I% %E% SMI" @@ -600,8 +600,7 @@ __svcrpcsec_gss(rqst, msg, no_dispatch) */ cred = &msg->rm_call.cb_cred; if (cred->oa_length == 0) { - ret = AUTH_BADCRED; - goto error; + return (AUTH_BADCRED); } xdrmem_create(&xdrs, cred->oa_base, cred->oa_length, XDR_DECODE); |