svn rev #18742: branches/krb5-1-5/ src/lib/krb5/os/

tlyu@MIT.EDU tlyu at MIT.EDU
Thu Oct 26 15:39:13 EDT 2006


Commit By: tlyu
Log Message: 
ticket: 4500
version_fixed: 1.5.2

pull up r18669 from trunk

 r18669 at cathode-dark-space:  rra | 2006-10-07 23:22:48 -0400
 Ticket: new
 Subject: Initialize buffer before calling res_ninit
 Component: krb5-libs
 Version_Reported: 1.5.1
 Target_Version: 1.5.2
 Tags: pullup
 
 Per Paul Vixie: It is necessary to zero out the statbuf before calling
 res_ninit(), or else res_vinit() will call res_nclose() and res_ndestroy()
 with stack trash as a statbuf, and they will call free() with stack trash,
 and programs will dump core.
 




Changed Files:
_U  branches/krb5-1-5/
U   branches/krb5-1-5/src/lib/krb5/os/dnsglue.c



More information about the cvs-krb5 mailing list