Files
libfprint-fpc1020/libfprint
Benjamin Berg 17ff49f85c goodixmoc: Fix template struct for required length calculation
The length is only a single byte in the transfer. However, the struct
had a uint32_t in that place, breaking the sizeof() calculation and
seemingly creating issues for certain lengths of user id strings (which
depend on the username).

Fix this by changing the type to uint8_t. Also add the initial 0x43
prefix byte and a byte of apparent padding that the struct contains.
Leave the two reserved bytes at the end, as they seem to actually have a
meaning (i.e. they are seemingly send in listings).

This effectively makes the struct one byte smaller, bringing it down to
127 bytes from 128 bytes.

Closes: #428, #404
2021-10-27 06:54:47 +00:00
..
2021-09-03 20:58:25 +00:00
2020-06-04 09:34:31 -07:00
2019-12-17 14:38:19 +01:00
2019-11-20 20:38:06 +01:00
2021-07-08 13:42:22 +02:00