Re: [PATCH] target/xtensa: Replace malloc() with g_strdup_printf()

2025-07-29 Thread Max Filippov
On Tue, Jul 29, 2025 at 4:12 AM Dmitry Frolov wrote: > > malloc() return value is used without a check. > > Found by Linux Verification Center (linuxtesting.org) with SVACE. > > Signed-off-by: Dmitry Frolov > --- > target/xtensa/translate.c | 9 ++--- > 1 file changed, 2 insertions(+), 7 del

[PATCH] target/xtensa: Replace malloc() with g_strdup_printf()

2025-07-29 Thread Dmitry Frolov
malloc() return value is used without a check. Found by Linux Verification Center (linuxtesting.org) with SVACE. Signed-off-by: Dmitry Frolov --- target/xtensa/translate.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/target/xtensa/translate.c b/target/xtensa/tran