Messages in this thread | | | Date | Mon, 8 Sep 2014 17:06:28 -0700 | From | Darren Hart <> | Subject | Re: [PATCH] eeepc-laptop: remove possible use of uninitialized value |
| |
On Thu, Sep 04, 2014 at 12:53:25AM +0200, Frans Klaver wrote: > In store_sys_acpi, if count equals zero, or parse_arg()s sscanf call > fails, 'value' remains possibly uninitialized. In that case 'value' > shouldn't be used to produce the store_sys_acpi()s return value. > > Only test the return value of set_acpi() if we can actually call it. > Return rv otherwise. > > Signed-off-by: Frans Klaver <fransklaver@gmail.com>
FYI, based on recent discussion with Paul, Greg, and Frans, I am not picking this up, but waiting for a next rev from Frans, possibly including Paul's original patch.
-- Darren Hart Intel Open Source Technology Center
| |