[krbdev.mit.edu #9191] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Tue Jan 20 16:39:48 EST 2026


Tue Jan 20 16:39:48 2026: Request 9191 was acted upon.
 Transaction: Ticket created by ghudson at mit.edu
       Queue: krb5
     Subject: git commit
       Owner: ghudson at mit.edu
  Requestors: 
      Status: new
 Ticket <URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9191 >



Fix strchr() conformance to C23

C23 7.28.5.1 specifies search functions such as strchr() as generic,
returning const char * if the first argument is of type const char *.
Fix uses of strchr() to conform to this change.

[jrische at redhat.com: altered changes to avoid casts; fixed an
additional case]
[ghudson at mit.edu: condensed some declarations; rewrote commit message]

https://github.com/krb5/krb5/commit/ad4dcf1856dadc4b352b5c8ff08e51c7290fb41f
Author: Alexander Bokovoy <abokovoy at redhat.com>
Committer: Greg Hudson <ghudson at mit.edu>
Commit: ad4dcf1856dadc4b352b5c8ff08e51c7290fb41f
Branch: master
 src/lib/krb5/ccache/ccbase.c                       |  4 ++--
 src/lib/krb5/os/expand_path.c                      |  3 ++-
 src/lib/krb5/os/locate_kdc.c                       | 15 +++++++--------
 src/plugins/preauth/pkinit/pkinit_crypto.h         |  2 +-
 src/plugins/preauth/pkinit/pkinit_crypto_openssl.c |  6 +++---
 src/plugins/preauth/pkinit/pkinit_identity.c       |  2 +-
 src/plugins/preauth/pkinit/pkinit_matching.c       |  2 +-
 src/tests/responder.c                              |  3 +--
 8 files changed, 18 insertions(+), 19 deletions(-)



More information about the krb5-bugs mailing list