All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: ocfs2-devel@oss.oracle.com
Subject: [Ocfs2-devel] Potential NULL pointer deference in ocfs2
Date: Mon, 7 Oct 2019 21:24:45 +0200	[thread overview]
Message-ID: <20191007192445.GA1163903@kroah.com> (raw)
In-Reply-To: <CABvMjLTbBJ-9JrLDi=4B=2MVFCFv95tarS=qe10Pte+=HYSpbw@mail.gmail.com>

On Mon, Oct 07, 2019 at 12:09:27PM -0700, Yizhuo Zhai wrote:
> Hi All:
> 
> fs/ocfs2/cluster/heartbeat.c:
> 
> Inside function o2hb_region_start_block_store(), to_o2hb_region()
> could return NULL,however, the return value of to_o2hb_region() is not
> checked and get
> used. This could potentially be unsafe.a

Can you just make a patch and submit it to the proper developers so you
get credit for this?

thanks,

greg k-h

       reply	other threads:[~2019-10-07 19:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CABvMjLTbBJ-9JrLDi=4B=2MVFCFv95tarS=qe10Pte+=HYSpbw@mail.gmail.com>
2019-10-07 19:24 ` Greg Kroah-Hartman [this message]
2019-10-08  2:19 ` [Ocfs2-devel] Potential NULL pointer deference in ocfs2 Joseph Qi

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=20191007192445.GA1163903@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=ocfs2-devel@oss.oracle.com \
    /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.