Skip Menu |
 

From: ghudson@mit.edu
Subject: SVN Commit

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.


https://github.com/krb5/krb5/commit/cef20c2a8b50867599bd862306d6c4e4d7696ef5
Commit By: ghudson
Revision: 21924
Changed Files:
U trunk/src/lib/krb5/krb/walk_rtree.c
From: tlyu@mit.edu
Subject: SVN Commit

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.

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

https://github.com/krb5/krb5/commit/7a40ec7f42c0808fac58bd32efe8e994b75697e3
Commit By: tlyu
Revision: 22034
Changed Files:
U branches/krb5-1-7/src/lib/krb5/krb/walk_rtree.c