[Bug 215373] Unneeded (?) assertion in ttyinq_line_iterate() from sys/kern/tty_inq.c
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Dec 18 10:00:28 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215373
Bug ID: 215373
Summary: Unneeded (?) assertion in ttyinq_line_iterate() from
sys/kern/tty_inq.c
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: kern
Assignee: freebsd-bugs at FreeBSD.org
Reporter: jan.kokemueller at gmail.com
On CURRENT r309302 with debuggin on I'm getting assertions like here:
https://lists.freebsd.org/pipermail/freebsd-current/2011-May/024573.html
They seem to happen randomly on key presses.
Is the second "MPASS(tib != NULL);" needed? Is it possible that "tib->tib_next"
is NULL on the last loop iteration (i.e. offset gets incremented to
ti->ti_end)? The first MPASS should be enough.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list