Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Aug 2015 07:27:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 202612] another libteken assert() fail on teken.c line 231
Message-ID:  <bug-202612-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202612

            Bug ID: 202612
           Summary: another libteken assert() fail on teken.c line 231
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: kcwu@csie.org

Because syscons (a kernel driver) uses libteken, an assertion failure in
libteken would result in kernel panic.

How to reproduce:
To reproduce the assertion reliably, I modified
src/sys/teken/stress/teken_stress.c to take input from stdin.
$ echo -e '\e[?6h\e[5r\e[144441344d' | ./teken_stress
Assertion failed: (t->t_cursor.tp_row >= t->t_originreg.ts_begin), function
teken_input_char, file /usr/src/sys/teken/teken.c, line 231.
Abort trap (core dumped)

Looks like this is very similar to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202540

This issue is found by afl-fuzz

-- 
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-202612-8>