Re: [sdl-qemu] [PATCH] tests/qtest: fix heap-use-after-free

2024-11-11 Thread Alexey Khoroshilov
On 11.11.2024 16:35, Дмитрий Фролов wrote: > > > On 11.11.2024 15:51, Prasad Pandit wrote: >> On Mon, 11 Nov 2024 at 17:41, Дмитрий Фролов wrote: >>> Above loop dereferences the pointer env, which is pointing to >>> the memory area, which is not allowed to read. >> * Not allowed to read environmen

Re: [sdl-qemu] [PATCH] fix leaks found wtih fuzzing

2023-08-25 Thread Alexey Khoroshilov
, > DisplayOptions *opts) > assert(opts->type == DISPLAY_TYPE_GTK);> s->opts = opts; 's' is already used here. > > +*s = g_malloc0(sizeof(*s)); s = g_malloc0(sizeof(*s)); > theme = gtk_icon_theme_get_default(); > dir = get_relocated