Re: array underflow in receive_SyncParam()?

From: Dan Carpenter
Date: Tue Mar 27 2012 - 07:42:08 EST


On Tue, Mar 27, 2012 at 01:32:35PM +0200, Philipp Reisner wrote:
> Hi Dan,
>
> You are right, we are relying on the fact that DRBD peers that
> use the protocol 88 send a positive data_size (what they do).
>
> But if we consider a modified peer, then this is a bug. Suggesting
> the following patch:

Looks good to me. Could you give me a Reported-by tag when you send
this?

regards,
dan carpenter

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/