qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] c408d2: hw/arm/virt: Fix corruption due to do


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] c408d2: hw/arm/virt: Fix corruption due to double free
Date: Thu, 02 Apr 2015 05:00:08 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: c408d27a42318227092128b04cca555f78cf703d
      
https://github.com/qemu/qemu/commit/c408d27a42318227092128b04cca555f78cf703d
  Author: Shannon Zhao <address@hidden>
  Date:   2015-04-02 (Thu, 02 Apr 2015)

  Changed paths:
    M hw/arm/virt.c

  Log Message:
  -----------
  hw/arm/virt: Fix corruption due to double free

As 4de9a88(hw/arm/virt: Fix memory leak reported by Coverity)
and 6e05a12(arm: fix memory leak) both handle the memory leak
reported by Coverity, this cause qemu corruption due to
double free.

Signed-off-by: Shannon Zhao <address@hidden>
Signed-off-by: Shannon Zhao <address@hidden>
Reviewed-by: Stefan Weil <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: 11f10cf8057dd5392171da061381f6c890b1e21d
      
https://github.com/qemu/qemu/commit/11f10cf8057dd5392171da061381f6c890b1e21d
  Author: Peter Maydell <address@hidden>
  Date:   2015-04-02 (Thu, 02 Apr 2015)

  Changed paths:
    M hw/arm/vexpress.c

  Log Message:
  -----------
  hw/arm/vexpress: Don't double-free flash filename

Commits 6e05a12f8f7f and db25a1581 both attempt to fix the
same "failed to free memory containing flash filename" bug,
with the effect that when they were both applied we ended
up freeing the memory twice. Delete the spurious extra free.

Signed-off-by: Peter Maydell <address@hidden>
Reviewed-by: Stefan Weil <address@hidden>
Message-id: address@hidden


Compare: https://github.com/qemu/qemu/compare/289494da25c5...11f10cf8057d

reply via email to

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