]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix minor leak in gssrpc UDP cache code 799/head
authorGreg Hudson <ghudson@mit.edu>
Tue, 19 Jun 2018 17:15:15 +0000 (13:15 -0400)
committerGreg Hudson <ghudson@mit.edu>
Wed, 20 Jun 2018 15:16:44 +0000 (11:16 -0400)
commit909c655a9fa38102cfc9864757a33173388146ba
tree25e6f5cc8eb51395817bdd2e99305c3bbe91a36e
parent6d822841648761ac888b9a95693ad87a8aaf165c
Fix minor leak in gssrpc UDP cache code

In svc_udp.c:cache_set(), if victim is allocated successfully but
allocation for newbuf fails, free victim before returning.  Reported
by Bean Zhang.

ticket: 8703
src/lib/rpc/svc_udp.c