mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2026-06-22 11:08:25 +02:00
mafpmoc: Do not pack templates structure
Otherwise undefined sanitizer would fail for unaligned memory access
This commit is contained in:
parent
b3ad630fb4
commit
3ce345b876
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue