[PATCH] KDrive: Fix error handlig in tslib driver

Daniel Stone daniel at fooishbar.org
Wed Oct 20 08:02:37 PDT 2010


On Mon, Oct 18, 2010 at 12:02:01AM +0300, Paulius Zaleckas wrote:
> If ts_open() fails and return NULL, then next call to ts_fd()
> segfaults because of NULL dereference. There is no need to
> check output of ts_fd() as ts_open() did this internally.
> 
> Signed-off-by: Paulius Zaleckas <paulius.zaleckas at gmail.com>

Oops, missed this one.

Reviewed-by: Daniel Stone <daniel at fooishbar.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg-devel/attachments/20101021/e42dfa0f/attachment.pgp>


More information about the xorg-devel mailing list