lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Wed, 29 Dec 2010 08:19:30 -0800
From:	"Gorby, Russ" <russ.gorby@...el.com>
To:	"Dan Carpenter " <IMCEAMAILTO-error27+40gmail+2Ecom@...el.com>
CC:	"Cox, Alan" <alan.cox@...el.com>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: smatch stuff: serial: ifx6x60: oops on load


Yes, unfortunately there are a few issues with this driver that prevent it from loading and running properly.
I will be proving follow-on patches to address this and other issues that have been discovered that should address this. 

>>-----Original Message-----
>>From: Dan Carpenter [mailto:error27@...il.com]
>>Sent: Monday, December 20, 2010 1:16 AM
>>To: Gorby, Russ
>>Cc: Alan Cox; linux-kernel@...r.kernel.org
>>Subject: smatch stuff: serial: ifx6x60: oops on load
>>
>>Smatch complains that the ifx6x60 driver in linux-next has a NULL
>>dereference.
>>
>>drivers/serial/ifx6x60.c +986 ifx_spi_spi_probe(27)
>>	error: potential null derefence 'pl_data'.
>>
>>   984          ifx_dev->spi_timer.function = ifx_spi_timeout;
>>   985          ifx_dev->spi_timer.data = (unsigned long)ifx_dev;
>>   986          ifx_dev->is_6160 = pl_data->is_6160;
>>                                   ^^^^^^^
>>"pl_data" is always NULL at this point.  Presumably this crashes on
>load
>>every time.
>>
>>regards,
>>dan carpenter

--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ