SPD_MAX
if (dataoff >= SPD_MAX || dataoff % 0x10 != 0) {
uint8_t *out = malloc(SPD_MAX);
SPD_MAX);
spmsg->spd_msg_type > SPD_MAX)