On Fri, 2024-12-06 at 16:13 +0000, Huang, Kai wrote: > I think we can add: > > if (sysinfo_td_conf->num_cpuid_config <= 32) > return -EINVAL; Sorry it should be: if (sysinfo_td_conf->num_cpuid_config > 32) return -EINVAL;
On Fri, 2024-12-06 at 16:13 +0000, Huang, Kai wrote: > I think we can add: > > if (sysinfo_td_conf->num_cpuid_config <= 32) > return -EINVAL; Sorry it should be: if (sysinfo_td_conf->num_cpuid_config > 32) return -EINVAL;