Date: Sun, 18 Dec 2016 10:00:28 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 215373] Unneeded (?) assertion in ttyinq_line_iterate() from sys/kern/tty_inq.c Message-ID: <bug-215373-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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@FreeBSD.org Reporter: jan.kokemueller@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-215373-8>
