NCP22/32: map internal trustee rights to NCP22 access mask
All checks were successful
Source release / source-package (push) Successful in 44s

This commit is contained in:
Mario Fetka
2026-05-26 06:19:41 +02:00
parent e80b67a490
commit cee3d26888

View File

@@ -1468,7 +1468,8 @@ static int handle_ncp_serv(void)
}
if (result > -1) {
U16_TO_16(result, xdata->eff_rights);
int ncp22_rights = trustee_v3_to_ncp22_rights(result);
U16_TO_16(ncp22_rights, xdata->eff_rights);
data_len = sizeof(struct XDATA);
} else completition = (uint8)(-result);
}