Files
heimdal/kdc
Luke Howard b6be850e0d kdc: remove outpadata from astgs_request_t
Remove the outpadata field from astgs_request_t, because it's not something we
wish to expose publically (yet it is something that Samba needs in the
client_access plugin API, to add Windows error information).

Instead, allocate rep->padata at the start of AS/TGS request handling, and
ensure it is valid for the lifetime of the request until it is encoded (at
which point it will be freed and set to NULL if zero length, to avoid sending a
zero length METHOD-DATA to the client).

(The previous approach of setting rep->padata to point to &r->outpadata was
fragile, because it required clearing the pointer before freeing the KDC-REP.)
2021-12-23 17:49:36 -06:00
..
2011-07-24 13:07:07 -07:00
2021-12-18 11:34:12 +11:00
2011-05-21 11:57:31 -07:00
2021-12-16 10:40:01 +11:00
2011-05-21 11:57:31 -07:00
2019-12-09 21:39:30 -06:00
2021-12-23 13:52:15 +11:00
2008-09-13 09:21:03 +00:00
2011-05-21 11:57:31 -07:00
2019-12-04 21:34:44 -06:00