[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Thu, 9 Aug 2018 00:41:11 +0200
From: Dominique Martinet <asmadeus@...ewreck.org>
To: Dmitry Vyukov <dvyukov@...gle.com>
Cc: Tomas Bortoli <tomasbortoli@...il.com>,
David Miller <davem@...emloft.net>,
v9fs-developer@...ts.sourceforge.net,
netdev <netdev@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>,
syzkaller <syzkaller@...glegroups.com>
Subject: Re: [PATCH] 9p: fix NULL pointer dereferences
Dmitry Vyukov wrote on Wed, Aug 08, 2018:
> > If you want to factor it in, v9fs_mount does not know which transport is
> > used, but p9_client_create does know - although the functions/structs
> > are all static so you need to check clnt->trans_mod->name with strcmp
> > and I'm honestly not sure that's better than checking in each function..
> >
> > But, as usual I'm happy as long as it works, so pick your poison :)
>
> So let's proceed with checking in each transport function?
Yes, he's done it a while ago, just didn't se the in-reply-to field to
keep part of the thread but the Reported-by was here:
http://lkml.kernel.org/r/20180727110558.5479-1-tomasbortoli@gmail.com
This is in linux-next right now as 631263a1b23c71
--
Dominique
Powered by blists - more mailing lists