All of lore.kernel.org
 help / color / mirror / Atom feed
* [Ocfs2-devel] NULL pointer dereference in function ocfs2_abort_trigger
@ 2015-05-18  6:14 Xue jiufei
  2015-05-20  2:56 ` Junxiao Bi
  0 siblings, 1 reply; 2+ messages in thread
From: Xue jiufei @ 2015-05-18  6:14 UTC (permalink / raw)
  To: ocfs2-devel

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.

Thanks very much.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Ocfs2-devel] NULL pointer dereference in function ocfs2_abort_trigger
  2015-05-18  6:14 [Ocfs2-devel] NULL pointer dereference in function ocfs2_abort_trigger Xue jiufei
@ 2015-05-20  2:56 ` Junxiao Bi
  0 siblings, 0 replies; 2+ messages in thread
From: Junxiao Bi @ 2015-05-20  2:56 UTC (permalink / raw)
  To: ocfs2-devel

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
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-05-20  2:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.