From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58789) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YujZE-0007wL-JE for qemu-devel@nongnu.org; Tue, 19 May 2015 11:36:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YujZ9-0001q0-4V for qemu-devel@nongnu.org; Tue, 19 May 2015 11:36:28 -0400 From: Kevin Wolf Date: Tue, 19 May 2015 17:35:54 +0200 Message-Id: <1432049762-2184-1-git-send-email-kwolf@redhat.com> Subject: [Qemu-devel] [PATCH 0/8] fdc: Clean up and fix command processing List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-block@nongnu.org Cc: kwolf@redhat.com, jsnow@redhat.com, qemu-devel@nongnu.org This series fixes the real bug that caused CVE-2015-3456, and does some cleanup in the FIFO access functions to make the command processing more obvious. Kevin Wolf (8): fdc: Rename fdctrl_reset_fifo() to fdctrl_to_command_phase() fdc: Rename fdctrl_set_fifo() to fdctrl_to_result_phase() fdc: Introduce fdctrl->phase fdc: Use phase in fdctrl_write_data() fdc: Code cleanup in fdctrl_write_data() fdc: Disentangle phases in fdctrl_read_data() fdc: Fix MSR.RQM flag fdc-test: Test state for existing cases more thoroughly hw/block/fdc.c | 235 +++++++++++++++++++++++++++++++++++++------------------ tests/fdc-test.c | 34 ++++++++ 2 files changed, 192 insertions(+), 77 deletions(-) -- 1.8.3.1