Branch: refs/heads/master Home: https://github.com/qemu/qemu Commit: 418c69813f027cb1408aa2759022f5ca170a8c8c https://github.com/qemu/qemu/commit/418c69813f027cb1408aa2759022f5ca170a8c8c Author: Philippe Mathieu-Daudé <f4...@amsat.org> Date: 2017-07-26 (Wed, 26 Jul 2017)
Changed paths: M hw/vfio/platform.c Log Message: ----------- vfio/platform: fix use of freed memory free the data _after_ using it. hw/vfio/platform.c:126:29: warning: Use of memory after it is freed qemu_set_fd_handler(*pfd, NULL, NULL, NULL); ^~~~ Reported-by: Clang Static Analyzer Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> Reviewed-by: Paolo Bonzini <pbonz...@redhat.com> Signed-off-by: Alex Williamson <alex.william...@redhat.com> Commit: 96d2c2c57452f8b6bc3decae71435e7230f3432e https://github.com/qemu/qemu/commit/96d2c2c57452f8b6bc3decae71435e7230f3432e Author: Philippe Mathieu-Daudé <f4...@amsat.org> Date: 2017-07-26 (Wed, 26 Jul 2017) Changed paths: M hw/vfio/pci.c Log Message: ----------- vfio/pci: fix use of freed memory hw/vfio/pci.c:308:29: warning: Use of memory after it is freed qemu_set_fd_handler(*pfd, NULL, NULL, vdev); ^~~~ Reported-by: Clang Static Analyzer Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> Reviewed-by: Paolo Bonzini <pbonz...@redhat.com> Signed-off-by: Alex Williamson <alex.william...@redhat.com> Commit: 6be37cc583454ee27587a79b6008e22c3cc1a763 https://github.com/qemu/qemu/commit/6be37cc583454ee27587a79b6008e22c3cc1a763 Author: Peter Maydell <peter.mayd...@linaro.org> Date: 2017-07-27 (Thu, 27 Jul 2017) Changed paths: M hw/vfio/pci.c M hw/vfio/platform.c Log Message: ----------- Merge remote-tracking branch 'remotes/awilliam/tags/vfio-fixes-20170726.0' into staging VFIO fixes 2017-07-26 - Error path use after free bug fixes (Philippe Mathieu-Daudé) # gpg: Signature made Wed 26 Jul 2017 18:49:00 BST # gpg: using RSA key 0x239B9B6E3BB08B22 # gpg: Good signature from "Alex Williamson <alex.william...@redhat.com>" # gpg: aka "Alex Williamson <a...@shazbot.org>" # gpg: aka "Alex Williamson <alwil...@redhat.com>" # gpg: aka "Alex Williamson <alex.l.william...@gmail.com>" # Primary key fingerprint: 42F6 C04E 540B D1A9 9E7B 8A90 239B 9B6E 3BB0 8B22 * remotes/awilliam/tags/vfio-fixes-20170726.0: vfio/pci: fix use of freed memory vfio/platform: fix use of freed memory Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Compare: https://github.com/qemu/qemu/compare/2dca6d9e7eb4...6be37cc58345