All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philipp Reisner <philipp.reisner@linbit.com>
To: Dan Carpenter <dan.carpenter@oracle.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: array underflow in receive_SyncParam()?
Date: Wed, 28 Mar 2012 10:26:23 +0200	[thread overview]
Message-ID: <6830387.jTXYMTo9KI@fat-tyre> (raw)
In-Reply-To: <20120327114343.GB3200@mwanda>

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.


      reply	other threads:[~2012-03-28  8:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-27  7:10 array underflow in receive_SyncParam()? Dan Carpenter
2012-03-27 11:32 ` Philipp Reisner
2012-03-27 11:43   ` Dan Carpenter
2012-03-28  8:26     ` Philipp Reisner [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6830387.jTXYMTo9KI@fat-tyre \
    --to=philipp.reisner@linbit.com \
    --cc=dan.carpenter@oracle.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.