| commit | 23d4f378e0ea75bdb78ea594f87718060bf84403 | [log] [tgz] |
|---|---|---|
| author | Swetha Chikkaboraiah <schikk@codeaurora.org> | Fri Nov 29 12:22:07 2013 +0530 |
| committer | Swetha Chikkaboraiah <schikk@codeaurora.org> | Tue Dec 03 10:55:56 2013 +0530 |
| tree | a57b97ee2857b3685909631efdee9c164762554c | |
| parent | d83ce8894e49666b03c9df07f22c6a8533864b2a [diff] |
cpufreq: ondemand:kernel NULL pointer dereference at dbs_check_cpu Function dbs_check_cpu calls __cpufreq_driver_getavg With policy as IN/OUT parameter. There is possiblity of policy becoming NULL in __cpufreq_driver_getavg. Same policy is getting accessed in the for loop which leads to NULL pointer dereference. So NULL check is required for the policy CRs-fixed: 582925 Change-Id: Ib8d8de8d66500430a5aa4c275937640e4f934aa8 Signed-off-by: Swetha Chikkaboraiah <schikk@codeaurora.org>