[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problem cat'ing in terminal: buffer overflow?


I recently noticed that cat'ing a bin file in the terminal will render this
terminal unusable. Here is a short reproducible test case :

$cat /sbin/mkfs.ext2

Garbage is populating the output (which is ok in case of non-ascii chars),
but when it's done, the label before the prompt sign and everything typed is
just garbage too. I run 2.4.15 but I've seen this on prior 2.4.x builts.


Reply to: