summaryrefslogtreecommitdiff
path: root/scripts/gcc-wrapper.py
diff options
context:
space:
mode:
authorAbhijeet Dharmapurikar <adharmap@codeaurora.org>2016-09-13 11:10:48 -0700
committerAbhijeet Dharmapurikar <adharmap@codeaurora.org>2016-10-31 15:40:26 -0700
commit5558abe40041f6db4c310277134c2bf3f86fccfc (patch)
treec17ed464850a0d3b9cd87aa1947eff792befdde0 /scripts/gcc-wrapper.py
parentbbd8499b43c68d14ee8d4be46680f59516f81a70 (diff)
spmi-pmic-arb: fix a possible null pointer dereference
If "core" memory resource is not specified, the driver could end up dereferencing a null pointer. Fix this by returning -EINVAL when core resource is missing. Change-Id: Id08f7b2e109b6b2963b19dfe07f07cbfb424202b Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Diffstat (limited to 'scripts/gcc-wrapper.py')
0 files changed, 0 insertions, 0 deletions