Re: [linux-usb-devel] Re: [PATCH] Memory leak in visor.c and ftdi_sio.c

From: Peter Horton
Date: Fri Jun 04 2004 - 18:24:33 EST


On Fri, Jun 04, 2004 at 05:34:41PM +0100, Ian Abbott wrote:
>
> A related problem with the current implementation is that is easy to
> run out of memory by running something similar to this:
>
> # cat /dev/zero > /dev/ttyUSB0
>

I got bitten by this a couple of days ago. There is effectively no write
flow control at all, it just sucks up memory ...

P.
-
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/