RT RT/krbdev.mit.edu: Ticket #2858 krb5_parse_name not thread-safe, not responsive to environment changes Signed in as guest.
[Logout]

[Home] [Search] [Configuration]

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

 
 

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

 Keyword Selections  
Component
  • krb5-libs
Tags
Version_reported
Version_Fixed
  • 1.4
Target_Version
  • 1.4
 

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

Refers to:
Referred to by:
 
 Dates  
Created: Mon Jan 3 14:30:22 2005
Starts: Not set
Started: Mon Jan 3 14:30:26 2005
Last Contact: Mon Jan 3 16:50:55 2005
Due: Not set
Updated: Wed Dec 16 18:02:44 2015 by tlyu
 

 People  
Owner
 raeburn
Requestors
 raeburn@mit.edu
Cc
 
AdminCc
 
 

 More about Ken Raeburn  
Comments about this user:
No comment entered about this user
This user's 25 highest priority tickets:
 

History   Display mode: [Brief headers] [Full headers]
      Mon Jan  3 14:30:23 2005  raeburn - Ticket created    
     
From: raeburn@mit.edu
Subject: CVS Commit

As Ezra noted, krb5_parse_name saves away the default realm the first
time it looks it up, and will never look it up again, even if the
config file has changed, the context isn't the same one, etc.  It also
used a static variable which wasn't thread-safe.

With this patch, we still won't catch changes in the config file
specification after the default realm has been looked up for a given
krb5_context, because it's cached in the context too, but this will at
least be more responsive, and thread safe.

* parse.c (krb5_parse_name): Don't cache the default realm name.


To generate a diff of this commit:



	cvs diff -r5.455 -r5.456 krb5/src/lib/krb5/krb/ChangeLog
	cvs diff -r5.45 -r5.46 krb5/src/lib/krb5/krb/parse.c


Download (untitled) 723b
      Mon Jan  3 14:30:26 2005  raeburn - Tags pullup added    
      Mon Jan  3 14:30:26 2005  raeburn - Status changed from new to resolved    
      Mon Jan  3 14:30:27 2005  raeburn - Target_Version 1.4 added    
      Mon Jan  3 14:30:28 2005  raeburn - Requestor raeburn@mit.edu added    
      Mon Jan  3 16:50:51 2005  tlyu - Version_Fixed 1.4 added    
      Mon Jan  3 16:50:52 2005  tlyu - Component krb5-libs added    
      Mon Jan  3 16:50:52 2005  tlyu - Correspondence added    
     
From: tlyu@mit.edu
Subject: CVS Commit

pullup from trunk


To generate a diff of this commit:



	cvs diff -r5.455 -r5.455.2.1 krb5/src/lib/krb5/krb/ChangeLog
	cvs diff -r5.45 -r5.45.4.1 krb5/src/lib/krb5/krb/parse.c


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