Received: from eggs.gnu.org ([2001:4830:134:3::10]:38955) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bn3kX-0002Rj-KA for qemu-devel@nongnu.org; Thu, 22 Sep 2016 09:09:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bn3kU-0005VE-CP for qemu-devel@nongnu.org; Thu, 22 Sep 2016 09:09:13 -0400 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Thu, 22 Sep 2016 17:09:02 +0400 Message-Id: <20160922130905.4720-1-marcandre.lureau@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH v2 0/3] Fix some qapi assert() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: paolo.bonzini@gmail.com, berrange@redhat.com, qemu-stable@nongnu.org, eblake@redhat.com, armbru@redhat.com, =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Hi, The following series fixes 2 triggerable asserts in qmp code: - object-add assert() without props - input visitor may assert() on missing parameter Marc-Andr=C3=A9 Lureau (3): qmp: fix object-add assert() without props qapi: fix crash when a parameter is missing tests: start generic qemu-qmp tests qapi/qmp-input-visitor.c | 11 +++++++++ qmp.c | 8 +++++-- tests/qemu-qmp-test.c | 61 ++++++++++++++++++++++++++++++++++++++++++= ++++++ tests/Makefile.include | 1 + 4 files changed, 79 insertions(+), 2 deletions(-) create mode 100644 tests/qemu-qmp-test.c --=20 2.10.0