Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5c56f32e authored by Vasiliy Kulikov's avatar Vasiliy Kulikov Committed by Kevin Hilman
Browse files

OMAP: PM: SmartReflex: fix potential NULL dereference



kzalloc() may fail, if so return -ENOMEM.  Also Walter Harms suggested
to use kasprintf() instead of kzalloc+strcpy+strcat.

Signed-off-by: default avatarVasiliy Kulikov <segoon@openwall.com>
Signed-off-by: default avatarKevin Hilman <khilman@ti.com>
parent 8743410d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment