diff options
author | Jim Meyering <jim@meyering.net> | 2012-01-05 13:37:04 -0500 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2012-01-05 15:42:40 -0500 |
commit | ace87c773e2ac5c6f59f984563290f57cdbcfd88 (patch) | |
tree | 3d0012ba0ebcbe0d334bff730f82268a24ad3bfe /utils/gssd/gssd_proc.c | |
parent | 89dde6fbabf6590ad7ccccc1f20f371f27da2207 (diff) | |
download | nfs-utils-ace87c773e2ac5c6f59f984563290f57cdbcfd88.tar.gz nfs-utils-ace87c773e2ac5c6f59f984563290f57cdbcfd88.tar.xz nfs-utils-ace87c773e2ac5c6f59f984563290f57cdbcfd88.zip |
gssd: avoid double-free upon write failure
Free just calloc'd enc_key.data from one place, unconditionally,
after calling write_lucid_keyblock, rather than from three places.
Coverity spotted the possible double free.
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/gssd/gssd_proc.c')
0 files changed, 0 insertions, 0 deletions