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

            Bug ID: 202540
           Summary: libteken assert() fail on teken.c line 231
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: [email protected]
          Reporter: [email protected]

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[65533H' | ./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)

This issue is found by afl-fuzz
This is similar but different case to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202326 . Please let me know
if you want me report in the same tracking bug.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to