RT RT/krbdev.mit.edu: Ticket #6943 incorrect reference in spnego_gss_set_cred_option Signed in as guest.
[Logout]

[Home] [Search] [Configuration]

[Display] [History] [Basics] [Dates] [People] [Links] [Jumbo]

 
 

 The Basics  
Id
6943
Status
resolved
Worked
0 min
Priority
0/0
Queue
krb5
 

 Keyword Selections  
Component
Tags
Version_reported
Version_Fixed
  • 1.9.2
Target_Version
  • 1.9.2
 

 Relationships  
Depends on:
Depended on by:
Parents:
Children:

Refers to:
Referred to by:
 
 Dates  
Created: Wed Aug 10 14:41:38 2011
Starts: Not set
Started: Thu Aug 11 11:03:29 2011
Last Contact: Tue Oct 18 16:42:46 2011
Due: Not set
Updated: Wed Dec 16 18:02:57 2015 by tlyu
 

 People  
Owner
 ghudson
Requestors
 aberry@likewise.com
Cc
 
AdminCc
 
 

 More about "Arlene Berry"  
Comments about this user:
No comment entered about this user
This user's 25 highest priority tickets:
 

History   Display mode: [Brief headers] [Full headers]
      Wed Aug 10 14:41:39 2011  aberry@likewise.com - Ticket created    
     
From: Arlene Berry <aberry@likewise.com>
To: "krb5-bugs@mit.edu" <krb5-bugs@mit.edu>
Subject: incorrect reference in spnego_gss_set_cred_option
Date: Wed, 10 Aug 2011 18:13:45 +0000

In src/lib/gssapi/spnego/spnego_mech.c:

OM_uint32
KRB5_CALLCONV spnego_gss_set_cred_option(
                OM_uint32 *minor_status,
                gss_cred_id_t *cred_handle,
                const gss_OID desired_object,
                const gss_buffer_t value)
{
        OM_uint32 ret;
        OM_uint32 tmp_minor_status;
        spnego_gss_cred_id_t spcred = (spnego_gss_cred_id_t)cred_handle;
        gss_cred_id_t mcred;
 ...
                *cred_handle = (gss_cred_id_t)spcred;

It looks to me like that initial spcred assignment should be *cred_handle, not
cred_handle.



Download (untitled) 582b
      Thu Aug 11 11:03:29 2011  ghudson - Given to ghudson    
      Thu Aug 11 11:03:29 2011  ghudson - Target_Version 1.9.2 added    
      Thu Aug 11 11:03:29 2011  ghudson - Status changed from new to review    
      Thu Aug 11 11:03:30 2011  ghudson - Tags pullup added    
      Thu Aug 11 11:03:30 2011  ghudson - Correspondence added    
     
From: ghudson@mit.edu
Subject: SVN Commit


Correctly dereference cred_handle when assigning to spcred in
spnego_gss_set_cred_option.  Reported by aberry@likewise.com.

https://github.com/krb5/krb5/commit/e9093e0805c49cddc86a6fef5154e77aa959f227
Commit By: ghudson
Revision: 25096
Changed Files:
U   trunk/src/lib/gssapi/spnego/spnego_mech.c


Download (untitled) 299b
      Tue Oct 18 16:42:46 2011  tlyu - Status changed from review to resolved    
      Tue Oct 18 16:42:46 2011  tlyu - Version_Fixed 1.9.2 added    
      Tue Oct 18 16:42:46 2011  tlyu - Correspondence added    
     
From: tlyu@mit.edu
Subject: SVN Commit


pull up r25096 from trunk

 ------------------------------------------------------------------------
 r25096 | ghudson | 2011-08-11 11:03:28 -0400 (Thu, 11 Aug 2011) | 7 lines

 ticket: 6943
 target_version: 1.9.2
 tags: pullup

 Correctly dereference cred_handle when assigning to spcred in
 spnego_gss_set_cred_option.  Reported by aberry@likewise.com.

https://github.com/krb5/krb5/commit/441a7fa63b8be0645c3586545fd1eed010071020
Commit By: tlyu
Revision: 25378
Changed Files:
U   branches/krb5-1-9/src/lib/gssapi/spnego/spnego_mech.c


Download (untitled) 539b
      Wed Dec 16 18:02:57 2015  tlyu - Keyword pullup deleted