+++ Jiri Kosina [07/04/16 18:06 +0200]:
From: Jiri Kosina <[email protected]>

Commit 425595a7fc20 ("livepatch: reuse module loader code to write
relocations") adds a possibility of dereferncing pointers supplied by the
consumer of the livepatch API before sanity (NULL) checking them (patch
and patch->mod).

Spotted by smatch tool.

Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>

Acked-by: Jessica Yu <[email protected]>

Thank you Jiri!

Reply via email to