Re: [PATCH] Stop printk printing non-printable chars

Pekka Pietikainen
2004-06-18T22:07:29Z

On Fri, Jun 18, 2004 at 11:32:52PM +0200, Jan-Benedict Glaw wrote:
> > It makes all characters out of the range 32..126 (except for newline)
> > print as a '?'.
>
> I don't see why that's needed. I'd say let's better fix ACPI to put
> those strings as a hexdump or something like that.
There's actually some other cases where doing the escaping would be a
good idea.

Try grabbing an old a.out binary, renaming it to something like
\n<0>Oops: ,running it and see what happens...

Combined with an old-enough terminal emulator there could actually
be a bit more trouble than a messed-up screen...

--
Pekka Pietikainen