Re: [PATCH] Memory leak in visor.c and ftdi_sio.c

From: Richard B. Johnson
Date: Mon Jun 07 2004 - 10:47:16 EST


On Mon, 7 Jun 2004, nardelli wrote:

> Greg KH wrote:
> > On Fri, Jun 04, 2004 at 05:34:41PM +0100, Ian Abbott wrote:
> >
> >>On 04/06/2004 15:59, nardelli wrote:
[SNIPPED...]

> >
> >
> > ===== drivers/usb/serial/visor.c 1.114 vs edited =====
> > --- 1.114/drivers/usb/serial/visor.c Fri Jun 4 07:13:10 2004
> > +++ edited/drivers/usb/serial/visor.c Fri Jun 4 17:12:53 2004
>
> ...
>
> Just curious - is there something special about 42? Grepping wasn't
> very useful, as numbers like this are scattered all over the place.
>
> > +/* number of outstanding urbs to prevent userspace DoS from happening */
> > +#define URB_UPPER_LIMIT 42

See Hitchiker's Guide to the Galaxy. ;^

Cheers,
Dick Johnson
Penguin : Linux version 2.4.26 on an i686 machine (5570.56 BogoMips).
Note 96.31% of all statistics are fiction.


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