Re: [patch] Smack: harmless underflow in smk_set_cipso()

2015-12-04 Thread Dan Carpenter
On Thu, Dec 03, 2015 at 02:23:22PM -0800, Casey Schaufler wrote: > On 11/3/2015 2:15 PM, Dan Carpenter wrote: > >Also checkpatch complains that we should use kstrtouint() instead of > >sscanf here. > > > >Signed-off-by: Dan Carpenter > > This no longer parses ci

[patch] Smack: harmless underflow in smk_set_cipso()

2015-11-03 Thread Dan Carpenter
stead of sscanf here. Signed-off-by: Dan Carpenter diff --git a/security/smack/smackfs.c b/security/smack/smackfs.c index 94bd9e4..ebb1241 100644 --- a/security/smack/smackfs.c +++ b/security/smack/smackfs.c @@ -862,7 +862,7 @@ static ssize_t smk_set_cipso(struct file *file, const ch