On Tue, Feb 19, 2013 at 06:57:53PM -0000, Dan Gohman wrote: > Log: > Don't trust st_size of a character device. This fixes using > /dev/stdin as an input when stdin is connected to a tty, for example. Wouldn't it be better to white list regular files and only them? Joerg