[PATCH 2.6.22.3] ppp: fix output buffer size in ppp_decompress_frame

2007-08-17 Thread Konstantin Sharlaimov
This patch addresses the issue with "osize too small" errors in mppe encryption. The patch fixes the issue with wrong output buffer size being passed to ppp decompression routine. Signed-off-by: Konstantin Sharlaimov <[EMAIL PROTECTED]> --- As pointed out by Suresh Mahalingam, the

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

[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-osi