On Mon, Jul 13, 2020 at 07:06:34AM -0700, t...@redhat.com wrote:
> From: Tom Rix
>
> clang static analysis flags this error
>
> qat_uclo.c:297:3: warning: Attempt to free released memory
> [unix.Malloc]
> kfree(*init_tab_base);
> ^
>
> When
On Mon, Jul 13, 2020 at 07:06:34AM -0700, t...@redhat.com wrote:
> From: Tom Rix
>
> clang static analysis flags this error
>
> qat_uclo.c:297:3: warning: Attempt to free released memory
> [unix.Malloc]
> kfree(*init_tab_base);
> ^
>
> When
From: Tom Rix
clang static analysis flags this error
qat_uclo.c:297:3: warning: Attempt to free released memory
[unix.Malloc]
kfree(*init_tab_base);
^
When input *init_tab_base is null, the function allocates memory for
the head of the list.
3 matches
Mail list logo