[krbdev.mit.edu #9171] git commit
Greg Hudson via RT
rt-comment at krbdev.mit.edu
Tue Apr 8 16:05:51 EDT 2025
Tue Apr 08 16:05:51 2025: Request 9171 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=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.
[ghudson at mit.edu: rewrote commit message]
https://github.com/krb5/krb5/commit/e3335375d7ac4e240a8a26a238a3d2a964c9baab
Author: Rull Deef <deeroll666 at gmail.com>
Committer: Greg Hudson <ghudson at mit.edu>
Commit: e3335375d7ac4e240a8a26a238a3d2a964c9baab
Branch: master
src/lib/krb5/os/localaddr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the krb5-bugs
mailing list