cpupower: Fix sscanf robustness in cpufreq-set
authorOne Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk>
Tue, 17 Dec 2013 15:07:31 +0000 (15:07 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 8 Jan 2014 14:10:39 +0000 (15:10 +0100)
The cpufreq-set tool has a missing length check. This is basically
just correctness but still should get fixed.

One of a set of sscanf problems reported by Jackie Chang

Signed-off-by: Alan Cox <alan@linux.intel.com>
[rjw: Subject]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

No differences found