qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] c2551b: qcow2: Fix potential qemu-img check c


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] c2551b: qcow2: Fix potential qemu-img check crash on 32 bi...
Date: Wed, 02 Dec 2015 10:00:04 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: c2551b47c9b9465962c4000268eda1307f55614a
      
https://github.com/qemu/qemu/commit/c2551b47c9b9465962c4000268eda1307f55614a
  Author: Kevin Wolf <address@hidden>
  Date:   2015-12-02 (Wed, 02 Dec 2015)

  Changed paths:
    M block/qcow2-refcount.c

  Log Message:
  -----------
  qcow2: Fix potential qemu-img check crash on 32 bit hosts

This crash was caught with qemu-iotests test case 138.

Commit b6d36de already fixed a few 32 bit truncation bugs that could
cause qemu-img check to allocate too little memory and consequently
it would segfault. On 32 bit hosts, there is one more place that needs
to be fixed because size_t was involved in the calculation and is a
32 bit type there.

Cc: address@hidden
Reported-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>
Tested-by: Michael S. Tsirkin <address@hidden>


  Commit: 20873526a329e2145522c29775542dba2900ebe0
      
https://github.com/qemu/qemu/commit/20873526a329e2145522c29775542dba2900ebe0
  Author: Michael S. Tsirkin <address@hidden>
  Date:   2015-12-02 (Wed, 02 Dec 2015)

  Changed paths:
    M block/blkdebug.c

  Log Message:
  -----------
  blkdebug: silence warning under qtest

make check always outputs warnings, this
is not nice.  Disable blkdebug warnings under qtest.

Signed-off-by: Michael S. Tsirkin <address@hidden>
Message-id: address@hidden
Signed-off-by: Max Reitz <address@hidden>


  Commit: ab7fe3a29ab1c6f5a1fff864e455d6d53dde62b5
      
https://github.com/qemu/qemu/commit/ab7fe3a29ab1c6f5a1fff864e455d6d53dde62b5
  Author: Kevin Wolf <address@hidden>
  Date:   2015-12-02 (Wed, 02 Dec 2015)

  Changed paths:
    M block/blkdebug.c

  Log Message:
  -----------
  Merge remote-tracking branch 'mreitz/tags/pull-block-for-kevin-2015-12-02' 
into queue-block

One block patch for qemu 2.5-rc3.

# gpg: Signature made Wed Dec  2 16:29:17 2015 CET using RSA key ID E838ACAD
# gpg: Good signature from "Max Reitz <address@hidden>"

* mreitz/tags/pull-block-for-kevin-2015-12-02:
  blkdebug: silence warning under qtest

Signed-off-by: Kevin Wolf <address@hidden>


  Commit: cf22132367a188426ac07cf1805b214dd2d0cc80
      
https://github.com/qemu/qemu/commit/cf22132367a188426ac07cf1805b214dd2d0cc80
  Author: Peter Maydell <address@hidden>
  Date:   2015-12-02 (Wed, 02 Dec 2015)

  Changed paths:
    M block/blkdebug.c
    M block/qcow2-refcount.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging

Block layer patches

# gpg: Signature made Wed 02 Dec 2015 15:57:35 GMT using RSA key ID C88F2FD6
# gpg: Good signature from "Kevin Wolf <address@hidden>"

* remotes/kevin/tags/for-upstream:
  blkdebug: silence warning under qtest
  qcow2: Fix potential qemu-img check crash on 32 bit hosts

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/2196b6f5dd5a...cf22132367a1

reply via email to

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