commit | 87ce53ffc4f1254313ba42cbf5637af4d947f5f7 | [log] [tgz] |
---|---|---|
author | Stefan Berger <stefanb@linux.ibm.com> | Tue Oct 04 20:22:34 2022 -0400 |
committer | Stefan Berger <stefanb@us.ibm.com> | Wed Oct 05 07:37:14 2022 -0400 |
tree | 9496599ccff241a14577e61edbcaf995766cc7e5 | |
parent | 7d79ecd694db05f1592ce86a42fb908e9df50ae0 [diff] |
swtpm: Add another exit label to avoid gcc -fanalyzer false positive Move existing exit label before the return statement and add another label that includes the free(filebuffer). This avoids a false positive by 'gcc -fanalyzer' that seems to think that free(filebuffer) would double-free filebuffer after filebuffer = realloc(tmp, ..) failure. Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>