qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 057489: qga: fix leak of base64 decoded data


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] 057489: qga: fix leak of base64 decoded data on command error
Date: Tue, 10 Aug 2021 06:00:34 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 057489dd1586612b99b4b98d211bf7f0a9d6f0e4
      
https://github.com/qemu/qemu/commit/057489dd1586612b99b4b98d211bf7f0a9d6f0e4
  Author: Daniel P. Berrangé <berrange@redhat.com>
  Date:   2021-08-09 (Mon, 09 Aug 2021)

  Changed paths:
    M qga/commands.c

  Log Message:
  -----------
  qga: fix leak of base64 decoded data on command error

If the guest command fails to be spawned, then we would leak the decoded
base64 input used for the command's stdin feed.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Michael Roth <michael.roth@amd.com>


  Commit: 1f3afa5da2be7469655e88611406226c6c6eb148
      
https://github.com/qemu/qemu/commit/1f3afa5da2be7469655e88611406226c6c6eb148
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2021-08-10 (Tue, 10 Aug 2021)

  Changed paths:
    M qga/commands.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/mdroth/tags/qga-pull-2021-08-09-tag' 
into staging

qemu-ga patch queue for hard-freeze

* fix memory leak in guest_exec

# gpg: Signature made Tue 10 Aug 2021 02:25:43 BST
# gpg:                using RSA key CEACC9E15534EBABB82D3FA03353C9CEF108B584
# gpg: Good signature from "Michael Roth <flukshun@gmail.com>" [full]
# gpg:                 aka "Michael Roth <mdroth@utexas.edu>" [full]
# gpg:                 aka "Michael Roth <mdroth@linux.vnet.ibm.com>" [full]
# Primary key fingerprint: CEAC C9E1 5534 EBAB B82D  3FA0 3353 C9CE F108 B584

* remotes/mdroth/tags/qga-pull-2021-08-09-tag:
  qga: fix leak of base64 decoded data on command error

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


Compare: https://github.com/qemu/qemu/compare/e0d24696b9d9...1f3afa5da2be



reply via email to

[Prev in Thread] Current Thread [Next in Thread]