[Cluster-devel] 回复: [PATCH v1] fs:dlm:Fix NULL pointer dereference bug in accept_from_sock()

2023-07-04 Thread 王明-软件底层技术部
Thank you. I see. I hadn't noticed what the add_sock() function did before, but now I understand that newcon->sock will not be a null pointer. -邮件原件- 发件人: Alexander Aring 发送时间: 2023年7月5日 0:22 收件人: 王明-软件底层技术部 抄送: Christine Caulfield ; David Teigland ; cluster-devel@redhat.com; linux-ke

Re: [Cluster-devel] [GIT PULL] gfs2 fixes

2023-07-04 Thread pr-tracker-bot
The pull request you sent on Tue, 4 Jul 2023 14:51:11 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git > tags/gfs2-v6.4-rc5-fixes has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/94c76955e86a5a4f16a1d690b66dcc268c156e6a Thank you! -- Deet-d

Re: [Cluster-devel] [PATCH v1] fs:dlm:Fix NULL pointer dereference bug in accept_from_sock()

2023-07-04 Thread Alexander Aring
Hi, On Tue, Jul 4, 2023 at 6:56 AM Wang Ming wrote: > > newcon -> sock is NULL but dereferenced. > First check newcon. Whether sock is a null pointer. > If so, the subsequent operations are skipped. > If it is not empty, perform subsequent operations. > did you experience some null pointer deref

[Cluster-devel] [GIT PULL] gfs2 fixes

2023-07-04 Thread Andreas Gruenbacher
Hi Linus, please consider pulling the following gfs2 fixes. Thanks a lot, Andreas The following changes since commit 0bdd0f0bf17c5aac16f348ee4b1ebf23d1ec1649: Merge tag 'gfs2-v6.4-rc4-fix' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2 (2023-06-06 05:49:06 -0700) are avai

[Cluster-devel] [PATCH v1] fs:dlm:Fix NULL pointer dereference bug in accept_from_sock()

2023-07-04 Thread Wang Ming
newcon -> sock is NULL but dereferenced. First check newcon. Whether sock is a null pointer. If so, the subsequent operations are skipped. If it is not empty, perform subsequent operations. Signed-off-by: Wang Ming --- fs/dlm/lowcomms.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions