[17121] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

[krbdev.mit.edu #9231] git commit

daemon@ATHENA.MIT.EDU (Greg Hudson via RT)
Thu Aug 6 22:08:59 2026

From: "Greg Hudson via RT" <rt-comment@krbdev.mit.edu>
In-Reply-To: 
Message-ID: <rt-4.4.3-2-3759619-1786068535-1478.9231-4-0@mit.edu>
To: "AdminCc of krbdev.mit.edu Ticket #9231":;
Date: Thu, 06 Aug 2026 22:08:55 -0400
MIME-Version: 1.0
Reply-To: rt-comment@krbdev.mit.edu
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krb5-bugs-bounces@mit.edu


Thu Aug 06 22:08:54 2026: Request 9231 was acted upon.
 Transaction: Ticket created by ghudson@mit.edu
       Queue: krb5
     Subject: git commit
       Owner: ghudson@mit.edu
  Requestors: 
      Status: new
 Ticket <URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9231 >



Fix deserializing context with missing profile

k5_internalize_context() tolerates EINVAL and ENOENT failures from
profile_ser_internalize(), which should allow it to continue if a
configuration file (such as /etc/krb5.conf) is missing in the
deserializing process.  However, profile_ser_internalize() only
updates the caller's buffer pointer if the profile was initialized, so
k5_internalize_context() attempts to read its trailer from the
serialized profile data and fails.  Change profile_ser_internalize()
to update the caller's buffer pointer once it has consumed a whole
profile serialization, whether or not profile_init() succeeds.

[ghudson@mit.edu: edited commit message and comment]

https://github.com/krb5/krb5/commit/66f6fde30ec696437fecfddee778f0291a1d2ca1
Author: Sergey Bugaev <bugaevc@gmail.com>
Committer: Greg Hudson <ghudson@mit.edu>
Commit: 66f6fde30ec696437fecfddee778f0291a1d2ca1
Branch: master
 src/util/profile/prof_init.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

_______________________________________________
krb5-bugs mailing list
krb5-bugs@mit.edu
https://mailman.mit.edu/mailman/listinfo/krb5-bugs

home help back first fref pref prev next nref lref last post