-
由 Jiri Kosina 提交于
Commit 425595a7 ("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: NDan Carpenter <dan.carpenter@oracle.com> Acked-by: NJosh Poimboeuf <jpoimboe@redhat.com> Acked-by: NJessica Yu <jeyu@redhat.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
61bf12d3