Re: [PATCH 38/46] selinux: One function call less in five functions after null pointer detection

2017-03-29 Thread Paul Moore
On Sun, Jan 15, 2017 at 10:38 AM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sun, 15 Jan 2017 11:28:02 +0100 > > Call the function "kfree" at the end only after it was determined > that the passed parameter contained a

Re: [PATCH 38/46] selinux: One function call less in five functions after null pointer detection

2017-03-29 Thread Paul Moore
On Sun, Jan 15, 2017 at 10:38 AM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sun, 15 Jan 2017 11:28:02 +0100 > > Call the function "kfree" at the end only after it was determined > that the passed parameter contained a non-null pointer. > > Signed-off-by: Markus Elfring > --- >

[PATCH 38/46] selinux: One function call less in five functions after null pointer detection

2017-01-15 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 15 Jan 2017 11:28:02 +0100 Call the function "kfree" at the end only after it was determined that the passed parameter contained a non-null pointer. Signed-off-by: Markus Elfring ---

[PATCH 38/46] selinux: One function call less in five functions after null pointer detection

2017-01-15 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 15 Jan 2017 11:28:02 +0100 Call the function "kfree" at the end only after it was determined that the passed parameter contained a non-null pointer. Signed-off-by: Markus Elfring --- security/selinux/ss/policydb.c | 10 +- 1 file changed, 5