pull up Nalin's patch to check res_search() return value To generate a diff of this commit: cvs diff -r5.221.2.25.2.9 -r5.221.2.25.2.10 krb5/src/lib/krb5/os/ChangeLog cvs diff -r5.36.2.3 -r5.36.2.3.2.1 krb5/src/lib/krb5/os/hst_realm.c cvs diff -r5.40.2.4 -r5.40.2.4.2.1 krb5/src/lib/krb5/os/locate_kdc.c