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>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAM0nabFLTXRgpjw+ZUFUmRaD5rxwdde791Xk115jxBZrMyDJBw@mail.gmail.com>
Date:	Tue, 22 Jan 2013 17:30:48 -0600
From:	Kent Yoder <shpedoikal@...il.com>
To:	Peter Hüwe <PeterHuewe@....de>
Cc:	tpmdd-devel@...ts.sourceforge.net,
	Mathias LEBLANC <Mathias.LEBLANC@...com>,
	Kent Yoder <key@...ux.vnet.ibm.com>,
	Jean-Luc BLANC <jean-luc.blanc@...com>,
	"Sirrix@...per.es" <Sirrix@...per.es>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [tpmdd-devel] [PATCH 1/1] TPM: STMicroelectronics ST33 I2C KERNEL
 3.x.x OOPS!

On Wed, Jan 9, 2013 at 1:41 PM, Peter Hüwe <PeterHuewe@....de> wrote:
> In my opinion a driver should never ever oops, even if the user does something
> stupid (e.g. like probing from userspace ;)

  Exactly...  I've coded up a fix for the oops and staged it here, please test:

https://github.com/shpedoikal/linux.git tpmdd-01-22-13

Thanks,
Kent

> The fix is as simple as adding a simple
> if (!platform_data) return -ENODEV;
> or something similar.
>
> Thanks,
> Peter
>
--
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