* [Ocfs2-devel] Potential NULL pointer deference in ocfs2
[not found] <CABvMjLTbBJ-9JrLDi=4B=2MVFCFv95tarS=qe10Pte+=HYSpbw@mail.gmail.com>
@ 2019-10-07 19:24 ` Greg Kroah-Hartman
2019-10-08 2:19 ` Joseph Qi
1 sibling, 0 replies; 2+ messages in thread
From: Greg Kroah-Hartman @ 2019-10-07 19:24 UTC (permalink / raw)
To: ocfs2-devel
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
^ permalink raw reply [flat|nested] 2+ messages in thread* [Ocfs2-devel] Potential NULL pointer deference in ocfs2
[not found] <CABvMjLTbBJ-9JrLDi=4B=2MVFCFv95tarS=qe10Pte+=HYSpbw@mail.gmail.com>
2019-10-07 19:24 ` [Ocfs2-devel] Potential NULL pointer deference in ocfs2 Greg Kroah-Hartman
@ 2019-10-08 2:19 ` Joseph Qi
1 sibling, 0 replies; 2+ messages in thread
From: Joseph Qi @ 2019-10-08 2:19 UTC (permalink / raw)
To: ocfs2-devel
On 19/10/8 03:09, 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.
>
Umm...config item won't be NULL, it is initialized when module
ocfs2_nodemanager is loaded.
Thanks,
Joseph
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-10-08 2:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <CABvMjLTbBJ-9JrLDi=4B=2MVFCFv95tarS=qe10Pte+=HYSpbw@mail.gmail.com>
2019-10-07 19:24 ` [Ocfs2-devel] Potential NULL pointer deference in ocfs2 Greg Kroah-Hartman
2019-10-08 2:19 ` Joseph Qi
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.