]> git.ozlabs.org Git - ppp.git/commit
pppd: Fix ccp_cilen calculated size if both deflate_correct and deflate_draft are...
authorSylvain Rochet <gradator@gradator.net>
Tue, 24 Mar 2015 20:21:40 +0000 (21:21 +0100)
committerPaul Mackerras <paulus@samba.org>
Fri, 14 Aug 2015 08:16:02 +0000 (18:16 +1000)
commit094cb8ae4c61db225e67fedadb4964f846dd0c27
tree30215e16af042b5dd83785825080dbc8eafba24e
parent234edab99a6bb250cc9ecd384cca27b0c8b475ce
pppd: Fix ccp_cilen calculated size if both deflate_correct and deflate_draft are enabled

This fixes a bug where ccp_cilen() will return 4 bytes less than
necessary for the addci buffer if both deflate_correct and
deflate_draft are enabled.

Signed-off-by: Sylvain Rochet <gradator@gradator.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
pppd/ccp.c