[PATCH v3] kexec/fs2dt: Check for NULL pointer in dt_copy_old_root_param()
Simon Horman
horms at verge.net.au
Thu Oct 6 19:56:59 PDT 2016
On Tue, Oct 04, 2016 at 07:07:05AM +0530, Madhavan Srinivasan wrote:
> In dt_copy_old_root_param(), FILE * returned
> from fopen is not checked for NULL pointer
> before passinig to fclose(). This could trigger
> a segfault. Patch to fix the same.
>
> Signed-off-by: Madhavan Srinivasan <maddy at linux.vnet.ibm.com>
Thanks, applied.
More information about the kexec
mailing list