Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NULL pointer dereferencing in the touchscreen driver of daisy-o-oss branch #972

Closed
leoaccount opened this issue Nov 18, 2018 · 1 comment

Comments

@leoaccount
Copy link

There is a suspected NULL pointer dereferencing issue (http://cwe.mitre.org/data/definitions/476.html) with the daisy-o-oss branch, in drivers/input/touchscreen/gt917d/gt9xx.c, line 1457. When kmalloc fails (line 1455), page remains NULL, but kfree is called (line 1457) which dereferences the NULL pointer. Possible fix can be remove this line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants