]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit355b8107c2acfeee3fab4d205e8b5f9ac0451c24
tree73481354594bdab8a9208619ac9dd3f1ce47f424
parentdcd59f1747b34eb29174fb7049f9877303f08655
[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