LoongArch: Add guard for the larch_insn_gen_xxx functions
mainline inclusion from mainline-v6.5-rc1 commit 0d03e9dc category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I7MWTU CVE: NA -------------------------------- Add guard for the larch_insn_gen_xxx functions to verify whether the immediate operand is within the acceptable range. Signed-off-by:Yongzhen Zhang <zhangyongzhen@kylinos.cn> Signed-off-by:
WANG Rui <wangrui@loongson.cn> Signed-off-by:
Huacai Chen <chenhuacai@loongson.cn>
Loading
Please sign in to comment