Bug 18381

Summary: syscons off by 1 error handling \e[1J
Product: Base System Reporter: jon <jon>
Component: kernAssignee: yokota <yokota>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.0-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description jon 2000-05-04 08:30:01 UTC
Off by one error in sys/dev/syscons/sctermvar.h function sc_term_clr_eos()

Call to sc_vtb_erase() needs the length instead of ending position.

How-To-Repeat: 
echo "\e[1;1AAA...AAA\e[1;10H\e[1J\e[2;10H\e[1K"
Comment 1 Johan Karlsson freebsd_committer freebsd_triage 2000-08-24 12:54:00 UTC
Responsible Changed
From-To: freebsd-bugs->yokota

Over to syscons maintainer.
Comment 2 yokota freebsd_committer freebsd_triage 2001-07-20 15:08:27 UTC
State Changed
From-To: open->closed

Committed to 5.0-CURRENT. Will be merged to RELENG_4 shortly.