]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix uninitialized variable bug in kdb_cpw.c 205/head
authorGreg Hudson <ghudson@mit.edu>
Fri, 5 Sep 2014 19:36:11 +0000 (15:36 -0400)
committerGreg Hudson <ghudson@mit.edu>
Fri, 5 Sep 2014 19:36:11 +0000 (15:36 -0400)
commit9a6dc30d9105f0a3c2a209a2154660a0474b3499
tree161c71ceab296a355cd53fa94995086fd55cf6a1
parent759a8e1001ac21161d26eb1dc80c6601fb379964
Fix uninitialized variable bug in kdb_cpw.c

Now that add_key_rnd isn't looking up the TGT principal entry, it
could use retval before initializing it if the loop runs for zero
iterations.  Get rid of the add_key_rnd label (as it no longer does
anything) and just return 0 after the loop ends.
src/lib/kdb/kdb_cpw.c