]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[PPP]: Fix output buffer size in ppp_decompress_frame().
authorKonstantin Sharlaimov <konstantin.sharlaimov@gmail.com>
Thu, 30 Aug 2007 04:17:37 +0000 (06:17 +0200)
committerAdrian Bunk <bunk@stusta.de>
Mon, 24 Sep 2007 21:02:46 +0000 (23:02 +0200)
commit725ad2a8f1358bff885414f5e91d253c99921ddc
treedc3022778b3d5e26c98559196c178f5e60f9dae1
parent44315cc76567e2d911d56091665637e305af182d
[PPP]: Fix output buffer size in ppp_decompress_frame().

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.

--------------------
As pointed out by Suresh Mahalingam, the issue addressed by
ppp-fix-osize-too-small-errors-when-decoding patch is not fully resolved yet.
The size of allocated output buffer is correct, however it size passed to
ppp->rcomp->decompress in ppp_generic.c if wrong. The patch fixes that.
--------------------

Signed-off-by: Konstantin Sharlaimov <konstantin.sharlaimov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
drivers/net/ppp_generic.c