Re: [PATCH v2 1/1] selinux: fix double free

2020-06-10 Thread Paul Moore
On Wed, Jun 10, 2020 at 5:57 PM wrote: > From: Tom Rix > > Clang's static analysis tool reports these double free memory errors. > > security/selinux/ss/services.c:2987:4: warning: Attempt to free released > memory [unix.Malloc] > kfree(bnames[i]); >

Re: [PATCH v2 1/1] selinux: fix double free

2020-06-10 Thread Stephen Smalley
On Wed, Jun 10, 2020 at 5:57 PM wrote: > > From: Tom Rix > > Clang's static analysis tool reports these double free memory errors. > > security/selinux/ss/services.c:2987:4: warning: Attempt to free released > memory [unix.Malloc] > kfree(bnames[i]); >

[PATCH v2 1/1] selinux: fix double free

2020-06-10 Thread trix
From: Tom Rix Clang's static analysis tool reports these double free memory errors. security/selinux/ss/services.c:2987:4: warning: Attempt to free released memory [unix.Malloc] kfree(bnames[i]); ^~~~