[PPP]: Fix osize too small errors when decoding mppe.
authorKonstantin Sharlaimov <konstantin.sharlaimov@gmail.com>
Sun, 24 Jun 2007 06:05:54 +0000 (23:05 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 24 Jun 2007 06:05:54 +0000 (23:05 -0700)
commit4b2a8fb3a7f7935f62a7bbdc851789fb7c2da032
tree73481354594bdab8a9208619ac9dd3f1ce47f424
parent7e4a6da7c2a1e0df06b71dc4ddc31910229ba9d9
[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>
drivers/net/ppp_generic.c