Re: [RFC] [PATCH 2.6.21.5] ppp: fix osize too small errors when decoding mppe

2007-06-24 Thread Konstantin Sharlaimov
On Sat, 2007-06-23 at 23:07 -0700, David Miller wrote: The original version of this fix have made it to the 2.6.22-rc5 already and should be replaced with this one, however the two can coexist in the same code for a while. > > --- linux-2.6.21.3/drivers/net/ppp_generic.c.orig 2007-06-20 > > 09

Re: [RFC] [PATCH 2.6.21.5] ppp: fix osize too small errors when decoding mppe

2007-06-23 Thread David Miller
From: Konstantin Sharlaimov <[EMAIL PROTECTED]> Date: Wed, 20 Jun 2007 22:37:18 +1100 > The mppe_decompress() function required a buffer that is 1 byte too small when > receiving a message of mru size. This fixes buffer allocation to prevent this > from occurring. > > Signed-off-by: Konstantin Sh

[RFC] [PATCH 2.6.21.5] ppp: fix osize too small errors when decoding mppe

2007-06-20 Thread Konstantin Sharlaimov
The mppe_decompress() function required a buffer that is 1 byte too small when receiving a message of mru size. This fixes buffer allocation to prevent this from occurring. Signed-off-by: Konstantin Sharlaimov <[EMAIL PROTECTED]> --- As Sergey Vlasov pointed out, ppp_mppe-account-for-osize-too-sm