[Bug 202612] another libteken assert() fail on teken.c line 231
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Aug 24 07:27:25 UTC 2015
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 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[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.
More information about the freebsd-bugs
mailing list