[Bug 202540] libteken assert() fail on teken.c line 231
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Aug 21 05:20:36 UTC 2015
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: freebsd-bugs at FreeBSD.org
Reporter: kcwu at 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[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.
More information about the freebsd-bugs
mailing list