[Bug 215356] smartmontools: fix panic on INVARIANTS enabled kernel after r308351 in base

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Dec 17 19:34:39 UTC 2016


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

            Bug ID: 215356
           Summary: smartmontools: fix panic on INVARIANTS enabled kernel
                    after  r308351 in base
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: op at hardenedbsd.org
                CC: ken at FreeBSD.org, markj at FreeBSD.org
             Flags: maintainer-feedback+, merge-quarterly?

Created attachment 178032
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=178032&action=edit
0001-smartmontools-fix-panic-on-INVARIANTS-enabled-kernel.patch

smartmontools: fix panic on INVARIANTS enabled kernel after r308351 in base

    After r308351 commit the INVARIANTS enabled kernel gets too "eager" when
    checking the cam ccb flags. But the real problem was not the previous, but
    the smartmontools does not zeroed out the ccb on stack, and pass this
    dirty ccb to kernel, which is catched by an ASSERT. So fix this by filling
    up with 0 this ccb. This commit is similar, what's happen in r307684
    in camcontrol. So this is the same followup patch in smartmontools.

    https://svnweb.freebsd.org/base?view=revision&revision=307684
    https://svnweb.freebsd.org/base?view=revision&revision=308351

    Sponsored-by: opBSD

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


More information about the freebsd-ports-bugs mailing list