aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-wrapper.py
diff options
context:
space:
mode:
authorSteven Cahail <scahail@codeaurora.org>2015-04-07 10:47:47 -0600
committerGerrit - the friendly Code Review server <code-review@localhost>2015-04-09 20:31:53 -0700
commita81555bd166cadc913cd29a1128cd47b58dc6ee9 (patch)
tree6c251ed590f4449c1de16c95711dca1a37761b36 /scripts/gcc-wrapper.py
parent15114efec0414b22fb625f6fc48ac9f0131c651f (diff)
soc: qcom: glink_ssr: Validate subsystem info during channel close
In the glink_ssr client's close function, the subsystem information structure is obtained using the get_info_for_edge() function. This function returns NULL if no subsystem information structure is found for the requested edge. The close function does not check whether NULL was returned, which could lead to a perceived NULL pointer dereference. However, this is not possible since the edge info is configured from the device tree before the channel is opened and should always be valid. Add check to ensure that the design assumption that get_info_for_edge() is valid is still true. Change-Id: If88cbc1419669fa240667ae92ce2e78e49ad970c Signed-off-by: Steven Cahail <scahail@codeaurora.org>
Diffstat (limited to 'scripts/gcc-wrapper.py')
0 files changed, 0 insertions, 0 deletions