|
Message-ID: <20110702150801.GA14453@suse.de> Date: Sat, 2 Jul 2011 08:08:01 -0700 From: Greg KH <gregkh@...e.de> To: Vasiliy Kulikov <segoon@...nwall.com> Cc: Alan Cox <alan@...rguk.ukuu.org.uk>, Linus Torvalds <torvalds@...ux-foundation.org>, Ingo Molnar <mingo@...e.hu>, Andrew Morton <akpm@...ux-foundation.org>, James Morris <jmorris@...ei.org>, Namhyung Kim <namhyung@...il.com>, kernel-hardening@...ts.openwall.com, linux-kernel@...r.kernel.org Subject: Re: [PATCH v2] kernel: escape non-ASCII and control characters in printk() On Sat, Jul 02, 2011 at 12:10:22PM +0400, Vasiliy Kulikov wrote: > Greg - do you know any devices supplying multibyte strings, but not in > UTF-8 encoding? If yes, then CSI filtering is a bad idea :\ USB is "supposed" to have UTF-16 strings, but there's devices out there that have crazy stuff in them. And of course, anyone can put anything in the device string if they know how to write a bit of firmware, so we have to watch out for that. Hopefully we handle that properly in the usb_string() function in the kernel but review of it is always nice to have. Other than that, I don't know of any multi-byte strings in devices at the moment. I haven't seen the Thunderbolt specs though, so who knows what is coming next. Hope this helps, greg k-h
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.