Re: [PATCH 12/46] selinux: Move assignments for two pointers in genfs_read()

2017-03-23 Thread Paul Moore
On Sun, Jan 15, 2017 at 10:12 AM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sat, 14 Jan 2017 16:56:51 +0100 > > Move the assignment for the local variables "newc" and "newgenfs" behind > a call of the function "next_entry" at the beginning so that they will > only be set after a suc

[PATCH 12/46] selinux: Move assignments for two pointers in genfs_read()

2017-01-15 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 14 Jan 2017 16:56:51 +0100 Move the assignment for the local variables "newc" and "newgenfs" behind a call of the function "next_entry" at the beginning so that they will only be set after a successful call. Signed-off-by: Markus Elfring --- security/selinux/ss/