lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140603082638.GL11096@twins.programming.kicks-ass.net>
Date:	Tue, 3 Jun 2014 10:26:38 +0200
From:	Peter Zijlstra <peterz@...radead.org>
To:	Richard Weinberger <richard@....at>
Cc:	linux-kernel@...r.kernel.org,
	Michael Kerrisk <mtk.manpages@...il.com>,
	Ingo Molnar <mingo@...nel.org>
Subject: Re: [PATCH] sched: Fix sched_policy < 0 comparison

On Mon, Jun 02, 2014 at 10:38:34PM +0200, Richard Weinberger wrote:
> attr.sched_policy is u32, therefore a comparison against < 0 is never true.
> Fix this by casting sched_policy to int.
> 
> This issue was reported by coverity CID 1219934.
> 
> Cc: Michael Kerrisk <mtk.manpages@...il.com>
> Cc: Peter Zijlstra <peterz@...radead.org>
> Cc: Ingo Molnar <mingo@...nel.org>
> Signed-off-by: Richard Weinberger <richard@....at>

Thanks!

Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ