[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] hw/core: define stack variable to NULL to fix qtest with san
From: |
Dan Hoffman |
Subject: |
Re: [PATCH] hw/core: define stack variable to NULL to fix qtest with sanitizers |
Date: |
Fri, 24 Nov 2023 10:59:44 -0600 |
Yes, that fixes my issue. I was receiving two errors with the sanitizers:
1. UBsan complaining that the (garbage) value didn't have the required
alignment of the type
2. ASan complaining about some memory failure by read/write/accessing it
On Fri, Nov 24, 2023 at 8:02 AM Markus Armbruster <armbru@redhat.com> wrote:
>
> Daniel, please have a look at Kevin's patch:
>
> Subject: [PATCH for-8.2 1/2] qdev: Fix crash in array property getter
> Date: Tue, 21 Nov 2023 18:34:15 +0100 (2 days, 20 hours, 26 minutes ago)
> Message-ID: <20231121173416.346610-2-kwolf@redhat.com>
>
> 20231121173416.346610-2-kwolf@redhat.com/">https://lore.kernel.org/qemu-devel/20231121173416.346610-2-kwolf@redhat.com/
>
> Does it fix your sanitizer run?
>