[Bug 215209] Kernel panic at boot under XEN: integer divide fault while in kernel mode

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Dec 14 19:28:37 UTC 2016


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

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

Author: dim
Date: Wed Dec 14 19:28:19 UTC 2016
New revision: 310086
URL: https://svnweb.freebsd.org/changeset/base/310086

Log:
  In xbd_connect(), use correct scanf conversion specifiers for the
  feature_barrier and feature_flush variables.  Otherwise, adjacent
  variables on the stack, such as sector_size, may be overwritten, with
  disastrous results.

  Note that I did not see a good reason to revert the addition of zero
  checks introduced in r310013.  Better safe than sorry.

  PR:           215209
  Tested by:    royger
  MFC after:    3 days

Changes:
  head/sys/dev/xen/blkfront/blkfront.c

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


More information about the freebsd-xen mailing list