Re: [PATCH v1] chardev/wctable: don't free the instance in wctablet_chr_finalize

2021-11-19 Thread Paolo Bonzini
On 11/17/21 15:51, Marc-André Lureau wrote: Hi On Wed, Nov 17, 2021 at 6:25 PM Daniil Tatianin wrote: Object is supposed to be freed by invoking obj->free, and not obj->instance_finalize. This would lead to use-after-free followed by double free in object_unref/object_finalize. Signed-off-by

Re: [PATCH v1] chardev/wctable: don't free the instance in wctablet_chr_finalize

2021-11-17 Thread Marc-André Lureau
Hi On Wed, Nov 17, 2021 at 6:25 PM Daniil Tatianin wrote: > > Object is supposed to be freed by invoking obj->free, and not > obj->instance_finalize. This would lead to use-after-free followed by > double free in object_unref/object_finalize. > > Signed-off-by: Daniil Tatianin Fixes: 378af96155

[PATCH v1] chardev/wctable: don't free the instance in wctablet_chr_finalize

2021-11-17 Thread Daniil Tatianin
Object is supposed to be freed by invoking obj->free, and not obj->instance_finalize. This would lead to use-after-free followed by double free in object_unref/object_finalize. Signed-off-by: Daniil Tatianin --- chardev/wctablet.c | 1 - 1 file changed, 1 deletion(-) diff --git a/chardev/wctabl