Re: [PATCH] fpga: fix potential null pointer deref in fpga_mgr_test_img_load_sgt()

From: Markus Elfring
Date: Wed Mar 12 2025 - 09:02:07 EST



> zero it out. If the allocation fails then sgt will be NULL and the

failed?


Can a summary phrase like “Prevent null pointer dereference
in fpga_mgr_test_img_load_sgt()” be nicer?

Regards,
Markus