Re: BUG: file descriptors leak when sys_pipe failed with -EFAULT

From: Herbert Xu
Date: Fri Dec 14 2007 - 06:47:15 EST


Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> The consequences of this are that the application may eventually run out of
> file descriptors and they will be cleaned up when the application exits
> anyway, so it isn't terribly serious.

If an application is calling pipe(2) with bogus pointers then
leaving open file descriptors behind is the least of its worries.
So I think fixing this is really a waste of time. But whatever.

Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/