qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 6/6] coverity-model: write models fully for non-array allocat


From: Peter Maydell
Subject: Re: [PATCH 6/6] coverity-model: write models fully for non-array allocation functions
Date: Mon, 2 Aug 2021 13:38:24 +0100

On Sat, 31 Jul 2021 at 07:33, Paolo Bonzini <pbonzini@redhat.com> wrote:
>
> Coverity seems to have issues figuring out the properties of g_malloc0
> and other non *_n functions.  While this was "fixed" by removing the
> custom second argument to __coverity_mark_as_afm_allocated__, inline
> the code from the array-based allocation functions to avoid future
> issues.
>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]