[Bug 200859] [bhyve] vbsc_ident buffer accessed out of bounds

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Nov 20 22:21:47 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200859

--- Comment #3 from commit-hook at freebsd.org ---
A commit references this bug:

Author: araujo
Date: Tue Nov 20 22:21:19 UTC 2018
New revision: 340707
URL: https://svnweb.freebsd.org/changeset/base/340707

Log:
  Define AHCI_PORT_IDENT and increase by 1 the VTBLK_BLK_ID_BYTES
  to avoid buffer accessed out of bounds, also switch to snprintf(3).

  PR:           200859
  Submitted by: Caglar <caglar at 10ur.org>
  Obtained from:        https://github.com/mist64/xhyve/pull/24
  MFC after:    4 weeks
  Sponsored by: iXsystems Inc.

Changes:
  head/usr.sbin/bhyve/pci_ahci.c
  head/usr.sbin/bhyve/pci_virtio_block.c

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-virtualization mailing list