[krbdev.mit.edu #9171] git commit
"Greg Hudson via RT" <[email protected]> Tue, 08 Apr 2025 16:05:51 -0400
| Newsgroups | gmane.comp.encryption.kerberos.bugs |
|---|---|
| Message-ID | <[email protected]> |
Tue Apr 08 16:05:51 2025: Request 9171 was acted upon. Transaction: Ticket created by [email protected] Queue: krb5 Subject: git commit Owner: [email protected] Requestors: Status: new Ticket <URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9171 > Fix getsockname() call in Windows localaddr When querying local IP addresses, local_addr_fallback_kludge() is called on Windows if gethostname() or gethostbyname() fails. This function's call to getsockname() erroneously passes a small integer as the third argument instead of a pointer, likely causing a process crash. This bug has been present since 1.1, but is rarely encountered due to the rarity of requests for addressful tickets. Fix it. [[email protected]: rewrote commit message] https://github.com/krb5/krb5/commit/e3335375d7ac4e240a8a26a238a3d2a964c9baab Author: Rull Deef <[email protected]> Committer: Greg Hudson <[email protected]> Commit: e3335375d7ac4e240a8a26a238a3d2a964c9baab Branch: master src/lib/krb5/os/localaddr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)