[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAKXHbyM+DsL-L6sMNQJT7pCoPiDC=QUC4SAbiKw1CHSwQL44yg@mail.gmail.com>
Date: Fri, 30 Jan 2015 18:02:29 +0100
From: Rickard Strandqvist <rickard_strandqvist@...ctrumdigital.se>
To: Peter Hurley <peter@...leysoftware.com>
Cc: Dan Carpenter <dan.carpenter@...cle.com>,
Benjamin Romer <benjamin.romer@...sys.com>,
David Kershner <david.kershner@...sys.com>,
"devel@...verdev.osuosl.org" <devel@...verdev.osuosl.org>,
Erik Arfvidson <erik.arfvidson@...sys.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
sparmaintainer@...sys.com,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] staging: unisys: virtpci: virtpci: Fix for possible null
pointer dereference
2015-01-30 13:59 GMT+01:00 Peter Hurley <peter@...leysoftware.com>:
> On 01/30/2015 07:39 AM, Dan Carpenter wrote:
>> Btw, if you have the smatch cross function database set up then you can
>> figure out this sort of thing by using:
>>
>> $ smdb.py virtpci_driver_attr_store
>>
>> It says that:
>>
>> fs/sysfs/file.c | sysfs_kf_write | (struct sysfs_ops)->store | PARAM_VALUE | 0 | $ | 4096-2117777777777777777
>>
>> So this is called from sysfs_kf_write() and parameter zero is a valid
>> pointer.
>
> Hi Dan,
>
> This would be a good topic for an LWN.net article.
>
> Regards,
> Peter Hurley
>
Hi
Okay, I'll do that this weekend.
But I see with you more about Smatch by the way.
Kind regards
Rickard Strandqvist
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists