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]
Date:   Sat, 12 Nov 2016 03:02:23 +0000
From:   Ben Hutchings <ben@...adent.org.uk>
To:     Jiri Slaby <jslaby@...e.cz>,
        Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        Alexander Levin <alexander.levin@...izon.com>,
        Willy Tarreau <w@....eu>
Cc:     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 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.

Ben.

-- 
Ben Hutchings
If you seem to know what you are doing, you'll be given more to do.


Download attachment "signature.asc" of type "application/pgp-signature" (802 bytes)

Powered by blists - more mailing lists