mbox

[PULL,0/1] Fix use-after-free errors in util/error.c

Message ID 20230406165615.4102782-1-stefanb@linux.ibm.com (mailing list archive)
State New, archived
Headers show

Pull-request

https://github.com/stefanberger/qemu-tpm.git tags/pull_error_handle_fix_use_after_free.v1

Message

Stefan Berger April 6, 2023, 4:56 p.m. UTC
Hello!

   This PR fixes use-after-free errors in util/error.c as reported by Coverity.

Regards,
   Stefan


The following changes since commit 60ca584b8af0de525656f959991a440f8c191f12:

  Merge tag 'pull-for-8.0-220323-1' of https://gitlab.com/stsquad/qemu into staging (2023-03-22 17:58:12 +0000)

are available in the Git repository at:

  https://github.com/stefanberger/qemu-tpm.git tags/pull_error_handle_fix_use_after_free.v1

for you to fetch changes up to cc40b8b8448de351f0d15412f20d428712b2e207:

  util/error: Fix use-after-free errors reported by Coverity (2023-04-06 12:38:42 -0400)

----------------------------------------------------------------
Stefan Berger (1):
      util/error: Fix use-after-free errors reported by Coverity

 util/error.c | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

Comments

Peter Maydell April 10, 2023, 1:27 p.m. UTC | #1
On Thu, 6 Apr 2023 at 17:56, Stefan Berger <stefanb@linux.ibm.com> wrote:
>
> Hello!
>
>    This PR fixes use-after-free errors in util/error.c as reported by Coverity.
>
> Regards,
>    Stefan
>
>
> The following changes since commit 60ca584b8af0de525656f959991a440f8c191f12:
>
>   Merge tag 'pull-for-8.0-220323-1' of https://gitlab.com/stsquad/qemu into staging (2023-03-22 17:58:12 +0000)
>
> are available in the Git repository at:
>
>   https://github.com/stefanberger/qemu-tpm.git tags/pull_error_handle_fix_use_after_free.v1
>
> for you to fetch changes up to cc40b8b8448de351f0d15412f20d428712b2e207:
>
>   util/error: Fix use-after-free errors reported by Coverity (2023-04-06 12:38:42 -0400)
>
> ----------------------------------------------------------------
> Stefan Berger (1):
>       util/error: Fix use-after-free errors reported by Coverity


Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/8.0
for any user-visible changes.

-- PMM