On Fri, Jun 12, 2020 at 4:01 AM Ondrej Mosnacek wrote:
> On Fri, Jun 12, 2020 at 1:27 AM Paul Moore wrote:
> > On Thu, Jun 11, 2020 at 6:41 PM Tom Rix wrote:
> > > On 6/11/20 3:30 PM, Paul Moore wrote:
> > > > On Thu, Jun 11, 2020 at 4:48 PM wrote:
> > > >> From: Tom Rix
> > > >>
> > > >> Clan
On Fri, Jun 12, 2020 at 1:27 AM Paul Moore wrote:
> On Thu, Jun 11, 2020 at 6:41 PM Tom Rix wrote:
> > On 6/11/20 3:30 PM, Paul Moore wrote:
> > > On Thu, Jun 11, 2020 at 4:48 PM wrote:
> > >> From: Tom Rix
> > >>
> > >> Clang static analysis reports this double free error
> > >>
> > >> securit
On Thu, Jun 11, 2020 at 10:48 PM wrote:
[...]
> diff --git a/security/selinux/ss/conditional.c
> b/security/selinux/ss/conditional.c
> index da94a1b4bfda..d0d6668709f0 100644
> --- a/security/selinux/ss/conditional.c
> +++ b/security/selinux/ss/conditional.c
> @@ -392,26 +392,21 @@ static int con
On Thu, Jun 11, 2020 at 6:41 PM Tom Rix wrote:
> On 6/11/20 3:30 PM, Paul Moore wrote:
> > On Thu, Jun 11, 2020 at 4:48 PM wrote:
> >> From: Tom Rix
> >>
> >> Clang static analysis reports this double free error
> >>
> >> security/selinux/ss/conditional.c:139:2: warning: Attempt to free released
On 6/11/20 3:30 PM, Paul Moore wrote:
> On Thu, Jun 11, 2020 at 4:48 PM wrote:
>> From: Tom Rix
>>
>> Clang static analysis reports this double free error
>>
>> security/selinux/ss/conditional.c:139:2: warning: Attempt to free released
>> memory [unix.Malloc]
>> kfree(node->expr.nodes)
On Thu, Jun 11, 2020 at 4:48 PM wrote:
> From: Tom Rix
>
> Clang static analysis reports this double free error
>
> security/selinux/ss/conditional.c:139:2: warning: Attempt to free released
> memory [unix.Malloc]
> kfree(node->expr.nodes);
> ^~~
>
> When cond
From: Tom Rix
Clang static analysis reports this double free error
security/selinux/ss/conditional.c:139:2: warning: Attempt to free released
memory [unix.Malloc]
kfree(node->expr.nodes);
^~~
When cond_read_node fails, it calls cond_node_destroy which frees
7 matches
Mail list logo