svn rev #18669: trunk/src/lib/krb5/os/
rra@MIT.EDU
rra at MIT.EDU
Sat Oct 7 23:22:49 EDT 2006
Commit By: rra
Log Message:
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 trunk/src/lib/krb5/os/dnsglue.c
More information about the cvs-krb5
mailing list