diff options
author | Nick Alcock <nick.alcock@oracle.com> | 2019-07-13 20:44:38 +0100 |
---|---|---|
committer | Nick Alcock <nick.alcock@oracle.com> | 2019-10-03 17:04:55 +0100 |
commit | 3dde2c915e2c68fdda36febac618595561ed87f8 (patch) | |
tree | 7e723c7186e6400ad0a9160fca13276857d48758 /libctf/ctf-dump.c | |
parent | 5537f9b9a3c46c3898e274a52f6bb0eb8d293bb8 (diff) | |
download | gdb-3dde2c915e2c68fdda36febac618595561ed87f8.zip gdb-3dde2c915e2c68fdda36febac618595561ed87f8.tar.gz gdb-3dde2c915e2c68fdda36febac618595561ed87f8.tar.bz2 |
libctf: fix double-free on ctf_compress_write error path
We were freeing the compressed data buffer twice if compression failed.
v4: Fix commit message.
v5: fix tabdamage.
libctf/
* ctf-create.c (ctf_compress_write): Fix double-free.
Diffstat (limited to 'libctf/ctf-dump.c')
0 files changed, 0 insertions, 0 deletions