|
From: | Stefan Berger |
Subject: | Re: [PATCH v2 3/9] backends/tpm: Replace g_alloca() by g_malloc() |
Date: | Thu, 6 May 2021 10:46:47 -0400 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 |
On 5/6/21 9:37 AM, Philippe Mathieu-Daudé wrote:
The ALLOCA(3) man-page mentions its "use is discouraged". Replace a g_alloca() call by a g_malloc() one, moving the allocation before the MUTEX guarded block. Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
[Prev in Thread] | Current Thread | [Next in Thread] |