qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] edc6e5: test-char: fix undefined behavior


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] edc6e5: test-char: fix undefined behavior
Date: Thu, 14 Mar 2019 06:04:13 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: edc6e5015da4d215aaa09bb93060f8cf090cccff
      
https://github.com/qemu/qemu/commit/edc6e5015da4d215aaa09bb93060f8cf090cccff
  Author: Paolo Bonzini <address@hidden>
  Date:   2019-03-12 (Tue, 12 Mar 2019)

  Changed paths:
    M tests/test-char.c

  Log Message:
  -----------
  test-char: fix undefined behavior

Fixes the following failure with --enable-debug:

/tmp/qemu-test/src/tests/test-char.c:838:10: runtime error: load of value 40, 
which is not a valid value for type bool
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior 
/tmp/qemu-test/src/tests/test-char.c:838:10 in

Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 1afee8c3da14bd2daf60f98c940ac60cfab9d8b5
      
https://github.com/qemu/qemu/commit/1afee8c3da14bd2daf60f98c940ac60cfab9d8b5
  Author: Paolo Bonzini <address@hidden>
  Date:   2019-03-12 (Tue, 12 Mar 2019)

  Changed paths:
    M tests/test-bdrv-graph-mod.c

  Log Message:
  -----------
  test-bdrv-graph-mod: fix Error leak

Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 5e78bc6a47dd064c63fbf03d01ec4a3c811157e9
      
https://github.com/qemu/qemu/commit/5e78bc6a47dd064c63fbf03d01ec4a3c811157e9
  Author: Paolo Bonzini <address@hidden>
  Date:   2019-03-12 (Tue, 12 Mar 2019)

  Changed paths:
    M migration/socket.c

  Log Message:
  -----------
  migration: fix memory leak

Reported by ASAN.

Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 1e25879e6f832373775492c11c648ab2fff69bd5
      
https://github.com/qemu/qemu/commit/1e25879e6f832373775492c11c648ab2fff69bd5
  Author: Paolo Bonzini <address@hidden>
  Date:   2019-03-12 (Tue, 12 Mar 2019)

  Changed paths:
    M tests/migration-test.c

  Log Message:
  -----------
  test-migration: fix memory leak

Reported by ASAN.

Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: f6c63c0dbf3d83faca481153c918c1a9abd29e60
      
https://github.com/qemu/qemu/commit/f6c63c0dbf3d83faca481153c918c1a9abd29e60
  Author: Peter Maydell <address@hidden>
  Date:   2019-03-14 (Thu, 14 Mar 2019)

  Changed paths:
    M migration/socket.c
    M tests/migration-test.c
    M tests/test-bdrv-graph-mod.c
    M tests/test-char.c

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

* ASAN fixes

# gpg: Signature made Tue 12 Mar 2019 14:35:59 GMT
# gpg:                using RSA key F13338574B662389866C7682BFFBD25F78C7AE83
# gpg:                issuer "address@hidden"
# gpg: Good signature from "Paolo Bonzini <address@hidden>" [full]
# gpg:                 aka "Paolo Bonzini <address@hidden>" [full]
# Primary key fingerprint: 46F5 9FBD 57D6 12E7 BFD4  E2F7 7E15 100C CD36 69B1
#      Subkey fingerprint: F133 3857 4B66 2389 866C  7682 BFFB D25F 78C7 AE83

* remotes/bonzini/tags/for-upstream:
  test-migration: fix memory leak
  migration: fix memory leak
  test-bdrv-graph-mod: fix Error leak
  test-char: fix undefined behavior

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


Compare: https://github.com/qemu/qemu/compare/dbbc277510aa...f6c63c0dbf3d



reply via email to

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