Thread View: fr.inria.cocci
1 messages
1 total messages
Started by Dan Carpenter
Mon, 03 Mar 2025 10:08
Re: [cocci] [PATCH RESEND] video: au1100fb: Move a variable assignment behind a null pointer check in au1100fb_setmode()
Author: Dan Carpenter
Date: Mon, 03 Mar 2025 10:08
Date: Mon, 03 Mar 2025 10:08
13 lines
18822 bytes
18822 bytes
On Mon, Mar 03, 2025 at 10:19:06AM +0100, Uwe Kleine-König wrote: > Hello, > > On Sun, Mar 02, 2025 at 07:02:12PM +0100, Markus Elfring wrote: > > From: Markus Elfring <elfring@users.sourceforge.net> > > Date: Thu, 13 Apr 2023 21:35:36 +0200 > > > > The address of a data structure member was determined before > > a corresponding null pointer check in the implementation of > > the function “au1100fb_setmode”. > > > > Thus avoid the risk for undefined behaviour by moving the assignment > > for the variable “info” behind the null pointer check
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads