On Thu, 2022-11-03 at 00:09 +0800, Huaxin Lu wrote: > In restore_template_fmt, when kstrdup fails, a non-NULL value will still be > returned, which causes a NULL pointer access in template_desc_init_fields. > > Co-developed-by: Jiaming Li <lijiaming30@xxxxxxxxxx> > Signed-off-by: Jiaming Li <lijiaming30@xxxxxxxxxx> > Signed-off-by: Huaxin Lu <luhuaxin1@xxxxxxxxxx> > Reviewed-by: Stefan Berger <stefanb@xxxxxxxxxxxxx> > Reviewed-by: Mimi Zohar <zohar@xxxxxxxxxxxxx> Thank you. This patch is now queued in next-integrity. -- Mimi