[MacPorts] #37133: Kerberos 5 klist -s segfaults if there's an expired ticket

MacPorts noreply at macports.org
Sun Nov 25 06:53:50 PST 2012


#37133: Kerberos 5 klist -s segfaults if there's an expired ticket
--------------------------+--------------------------------
 Reporter:  newsreply@…   |      Owner:  macports-tickets@…
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.1.2
 Keywords:  MIT kerberos  |       Port:  kerberos5 @1.7.2
--------------------------+--------------------------------
 It was suggested in the mailing list that I file a ticket on this issue.
 Here's the details:

 > I'm working on Mac OS 10.7.5 Lion. with

   $ port info kerberos5
   kerberos5 @1.7.2 (net, security)

 > I know Lion has it's own Kerberos, incompatible with the port but I'm
 > working with a class library that links against Kerb and the developer
 > says we have to have the port.
 >
 > I have a script that tests for a valid kerberos ticket by running klist
 -s
 >
 > It works find if I have a valid ticket or no ticket but if the ticket
 > is expired I get:
 >
  $ /opt/local/bin/klist -s
  Segmentation fault: 11
 -------

 It looks like this segfault was fixed in krb5-1.10.

 See the latest MIT Kerberos changelog,
 <http://web.mit.edu/kerberos/krb5-latest/README-1.10.2.txt>, and Kerberos
 ticket #6915,
 <http://krbdev.mit.edu/rt/Ticket/Display.html?user=guest&pass=guest&id=6915>.

-- 
Ticket URL: <https://trac.macports.org/ticket/37133>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list