Re: array underflow in receive_SyncParam()?

From: Philipp Reisner
Date: Wed Mar 28 2012 - 04:26:25 EST


Am Dienstag, 27. März 2012, 14:43:43 schrieb Dan Carpenter:
> 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?
>

Sure. Right now it is here, in out out-of-tree repo.

http://git.drbd.org/gitweb.cgi?p=drbd-8.3.git;a=commit;h=02d3c4dd5da22e8a2e8c953fe20f32de1124fedb

Best,
Phil
--
: Dipl-Ing Philipp Reisner
: LINBIT | Your Way to High Availability
: Tel: +43-1-8178292-50, Fax: +43-1-8178292-82
: http://www.linbit.com

DRBD(R) and LINBIT(R) are registered trademarks of LINBIT, Austria.

--
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/