Created attachment 501392 [details] initialize subkey and free if needed Description of problem: kdc do_tgs_req.c is missing upstream code that frees the subkey when it is present Version-Release number of selected component (if applicable): krb5-1.6.1-55.el5_6.1 Additional info: ==2555== 48 (32 direct, 16 indirect) bytes in 2 blocks are definitely lost in loss record 14 of 23 ==2555== at 0x4822903: malloc (vg_replace_malloc.c:195) ==2555== by 0x4912768: krb5_copy_keyblock (copy_key.c:40) ==2555== by 0x490F631: krb5_auth_con_getrecvsubkey (auth_con.c:223) ==2555== by 0x10FB3D: kdc_process_tgs_req (kdc_util.c:316) ==2555== by 0x10D0E1: process_tgs_req (do_tgs_req.c:118) ==2555== by 0x10B877: dispatch (dispatch.c:89) ==2555== by 0x1175F8: process_packet (network.c:746) ==2555== by 0x115A0F: listen_and_process (network.c:1057) ==2555== by 0x1155C6: main (main.c:738) ==2555==
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2012-0306.html