aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/vmalloc.py
diff options
context:
space:
mode:
authorMike Tipton <[email protected]>2023-10-25 07:58:29 -0700
committerGeorgi Djakov <[email protected]>2023-11-22 14:36:03 +0200
commitad2ab1297d0c80899125a842bb7a078abfe1e6ce (patch)
tree96347704f3dc86ab52be43eb0fffc1f8dc261c7f /scripts/gdb/linux/vmalloc.py
parentb85ea95d086471afb4ad062012a4d73cd328fa86 (diff)
interconnect: Treat xlate() returning NULL node as an error
Currently, if provider->xlate() or provider->xlate_extended() "successfully" return a NULL node, then of_icc_get_from_provider() won't consider that an error and will successfully return the NULL node. This bypasses error handling in of_icc_get_by_index() and leads to NULL dereferences in path_find(). This could be avoided by ensuring provider callbacks always return an error for NULL nodes, but it's better to explicitly protect against this in the common framework. Fixes: 87e3031b6fbd ("interconnect: Allow endpoints translation via DT") Signed-off-by: Mike Tipton <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Georgi Djakov <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/vmalloc.py')
0 files changed, 0 insertions, 0 deletions