mafpmoc: Do not pack templates structure

Otherwise undefined sanitizer would fail for unaligned memory access
This commit is contained in:
Marco Trevisan (Treviño)
2026-06-18 15:47:34 +02:00
parent b3ad630fb4
commit 3ce345b876
+1 -1
View File
@@ -222,6 +222,7 @@ typedef struct _mafp_template
uint16_t id;
char uid[128];
} mafp_template_t, *pmafp_template_t;
#pragma pack(pop)
typedef struct _mafp_templates
{
@@ -232,7 +233,6 @@ typedef struct _mafp_templates
mafp_template_t priv_list[MAX_FINGER_NUM];
GPtrArray *list;
} mafp_templates_t, *pmafp_templates_t;
#pragma pack(pop)
typedef struct _fp_cmd_response
{