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-next>] [day] [month] [year] [list]
Date:   Mon,  7 Aug 2017 18:36:44 +0530
From:   Santosh Mardi <gsantosh@...eaurora.org>
To:     myungjoo.ham@...sung.com, kyungmin.park@...sung.com,
        rafael.j.wysocki@...el.com, cw00.choi@...sung.com
Cc:     linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
        gsantosh@....qualcomm.com, gsantosh@...eaurora.org,
        skannan@...cinc.com, rgottimu@....qualcomm.com
Subject: [PATCH] devfreq: add error check for sscanf in userspace governor

What this patch does:

	Current implementation of store_freq function in devfreq
	userspace governor executes further, even if error is returned
	from sscanf. This will result in setting up wrong frequency value.

	This patch adds proper error check to bail out if
	any error is returned.

Santosh Mardi (1):
  devfreq: add error check for sscanf in userspace governor

 drivers/devfreq/governor_userspace.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

-- 
1.9.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ