gss_release_buffer can leak zero-length buffers
authorTom Yu <tlyu@mit.edu>
Thu, 22 Sep 2005 16:46:50 +0000 (16:46 +0000)
committerTom Yu <tlyu@mit.edu>
Thu, 22 Sep 2005 16:46:50 +0000 (16:46 +0000)
commit9199e04b96a9632b8ecea31f6b6e8fa48da1de32
tree81999a4d1dee1f1a708c2ff39ddccf2470d7af8f
parentc02a7929608e666491eb85646a5631e2b98a5ec4
gss_release_buffer can leak zero-length buffers

* rel_buffer.c (generic_gss_release_buffer): Free buffer even if
length is zero.  This avoids memory leaks in some cases.

ticket: new
target_version: 1.4.3
tags: pullup
component: krb5-libs

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17388 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/gssapi/generic/ChangeLog
src/lib/gssapi/generic/rel_buffer.c