pull up r21924 from trunk
authorTom Yu <tlyu@mit.edu>
Thu, 19 Feb 2009 00:38:09 +0000 (00:38 +0000)
committerTom Yu <tlyu@mit.edu>
Thu, 19 Feb 2009 00:38:09 +0000 (00:38 +0000)
commit7a40ec7f42c0808fac58bd32efe8e994b75697e3
tree2eb507bdf16e248e81f465ef8201a47984940fdb
parent89974087874e619e061f0a568dfaf60a725ff22b
pull up r21924 from trunk

 ------------------------------------------------------------------------
 r21924 | ghudson | 2009-02-09 13:52:40 -0500 (Mon, 09 Feb 2009) | 10 lines
 Changed paths:
    M /trunk/src/lib/krb5/krb/walk_rtree.c

 ticket: 6379
 subject: Fix possible free of uninitialized value in walk_rtree
 tags: pullup
 target_version: 1.7

 In rtree_hier_realms, if the first rtree_hier_tweens call failed, the
 cleanup handler would free stweens which had not been initialized.
 Initialize ctweens and stweens to NULL in the variable declarations to
 make the cleanup handler safe.

 ------------------------------------------------------------------------

ticket: 6379
version_fixed: 1.7
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-7@22034 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/krb/walk_rtree.c