[PATCH openEuler-1.0-LTS 09/49] ima: Fix misuse of dereference of pointer in template_desc_init_fields()