Linux ocfs2 filesystem development
 help / color / mirror / Atom feed
From: Junxiao Bi <junxiao.bi@oracle.com>
To: ocfs2-devel@oss.oracle.com
Subject: [Ocfs2-devel] NULL pointer dereference in function ocfs2_abort_trigger
Date: Wed, 20 May 2015 10:56:35 +0800	[thread overview]
Message-ID: <555BF7E3.2060803@oracle.com> (raw)
In-Reply-To: <55598334.8020902@huawei.com>

On 05/18/2015 02:14 PM, Xue jiufei wrote:
> Hi all,
> Function ocfs2_abort_trigger() use bh->b_assoc_map to get super block.
> But I cannot find any function to set bh->b_assoc_map in ocfs2.
> So it will trigger NULL pointer dereference while calling this
> function.
> 
> I am wonder that whether function t_abort->ocfs2_abort_trigger() can be
> deleted from ocfs2.
Better not, jdb2 aborted due to some error, let ocfs2 continue may cause
corruption.

Thanks,
Junxiao.

> 
> Thanks very much.
> 
> 
> _______________________________________________
> Ocfs2-devel mailing list
> Ocfs2-devel at oss.oracle.com
> https://oss.oracle.com/mailman/listinfo/ocfs2-devel
> 

      reply	other threads:[~2015-05-20  2:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-18  6:14 [Ocfs2-devel] NULL pointer dereference in function ocfs2_abort_trigger Xue jiufei
2015-05-20  2:56 ` Junxiao Bi [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=555BF7E3.2060803@oracle.com \
    --to=junxiao.bi@oracle.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox