Fix incorrect check on null pointer after a kzalloc
Bug #1833578 reported by
Colin Ian King
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ddcci-driver-linux (Ubuntu) |
Fix Released
|
Medium
|
Colin Ian King |
Bug Description
Currently device is being allocated but buffer is being used to check for a failed allocation. Fix this by checking if device is null rather than buffer.
tags: | added: patch |
To post a comment you must log in.
Source package with fix in: https:/ /kernel. ubuntu. com/~cking/ lp-1833578/