Skip Menu |
 

From: ghudson@mit.edu
Subject: SVN Commit

The KDC's process_as_req was storing the address of a stack variable
(client_princ), which fails if the request is not immediately
serviced. Move that variable to the state structure so its address
remains valid for the lifetime of the request.

https://github.com/krb5/krb5/commit/d91163e40b15252e8189d0593e3125519b351c9c
Commit By: ghudson
Revision: 25659
Changed Files:
U trunk/src/kdc/do_as_req.c
From: tlyu@mit.edu
Subject: SVN Commit

Pull up r25659 from trunk

------------------------------------------------------------------------
r25659 | ghudson | 2012-01-26 12:01:05 -0500 (Thu, 26 Jan 2012) | 10 lines

ticket: 7081
subject: Don't use stack variable address in as_req state
target_version: 1.10
tags: pullup

The KDC's process_as_req was storing the address of a stack variable
(client_princ), which fails if the request is not immediately
serviced. Move that variable to the state structure so its address
remains valid for the lifetime of the request.

https://github.com/krb5/krb5/commit/af525bc76084e86416986f326da69223c1e4fc4f
Commit By: tlyu
Revision: 25680
Changed Files:
U branches/krb5-1-10/src/kdc/do_as_req.c