Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-RT-Original-Encoding: us-ascii Content-Length: 131 The stack doesn't look valid. krb5_lcc_retrieve() does not attempt to free the default realm. Let's see how the patch behaves.