krb5int_rd_chpw_rep could call krb5_free_error with random value
authorEzra Peisach <epeisach@mit.edu>
Wed, 10 Jun 2009 02:55:22 +0000 (02:55 +0000)
committerEzra Peisach <epeisach@mit.edu>
Wed, 10 Jun 2009 02:55:22 +0000 (02:55 +0000)
commitccdee10e6b9c218f3e82e5987d716bfb7cbb1c90
tree777571d2561137f9347503f6d8b9d092f33d4cd5
parenteccdec28c55702b7605af72e3eb553f7fd0bcecc
krb5int_rd_chpw_rep could call krb5_free_error with random value

clang picked up on a path in which krberror is not set and passed as
an argument to krb5_free_error(). Essentially if the clearresult
length < 2 but everything decodes - you can hit this path...

ticket: 6511

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22409 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/krb/chpw.c