commit | b226c74737090f5fca17656f43743b2c6ab766ca | [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 | d194afa71b4f946603ec86fab2309533a76cbc95 [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