rtree_hier_realms was forgetting to assign the return value of krb5int_copy_data_contents to retval, which would cause a failure to notice out-of-memory conditions. https://github.com/krb5/krb5/commit/59f4572e458f114f5f9e8da78ff3f79d117197d1 Commit By: ghudson Revision: 21909 Changed Files: U trunk/src/lib/krb5/krb/walk_rtree.c