]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[PPP]: Fix osize too small errors when decoding mppe.
authorKonstantin Sharlaimov <konstantin.sharlaimov@gmail.com>
Mon, 24 Sep 2007 21:01:54 +0000 (23:01 +0200)
committerAdrian Bunk <bunk@stusta.de>
Mon, 24 Sep 2007 21:01:54 +0000 (23:01 +0200)
commit44315cc76567e2d911d56091665637e305af182d
tree55ba5ebe14885eda9e4c5b5406b4e8f0dc5ecb7b
parent648409668700fb5cc3a9454b042952a996c53c8b
[PPP]: Fix osize too small errors when decoding mppe.

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