Subject: CVS commit: pkgsrc/emulators/qemu
From: Pierre Pronchery
Date: 2015-05-16 05:19:54
Message id: 20150516031954.42BDA98@cvs.netbsd.org

Log Message:
Add patch for CVE-2015-3456.

fdc: force the fifo access to be in bounds of the allocated buffer

During processing of certain commands such as FD_CMD_READ_ID and
FD_CMD_DRIVE_SPECIFICATION_COMMAND the fifo memory access could
get out of bounds leading to memory corruption with values coming
from the guest.

Fix this by making sure that the index is always bounded by the
allocated memory.

XXX pull-up where applicable

Files:
RevisionActionfile
1.138modifypkgsrc/emulators/qemu/Makefile
1.104modifypkgsrc/emulators/qemu/distinfo
1.1addpkgsrc/emulators/qemu/patches/patch-hw_block_fdc.c