[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <99fc1f6e-7907-6723-612a-8b68ffa871e5@web.de>
Date: Mon, 29 Jun 2020 10:00:22 +0200
From: Markus Elfring <Markus.Elfring@....de>
To: Chunfeng Yun <chunfeng.yun@...iatek.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Felipe Balbi <felipe.balbi@...ux.intel.com>,
Matthias Brugger <matthias.bgg@...il.com>,
linux-usb@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org
Cc: linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org,
Colin Ian King <colin.king@...onical.com>
Subject: Re: [PATCH 2/2] usb: mtu3: fix NULL pointer dereference
> Some pointers are dereferenced before successful checks.
I suggest to reconsider and improve the change description.
* Would a null pointer dereference be possible only with the variables “mep”
and “mreq” in the implementation of the function “mtu3_gadget_dequeue”?
* How do you think about to adjust any more variable initialisations?
* Will it become helpful to add the tag “Fixes” to the commit message?
Regards,
Markus
Powered by blists - more mailing lists