commit | 21ff07a58e81ddebb1b3c69146b9e9a2f0096a4b | [log] [tgz] |
---|---|---|
author | Zelalem <zelalem.aweke@arm.com> | Fri Dec 18 11:02:25 2020 -0600 |
committer | Zelalem Aweke <zelalem.aweke@arm.com> | Thu Jan 21 15:25:23 2021 +0000 |
tree | 280c376496c24aeb853fd1c603b21574d4686afe | |
parent | d33012cf53f94e2b3da4c26eb37a558757ef0d02 [diff] |
DebugFS: Check channel index before calling clone function To avoid a potential out-of-bounds access, check whether a device exists on a channel before calling the corresponding clone function. Signed-off-by: Zelalem <zelalem.aweke@arm.com> Change-Id: Ia0dd66b331d3fa8a33109a02369e1bc9ae0fdd5b