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] [day] [month] [year] [list]
Date:   Sat, 12 Nov 2016 05:11:58 +0100
From:   Willy Tarreau <w@....eu>
To:     Ben Hutchings <ben@...adent.org.uk>
Cc:     Jiri Slaby <jslaby@...e.cz>,
        Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        Alexander Levin <alexander.levin@...izon.com>,
        linux-kernel@...r.kernel.org, Xiaolong Ye <yexl@...vell.com>,
        Kevin Liu <kliu5@...vell.com>,
        MyungJoo Ham <myungjoo.ham@...sung.com>,
        Oliver Neukum <ONeukum@...e.com>, stable@...r.kernel.org
Subject: Re: [PATCH 3.12 89/91] PM / devfreq: Fix incorrect type issue.

On Sat, Nov 12, 2016 at 03:02:23AM +0000, Ben Hutchings wrote:
> On Tue, 2016-01-05 at 18:47 +0100, Jiri Slaby wrote:
> > From: Xiaolong Ye <yexl@...vell.com>
> > 
> > 3.12-stable review patch.  If anyone has any objections, please let
> > me know.
> > 
> > ===============
> > 
> > commit 5f25f066f75a67835abb5e400471a27abd09395b upstream.
> > 
> > time_in_state in struct devfreq is defined as unsigned long, so
> > devm_kzalloc should use sizeof(unsigned long) as argument instead
> > of sizeof(unsigned int), otherwise it will cause unexpected result
> > in 64bit system.
> > 
> > Signed-off-by: Xiaolong Ye <yexl@...vell.com>
> > Signed-off-by: Kevin Liu <kliu5@...vell.com>
> > Signed-off-by: MyungJoo Ham <myungjoo.ham@...sung.com>
> > Cc: Oliver Neukum <ONeukum@...e.com>
> > Signed-off-by: Jiri Slaby <jslaby@...e.cz>
> [...]
> 
> This is still needed in longterm branches 3.10 - 4.1 inclusive.  I just
> queued it up for 3.16.

now queued up for 3.10, thanks Ben for letting me know.

Willy

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ