[krbdev.mit.edu #9242] git commit

Greg Hudson via RT rt at krbdev.mit.edu
Mon Nov 9 12:02:24 EST 2026


<URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9242 >


Check TXT lookup results on Windows

In the Windows implementation of k5_try_realm_txt_rr(), iterate
through the received records and pick one that is a non-empty TXT
record.  Otherwise the function could dereference an invalid pointer
and crash (depending on the behavior of DnsQuery_UTF8(), which is not
fully known).  Discovered by Aisle Research.

(cherry picked from commit adce9735b119b75387e64016280faa1320a71ec6)

https://github.com/krb5/krb5/commit/30b952314aa335db4399227d521a4d2a44207a86
Author: Greg Hudson <ghudson at mit.edu>
Commit: 30b952314aa335db4399227d521a4d2a44207a86
Branch: krb5-1.22
 src/lib/krb5/os/dnsglue.c | 18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)



More information about the krb5-bugs mailing list