From: Ian Jackson Date: Thu, 25 Jul 2013 17:30:54 +0000 (+0100) Subject: slip: Buffer management (max_start_pad) fixes X-Git-Tag: debian/0.3.0_beta2~4 X-Git-Url: https://git.distorted.org.uk/~mdw/secnet/commitdiff_plain/a28d65a5e8624c92be4fc3c4a9d8a0d46d92dcc5?hp=a28d65a5e8624c92be4fc3c4a9d8a0d46d92dcc5 slip: Buffer management (max_start_pad) fixes Nothing in slip.c calls buffer_init for the first packet. We don't normally notice this because userv-ipif _both_ prints a confirmation END byte right away, _and_ bookends packets with ENDs. But this should be fixed. Otherwise we fail an assertion when we try to prepend things to the first data packet. Signed-off-by: Ian Jackson ---